- Notifications
You must be signed in to change notification settings - Fork1.1k
Fix verbs description concerning custom actions#685
Fix verbs description concerning custom actions#685
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Thanks for pointing that out,@fixe! ⚡ This might just be a bad example (possibly here from a previous version of the API). I wouldn't say that PUT is used for custom actions -- a POST method is almost always used for that (not just in the GitHub API). A better example for this might berendering a Markdown document ormerging branches. What do you think,@pengwynn@jasonrudolph? |
@izuzakstarring a repository is also done with a
|
I think we can just drop the "and performing custom actions (such as merging a pull request)." part. In both the |
a795aa8
toeae5da8
Compare@pengwynn PR updated. |
Fix verbs description concerning custom actions
🍰 |
Fromthe documentation:
Custom actions are using
PUT
instead ofPOST
.