-
Notifications
You must be signed in to change notification settings - Fork 736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contents API #59
Contents API #59
Conversation
Kohsuke Kawaguchi » github-api #115 SUCCESS |
Thanks for creating this pull request @farmdawgnation! |
The create and update API calls don't send back the content you just sent, so that field is null. If this GHContent was instantiated from one of those calls, we want to make sure we can retrieve the content (and updated sha, etc) on the fly.
Kohsuke Kawaguchi » github-api #116 SUCCESS |
Kohsuke Kawaguchi » github-api #117 SUCCESS |
Ok, I think we're at the point where adding any more would be venturing outside the scope of just the contents api, so I think this one is ready for review/merge. :) |
Hat tip to @acollign for the work that he did on this to start. I took what he did and essentially added the ability to mutate content using the content API. This still needs some tests added, I think, but I had issues getting them to run? (I think something was screwy with my network connection?)
Anyway, I'm more than happy to add the tests, but I wanted to go ahead and start getting feedback on how this looks. :-)
This would resolve #46