From c99b3c018e2f6deed43ed0bcaa4d3d5b9f33d8b4 Mon Sep 17 00:00:00 2001 From: Yuusuke KOUNOIKE Date: Sun, 9 Dec 2018 14:49:52 +0900 Subject: [PATCH] Updated API WebHook (markdown) --- API-WebHook.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/API-WebHook.md b/API-WebHook.md index 3e59db2..87e062f 100644 --- a/API-WebHook.md +++ b/API-WebHook.md @@ -30,11 +30,21 @@ GitBucket does not fully implement the GitHub API/webhook and respects only a su * [Create a label](https://developer.github.com/v3/issues/labels/#create-a-label) (since v3.11) * [Update a label](https://developer.github.com/v3/issues/labels/#update-a-label) (since v3.11) * [Delete a label](https://developer.github.com/v3/issues/labels/#delete-a-label) (since v3.11) + * [List labels on an issue](https://developer.github.com/v3/issues/labels/#list-labels-on-an-issue) (since v4.30) + * [Add labels to an issue](https://developer.github.com/v3/issues/labels/#add-labels-to-an-issue) (since v4.30) + * [Remove a label from an issue](https://developer.github.com/v3/issues/labels/#remove-a-label-from-an-issue) (since v4.30) + * [Replace all labels for an issue](https://developer.github.com/v3/issues/labels/#replace-all-labels-for-an-issue) (since v4.30) + * [Remove all labels from an issue](https://developer.github.com/v3/issues/labels/#remove-all-labels-from-an-issue) (since v4.30) * Pull Requests * [List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests) * [Get a single pull request](https://developer.github.com/v3/pulls/#get-a-single-pull-request) + * [Create a pull request](https://developer.github.com/v3/pulls/#create-a-pull-request) (since v4.30) * [List commits on a pull request](https://developer.github.com/v3/pulls/#list-commits-on-a-pull-request) + * [Get if a pull request has been merged](https://developer.github.com/v3/pulls/#get-if-a-pull-request-has-been-merged) (since v4.30) * Repositories + * [List your repositories](https://developer.github.com/v3/repos/#list-your-repositories) + * [List user repositories](https://developer.github.com/v3/repos/#list-user-repositories) + * [List organization repositories](https://developer.github.com/v3/repos/#list-organization-repositories) * [Get](https://developer.github.com/v3/repos/#get) * [Create](https://developer.github.com/v3/repos/#create) * [Enabling and disabling branch protection](https://developer.github.com/v3/repos/#enabling-and-disabling-branch-protection) (since v3.11) @@ -44,6 +54,7 @@ GitBucket does not fully implement the GitHub API/webhook and respects only a su * [Get the combined Status for a specific Ref](https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref) * Branches * [List all branches for this repository](https://developer.github.com/v3/repos/branches/#list-branches) (since v4.3) + * [Get branch](https://developer.github.com/v3/repos/branches/#get-branch) (since v4.30) * Commits * [Get a single commit](https://developer.github.com/v3/repos/commits/#get-a-single-commit) (since v4.17) * Contents @@ -52,11 +63,20 @@ GitBucket does not fully implement the GitHub API/webhook and respects only a su * [Get a reference](https://developer.github.com/v3/git/refs/#get-a-reference) (since v4.3) * Collaborators * [List collaborators](https://developer.github.com/v3/repos/collaborators/#list-collaborators) (since v4.3) + * [Add user as a collaborator](https://developer.github.com/v3/repos/collaborators/#add-user-as-a-collaborator) (since v4.30) + * [Remove user as a collaborator](https://developer.github.com/v3/repos/collaborators/#remove-user-as-a-collaborator) (since v4.30) * Users * [Get a single user](https://developer.github.com/v3/users/#get-a-single-user) * [Get the authenticated user](https://developer.github.com/v3/users/#get-the-authenticated-user) + * [Update the authenticated user](https://developer.github.com/v3/users/#update-the-authenticated-user) (since v4.30) + * [Get all users](https://developer.github.com/v3/users/#get-all-users) (since v4.30) * [List repositories for this user](https://developer.github.com/v3/repos/#list-user-repositories) (since v4.3) + * [Create a new user](https://developer.github.com/enterprise/2.14/v3/enterprise-admin/users/#create-a-new-user) (since v4.30) + * [Suspend a user](https://developer.github.com/enterprise/2.14/v3/enterprise-admin/users/#suspend-a-user) (since v4.30) + * [Unsuspend a user](https://developer.github.com/enterprise/2.14/v3/enterprise-admin/users/#unsuspend-a-user) (v4.30) * Groups + * [List your groups](https://developer.github.com/v3/orgs/#list-your-organizations) (since v4.30) + * [List all groups](https://developer.github.com/v3/orgs/#list-all-organizations) (since v4.30) * [Get a single group](https://developer.github.com/v3/orgs/#get-an-organization) (since v4.3) * [List repositories for this group](https://developer.github.com/v3/repos/#list-organization-repositories) (since v4.3)