- -
+ Meta Meta-
+ Get GitHub meta information Get GitHub meta information +This endpoint provides a list of GitHub's IP addresses. For more information, see "About GitHub's IP addresses."
diff --git a/cache/api.github.com/v3/orgs/blocking/block-a-user-from-an-organization.html b/cache/api.github.com/v3/orgs/blocking/block-a-user-from-an-organization.html new file mode 100644 index 0000000000..ba28289c51 --- /dev/null +++ b/cache/api.github.com/v3/orgs/blocking/block-a-user-from-an-organization.html @@ -0,0 +1,9 @@ ++ +
+ Block a user from an organizationPUT /orgs/:org/blocks/:username
+
++
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/blocking/block-a-user.html b/cache/api.github.com/v3/orgs/blocking/block-a-user.html
deleted file mode 100644
index 9715ecd2d6..0000000000
--- a/cache/api.github.com/v3/orgs/blocking/block-a-user.html
+++ /dev/null
@@ -1,9 +0,0 @@
-- -
- Block a userPUT /orgs/:org/blocks/:username
-
--
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/blocking/check-if-a-user-is-blocked-by-an-organization.html b/cache/api.github.com/v3/orgs/blocking/check-if-a-user-is-blocked-by-an-organization.html
new file mode 100644
index 0000000000..4039b5c243
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/blocking/check-if-a-user-is-blocked-by-an-organization.html
@@ -0,0 +1,13 @@
++ +
+ Check if a user is blocked by an organizationGET /orgs/:org/blocks/:username
+
++
+ ResponseIf the user is blocked:
+Status: 204 No Content
+
+If the user is not blocked:
+Status: 404 Not Found
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/blocking/check-whether-a-user-is-blocked-from-an-organization.html b/cache/api.github.com/v3/orgs/blocking/check-whether-a-user-is-blocked-from-an-organization.html
deleted file mode 100644
index 77a6671c83..0000000000
--- a/cache/api.github.com/v3/orgs/blocking/check-whether-a-user-is-blocked-from-an-organization.html
+++ /dev/null
@@ -1,13 +0,0 @@
-- -
- Check whether a user is blocked from an organizationGET /orgs/:org/blocks/:username
-
--
- ResponseIf the user is blocked:
-Status: 204 No Content
-
-If the user is not blocked:
-Status: 404 Not Found
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/blocking/index.html b/cache/api.github.com/v3/orgs/blocking/index.html
index 29741a1fae..73932c9ba2 100644
--- a/cache/api.github.com/v3/orgs/blocking/index.html
+++ b/cache/api.github.com/v3/orgs/blocking/index.html
@@ -367,10 +367,10 @@ Blocking Organizations Users
-
-
- List blocked users -
- Check whether a user is blocked from an organization -
- Block a user -
- Unblock a user +
- List users blocked by an organization +
- Check if a user is blocked by an organization +
- Block a user from an organization +
- Unblock a user from an organization
The token used to authenticate the call must have the admin:org
scope in order to make any blocking calls for an organization. Otherwise, the response returns HTTP 404
.
- + List users blocked by an organization
List blocked usersList the users blocked by an organization.
@@ -432,7 +432,7 @@
-
+ Check if a user is blocked by an organization
Check whether a user is blocked from an organizationGET /orgs/:org/blocks/:username
@@ -454,7 +454,7 @@
-
+ Block a user from an organization
Block a userPUT /orgs/:org/blocks/:username
@@ -468,7 +468,7 @@
-
+ Unblock a user from an organization
Unblock a userDELETE /orgs/:org/blocks/:username
diff --git a/cache/api.github.com/v3/orgs/blocking/list-blocked-users.html b/cache/api.github.com/v3/orgs/blocking/list-blocked-users.html
deleted file mode 100644
index 51b0375459..0000000000
--- a/cache/api.github.com/v3/orgs/blocking/list-blocked-users.html
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
- List blocked usersList the users blocked by an organization.
-GET /orgs/:org/blocks
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/blocking/list-users-blocked-by-an-organization.html b/cache/api.github.com/v3/orgs/blocking/list-users-blocked-by-an-organization.html
new file mode 100644
index 0000000000..46ffb49950
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/blocking/list-users-blocked-by-an-organization.html
@@ -0,0 +1,33 @@
+
+
+
+ List users blocked by an organizationList the users blocked by an organization.
+GET /orgs/:org/blocks
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/blocking/sections.json b/cache/api.github.com/v3/orgs/blocking/sections.json
index c2f063dc6f..d037f6345b 100644
--- a/cache/api.github.com/v3/orgs/blocking/sections.json
+++ b/cache/api.github.com/v3/orgs/blocking/sections.json
@@ -1,22 +1,22 @@
[
{
- "id": "list-blocked-users",
- "name": "List blocked users",
- "url": "https://developer.github.com/v3/orgs/blocking/#list-blocked-users"
+ "id": "list-users-blocked-by-an-organization",
+ "name": "List users blocked by an organization",
+ "url": "https://developer.github.com/v3/orgs/blocking/#list-users-blocked-by-an-organization"
},
{
- "id": "check-whether-a-user-is-blocked-from-an-organization",
- "name": "Check whether a user is blocked from an organization",
- "url": "https://developer.github.com/v3/orgs/blocking/#check-whether-a-user-is-blocked-from-an-organization"
+ "id": "check-if-a-user-is-blocked-by-an-organization",
+ "name": "Check if a user is blocked by an organization",
+ "url": "https://developer.github.com/v3/orgs/blocking/#check-if-a-user-is-blocked-by-an-organization"
},
{
- "id": "block-a-user",
- "name": "Block a user",
- "url": "https://developer.github.com/v3/orgs/blocking/#block-a-user"
+ "id": "block-a-user-from-an-organization",
+ "name": "Block a user from an organization",
+ "url": "https://developer.github.com/v3/orgs/blocking/#block-a-user-from-an-organization"
},
{
- "id": "unblock-a-user",
- "name": "Unblock a user",
- "url": "https://developer.github.com/v3/orgs/blocking/#unblock-a-user"
+ "id": "unblock-a-user-from-an-organization",
+ "name": "Unblock a user from an organization",
+ "url": "https://developer.github.com/v3/orgs/blocking/#unblock-a-user-from-an-organization"
}
]
diff --git a/cache/api.github.com/v3/orgs/blocking/unblock-a-user-from-an-organization.html b/cache/api.github.com/v3/orgs/blocking/unblock-a-user-from-an-organization.html
new file mode 100644
index 0000000000..9e2029e760
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/blocking/unblock-a-user-from-an-organization.html
@@ -0,0 +1,9 @@
+
+
+
+ Unblock a user from an organizationDELETE /orgs/:org/blocks/:username
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/blocking/unblock-a-user.html b/cache/api.github.com/v3/orgs/blocking/unblock-a-user.html
deleted file mode 100644
index 0e63d399a0..0000000000
--- a/cache/api.github.com/v3/orgs/blocking/unblock-a-user.html
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- Unblock a userDELETE /orgs/:org/blocks/:username
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/edit-an-organization.html b/cache/api.github.com/v3/orgs/edit-an-organization.html
deleted file mode 100644
index 906d343aa4..0000000000
--- a/cache/api.github.com/v3/orgs/edit-an-organization.html
+++ /dev/null
@@ -1,185 +0,0 @@
-
-
-
- Edit an organization
-
-Note: New repository creation permissions are available to preview. You can now use members_can_create_public_repositories
, members_can_create_private_repositories
, and members_can_create_internal_repositories
. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.
-
-To access these new parameters during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.surtur-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-
-
-
-Parameter Deprecation Notice: GitHub will replace and discontinue members_allowed_repository_creation_type
in favor of more granular permissions. The new input parameters are members_can_create_public_repositories
, members_can_create_private_repositories
for all organizations and members_can_create_internal_repositories
for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the blog post.
-
-
-Enables an authenticated organization owner with the admin:org
scope to update the organization's profile and member privileges.
-PATCH /orgs/:org
-
-
-
- Input
-
-
-Name
-Type
-Description
-
-
-
-
-billing_email
-string
-Billing email address. This address is not publicized.
-
-
-company
-string
-The company name.
-
-
-email
-string
-The publicly visible email address.
-
-
-twitter_username
-string
-The Twitter username of the company.
-
-
-location
-string
-The location.
-
-
-name
-string
-The shorthand name of the company.
-
-
-description
-string
-The description of the company.
-
-
-has_organization_projects
-boolean
-Toggles whether an organization can use organization projects.
-
-
-has_repository_projects
-boolean
-Toggles whether repositories that belong to the organization can use repository projects.
-
-
-default_repository_permission
-string
-Default permission level members have for organization repositories:
* read
- can pull, but not push to or administer this repository.
* write
- can pull and push, but not administer this repository.
* admin
- can pull, push, and administer this repository.
* none
- no permissions granted by default.
Default: read
-
-
-
-members_can_create_repositories
-boolean
-Toggles the ability of non-admin organization members to create repositories. Can be one of:
* true
- all organization members can create repositories.
* false
- only organization owners can create repositories.
Default: true
Note: A parameter can override this parameter. See members_allowed_repository_creation_type
in this table for details.
-
-
-members_can_create_internal_repositories
-boolean
-Toggles whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. Can be one of:
* true
- all organization members can create internal repositories.
* false
- only organization owners can create internal repositories.
Default: true
. For more information, see "Restricting repository creation in your organization" in the GitHub Help documentation.
-
-
-members_can_create_private_repositories
-boolean
-Toggles whether organization members can create private repositories, which are visible to organization members with permission. Can be one of:
* true
- all organization members can create private repositories.
* false
- only organization owners can create private repositories.
Default: true
. For more information, see "Restricting repository creation in your organization" in the GitHub Help documentation.
-
-
-members_can_create_public_repositories
-boolean
-Toggles whether organization members can create public repositories, which are visible to anyone. Can be one of:
* true
- all organization members can create public repositories.
* false
- only organization owners can create public repositories.
Default: true
. For more information, see "Restricting repository creation in your organization" in the GitHub Help documentation.
-
-
-members_allowed_repository_creation_type
-string
-Specifies which types of repositories non-admin organization members can create. Can be one of:
* all
- all organization members can create public and private repositories.
* private
- members can create private repositories. This option is only available to repositories that are part of an organization on GitHub Enterprise Cloud.
* none
- only admin members can create repositories.
Note: This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in members_can_create_repositories
. See this note for details.
-
-
-
-
-
- Example{
- "billing_email": "support@github.com",
- "blog": "https://github.com/blog",
- "company": "GitHub",
- "email": "support@github.com",
- "twitter_username": "github",
- "location": "San Francisco",
- "name": "github",
- "description": "GitHub, the company.",
- "default_repository_permission": "read",
- "members_can_create_repositories": true,
- "members_allowed_repository_creation_type": "all"
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization",
- "name": "github",
- "company": "GitHub",
- "blog": "https://github.com/blog",
- "location": "San Francisco",
- "email": "octocat@github.com",
- "twitter_username": "github",
- "is_verified": true,
- "has_organization_projects": true,
- "has_repository_projects": true,
- "public_repos": 2,
- "public_gists": 1,
- "followers": 20,
- "following": 0,
- "html_url": "https://github.com/octocat",
- "created_at": "2008-01-14T04:33:35Z",
- "type": "Organization",
- "total_private_repos": 100,
- "owned_private_repos": 100,
- "private_gists": 81,
- "disk_usage": 10000,
- "collaborators": 8,
- "billing_email": "support@github.com",
- "plan": {
- "name": "Medium",
- "space": 400,
- "private_repos": 20
- },
- "default_repository_permission": "read",
- "members_can_create_repositories": true,
- "two_factor_requirement_enabled": true,
- "members_allowed_repository_creation_type": "all",
- "members_can_create_public_repositories": false,
- "members_can_create_private_repositories": false,
- "members_can_create_internal_repositories": false
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/create-a-hook.html b/cache/api.github.com/v3/orgs/hooks/create-a-hook.html
deleted file mode 100644
index b8b15b6f7f..0000000000
--- a/cache/api.github.com/v3/orgs/hooks/create-a-hook.html
+++ /dev/null
@@ -1,114 +0,0 @@
-
-
-
- Create a hookPOST /orgs/:org/hooks
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-name
-string
-
-Required. Must be passed as "web".
-
-
-config
-object
-
-Required. Key/value pairs to provide settings for this webhook. These are defined below.
-
-
-events
-array
-Determines what events the hook is triggered for. Default: ["push"]
.
-
-
-active
-boolean
-Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications. Default: true
.
-
-
-
-
-The config
object can accept the following keys:
-
-
-
-Name
-Type
-Description
-
-
-
-
-url
-string
-
-Required. The URL to which the payloads will be delivered.
-
-
-content_type
-string
-The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
-
-
-secret
-string
-If provided, the secret
will be used as the key
to generate the HMAC hex digest value in the X-Hub-Signature
header.
-
-
-insecure_ssl
-string
-Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
-
-
-
-
-
-
- ExampleHere's how you can create a hook that posts payloads in JSON format:
-{
- "name": "web",
- "active": true,
- "events": [
- "push",
- "pull_request"
- ],
- "config": {
- "url": "http://example.com/webhook",
- "content_type": "json"
- }
-}
-
-
-
- ResponseStatus: 201 Created
-Location: https://api.github.com/orgs/octocat/hooks/1
-
-{
- "id": 1,
- "url": "https://api.github.com/orgs/octocat/hooks/1",
- "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings",
- "name": "web",
- "events": [
- "push",
- "pull_request"
- ],
- "active": true,
- "config": {
- "url": "http://example.com",
- "content_type": "json"
- },
- "updated_at": "2011-09-06T20:39:23Z",
- "created_at": "2011-09-06T17:26:27Z"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/create-an-organization-webhook.html b/cache/api.github.com/v3/orgs/hooks/create-an-organization-webhook.html
new file mode 100644
index 0000000000..3af2b06bb5
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/hooks/create-an-organization-webhook.html
@@ -0,0 +1,114 @@
+
+
+
+ Create an organization webhookPOST /orgs/:org/hooks
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+name
+string
+
+Required. Must be passed as "web".
+
+
+config
+object
+
+Required. Key/value pairs to provide settings for this webhook. These are defined below.
+
+
+events
+array
+Determines what events the hook is triggered for. Default: ["push"]
.
+
+
+active
+boolean
+Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications. Default: true
.
+
+
+
+
+The config
object can accept the following keys:
+
+
+
+Name
+Type
+Description
+
+
+
+
+url
+string
+
+Required. The URL to which the payloads will be delivered.
+
+
+content_type
+string
+The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
+
+
+secret
+string
+If provided, the secret
will be used as the key
to generate the HMAC hex digest value in the X-Hub-Signature
header.
+
+
+insecure_ssl
+string
+Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
+
+
+
+
+
+
+ ExampleHere's how you can create a hook that posts payloads in JSON format:
+{
+ "name": "web",
+ "active": true,
+ "events": [
+ "push",
+ "pull_request"
+ ],
+ "config": {
+ "url": "http://example.com/webhook",
+ "content_type": "json"
+ }
+}
+
+
+
+ ResponseStatus: 201 Created
+Location: https://api.github.com/orgs/octocat/hooks/1
+
+{
+ "id": 1,
+ "url": "https://api.github.com/orgs/octocat/hooks/1",
+ "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings",
+ "name": "web",
+ "events": [
+ "push",
+ "pull_request"
+ ],
+ "active": true,
+ "config": {
+ "url": "http://example.com",
+ "content_type": "json"
+ },
+ "updated_at": "2011-09-06T20:39:23Z",
+ "created_at": "2011-09-06T17:26:27Z"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/delete-a-hook.html b/cache/api.github.com/v3/orgs/hooks/delete-a-hook.html
deleted file mode 100644
index 96998a9464..0000000000
--- a/cache/api.github.com/v3/orgs/hooks/delete-a-hook.html
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- Delete a hookDELETE /orgs/:org/hooks/:hook_id
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/delete-an-organization-webhook.html b/cache/api.github.com/v3/orgs/hooks/delete-an-organization-webhook.html
new file mode 100644
index 0000000000..d4e80c98ec
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/hooks/delete-an-organization-webhook.html
@@ -0,0 +1,9 @@
+
+
+
+ Delete an organization webhookDELETE /orgs/:org/hooks/:hook_id
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/edit-a-hook.html b/cache/api.github.com/v3/orgs/hooks/edit-a-hook.html
deleted file mode 100644
index d834506d5c..0000000000
--- a/cache/api.github.com/v3/orgs/hooks/edit-a-hook.html
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
-
- Edit a hookPATCH /orgs/:org/hooks/:hook_id
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-config
-object
-Key/value pairs to provide settings for this webhook. These are defined below.
-
-
-events
-array
-Determines what events the hook is triggered for. Default: ["push"]
.
-
-
-active
-boolean
-Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications. Default: true
.
-
-
-
-
-The config
object can accept the following keys:
-
-
-
-Name
-Type
-Description
-
-
-
-
-url
-string
-
-Required. The URL to which the payloads will be delivered.
-
-
-content_type
-string
-The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
-
-
-secret
-string
-If provided, the secret
will be used as the key
to generate the HMAC hex digest value in the X-Hub-Signature
header.
-
-
-insecure_ssl
-string
-Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
-
-
-
-
-
-
- Example{
- "active": true,
- "events": [
- "pull_request"
- ]
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "id": 1,
- "url": "https://api.github.com/orgs/octocat/hooks/1",
- "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings",
- "name": "web",
- "events": [
- "pull_request"
- ],
- "active": true,
- "config": {
- "url": "http://example.com",
- "content_type": "json"
- },
- "updated_at": "2011-09-06T20:39:23Z",
- "created_at": "2011-09-06T17:26:27Z"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/get-an-organization-webhook.html b/cache/api.github.com/v3/orgs/hooks/get-an-organization-webhook.html
new file mode 100644
index 0000000000..009a090177
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/hooks/get-an-organization-webhook.html
@@ -0,0 +1,27 @@
+
+
+
+ Get an organization webhookGET /orgs/:org/hooks/:hook_id
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "id": 1,
+ "url": "https://api.github.com/orgs/octocat/hooks/1",
+ "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings",
+ "name": "web",
+ "events": [
+ "push",
+ "pull_request"
+ ],
+ "active": true,
+ "config": {
+ "url": "http://example.com",
+ "content_type": "json"
+ },
+ "updated_at": "2011-09-06T20:39:23Z",
+ "created_at": "2011-09-06T17:26:27Z"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/get-single-hook.html b/cache/api.github.com/v3/orgs/hooks/get-single-hook.html
deleted file mode 100644
index 6b0a3f165a..0000000000
--- a/cache/api.github.com/v3/orgs/hooks/get-single-hook.html
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
- Get single hookGET /orgs/:org/hooks/:hook_id
-
-
-
- ResponseStatus: 200 OK
-
-{
- "id": 1,
- "url": "https://api.github.com/orgs/octocat/hooks/1",
- "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings",
- "name": "web",
- "events": [
- "push",
- "pull_request"
- ],
- "active": true,
- "config": {
- "url": "http://example.com",
- "content_type": "json"
- },
- "updated_at": "2011-09-06T20:39:23Z",
- "created_at": "2011-09-06T17:26:27Z"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/index.html b/cache/api.github.com/v3/orgs/hooks/index.html
index a8b082d6b8..f549dd2347 100644
--- a/cache/api.github.com/v3/orgs/hooks/index.html
+++ b/cache/api.github.com/v3/orgs/hooks/index.html
@@ -368,12 +368,12 @@
- Scopes & Restrictions
-- List hooks
-- Get single hook
-- Create a hook
-- Edit a hook
-- Ping a hook
-- Delete a hook
+- List organization webhooks
+- Get an organization webhook
+- Create an organization webhook
+- Update an organization webhook
+- Ping an organization webhook
+- Delete an organization webhook
- Receiving Webhooks
@@ -392,7 +392,7 @@
-
+ List organization webhooks
List hooksGET /orgs/:org/hooks
@@ -430,7 +430,7 @@
-
+ Get an organization webhook
Get single hookGET /orgs/:org/hooks/:hook_id
@@ -464,7 +464,7 @@
-
+ Create an organization webhook
Create a hookPOST /orgs/:org/hooks
@@ -593,7 +593,7 @@
-
+ Update an organization webhook
Edit a hookPATCH /orgs/:org/hooks/:hook_id
@@ -705,7 +705,7 @@
-
+ Ping an organization webhook
Ping a hook
This will trigger a ping event to be sent to the hook.
@@ -721,7 +721,7 @@
-
+ Delete an organization webhook
Delete a hookDELETE /orgs/:org/hooks/:hook_id
diff --git a/cache/api.github.com/v3/orgs/hooks/list-hooks.html b/cache/api.github.com/v3/orgs/hooks/list-hooks.html
deleted file mode 100644
index 4635a4a1d4..0000000000
--- a/cache/api.github.com/v3/orgs/hooks/list-hooks.html
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
- List hooksGET /orgs/:org/hooks
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "id": 1,
- "url": "https://api.github.com/orgs/octocat/hooks/1",
- "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings",
- "name": "web",
- "events": [
- "push",
- "pull_request"
- ],
- "active": true,
- "config": {
- "url": "http://example.com",
- "content_type": "json"
- },
- "updated_at": "2011-09-06T20:39:23Z",
- "created_at": "2011-09-06T17:26:27Z"
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/list-organization-webhooks.html b/cache/api.github.com/v3/orgs/hooks/list-organization-webhooks.html
new file mode 100644
index 0000000000..d13b4d3a9a
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/hooks/list-organization-webhooks.html
@@ -0,0 +1,31 @@
+
+
+
+ List organization webhooksGET /orgs/:org/hooks
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "id": 1,
+ "url": "https://api.github.com/orgs/octocat/hooks/1",
+ "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings",
+ "name": "web",
+ "events": [
+ "push",
+ "pull_request"
+ ],
+ "active": true,
+ "config": {
+ "url": "http://example.com",
+ "content_type": "json"
+ },
+ "updated_at": "2011-09-06T20:39:23Z",
+ "created_at": "2011-09-06T17:26:27Z"
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/ping-a-hook.html b/cache/api.github.com/v3/orgs/hooks/ping-a-hook.html
deleted file mode 100644
index 46de5df27e..0000000000
--- a/cache/api.github.com/v3/orgs/hooks/ping-a-hook.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- Ping a hookThis will trigger a ping event to be sent to the hook.
-POST /orgs/:org/hooks/:hook_id/pings
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/ping-an-organization-webhook.html b/cache/api.github.com/v3/orgs/hooks/ping-an-organization-webhook.html
new file mode 100644
index 0000000000..54339bc2fe
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/hooks/ping-an-organization-webhook.html
@@ -0,0 +1,10 @@
+
+
+
+ Ping an organization webhookThis will trigger a ping event to be sent to the hook.
+POST /orgs/:org/hooks/:hook_id/pings
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/sections.json b/cache/api.github.com/v3/orgs/hooks/sections.json
index 6ce9fed402..d495f29055 100644
--- a/cache/api.github.com/v3/orgs/hooks/sections.json
+++ b/cache/api.github.com/v3/orgs/hooks/sections.json
@@ -5,34 +5,34 @@
"url": "https://developer.github.com/v3/orgs/hooks/#scopes--restrictions"
},
{
- "id": "list-hooks",
- "name": "List hooks",
- "url": "https://developer.github.com/v3/orgs/hooks/#list-hooks"
+ "id": "list-organization-webhooks",
+ "name": "List organization webhooks",
+ "url": "https://developer.github.com/v3/orgs/hooks/#list-organization-webhooks"
},
{
- "id": "get-single-hook",
- "name": "Get single hook",
- "url": "https://developer.github.com/v3/orgs/hooks/#get-single-hook"
+ "id": "get-an-organization-webhook",
+ "name": "Get an organization webhook",
+ "url": "https://developer.github.com/v3/orgs/hooks/#get-an-organization-webhook"
},
{
- "id": "create-a-hook",
- "name": "Create a hook",
- "url": "https://developer.github.com/v3/orgs/hooks/#create-a-hook"
+ "id": "create-an-organization-webhook",
+ "name": "Create an organization webhook",
+ "url": "https://developer.github.com/v3/orgs/hooks/#create-an-organization-webhook"
},
{
- "id": "edit-a-hook",
- "name": "Edit a hook",
- "url": "https://developer.github.com/v3/orgs/hooks/#edit-a-hook"
+ "id": "update-an-organization-webhook",
+ "name": "Update an organization webhook",
+ "url": "https://developer.github.com/v3/orgs/hooks/#update-an-organization-webhook"
},
{
- "id": "ping-a-hook",
- "name": "Ping a hook",
- "url": "https://developer.github.com/v3/orgs/hooks/#ping-a-hook"
+ "id": "ping-an-organization-webhook",
+ "name": "Ping an organization webhook",
+ "url": "https://developer.github.com/v3/orgs/hooks/#ping-an-organization-webhook"
},
{
- "id": "delete-a-hook",
- "name": "Delete a hook",
- "url": "https://developer.github.com/v3/orgs/hooks/#delete-a-hook"
+ "id": "delete-an-organization-webhook",
+ "name": "Delete an organization webhook",
+ "url": "https://developer.github.com/v3/orgs/hooks/#delete-an-organization-webhook"
},
{
"id": "receiving-webhooks",
diff --git a/cache/api.github.com/v3/orgs/hooks/update-an-organization-webhook.html b/cache/api.github.com/v3/orgs/hooks/update-an-organization-webhook.html
new file mode 100644
index 0000000000..1583f63dd8
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/hooks/update-an-organization-webhook.html
@@ -0,0 +1,98 @@
+
+
+
+ Update an organization webhookPATCH /orgs/:org/hooks/:hook_id
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+config
+object
+Key/value pairs to provide settings for this webhook. These are defined below.
+
+
+events
+array
+Determines what events the hook is triggered for. Default: ["push"]
.
+
+
+active
+boolean
+Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications. Default: true
.
+
+
+
+
+The config
object can accept the following keys:
+
+
+
+Name
+Type
+Description
+
+
+
+
+url
+string
+
+Required. The URL to which the payloads will be delivered.
+
+
+content_type
+string
+The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
+
+
+secret
+string
+If provided, the secret
will be used as the key
to generate the HMAC hex digest value in the X-Hub-Signature
header.
+
+
+insecure_ssl
+string
+Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
+
+
+
+
+
+
+ Example{
+ "active": true,
+ "events": [
+ "pull_request"
+ ]
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "id": 1,
+ "url": "https://api.github.com/orgs/octocat/hooks/1",
+ "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings",
+ "name": "web",
+ "events": [
+ "pull_request"
+ ],
+ "active": true,
+ "config": {
+ "url": "http://example.com",
+ "content_type": "json"
+ },
+ "updated_at": "2011-09-06T20:39:23Z",
+ "created_at": "2011-09-06T17:26:27Z"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/index.html b/cache/api.github.com/v3/orgs/index.html
index 958b8813a8..30de4e5139 100644
--- a/cache/api.github.com/v3/orgs/index.html
+++ b/cache/api.github.com/v3/orgs/index.html
@@ -367,18 +367,18 @@
Organizations
-- List your organizations
-- List all organizations
-- List user organizations
-- List installations for an organization
+- List organizations for the authenticated user
+- List organizations
+- List organizations for a user
+- List app installations for an organization
- Get an organization
-- Edit an organization
-- List credential authorizations for an organization
-- Remove a credential authorization for an organization
+- Update an organization
+- List SAML SSO authorizations for an organization
+- Remove a SAML SSO authorization for an organization
-
+ List your organizations List organizations for the authenticated user
List organizations for the authenticated user.
@@ -419,7 +419,7 @@
-
+ List organizations
List all organizations
Lists all organizations, in the order that they were created on GitHub.
@@ -483,12 +483,12 @@
-
+ List organizations for a user
List user organizations
List public organization memberships for the specified user.
-This method only lists public memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the List your organizations API instead.
+This method only lists public memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the List organizations for the authenticated user API instead.
GET /users/:username/orgs
@@ -522,7 +522,7 @@
-
+ List app installations for an organization
List installations for an organization
@@ -738,7 +738,7 @@
-
+ Update an organization
Edit an organization
@@ -940,7 +940,7 @@
-
+ List SAML SSO authorizations for an organization
List credential authorizations for an organization
@@ -988,7 +988,7 @@
-
+ Remove a SAML SSO authorization for an organization
Remove a credential authorization for an organization
diff --git a/cache/api.github.com/v3/orgs/list-all-organizations.html b/cache/api.github.com/v3/orgs/list-all-organizations.html
deleted file mode 100644
index a71e93a854..0000000000
--- a/cache/api.github.com/v3/orgs/list-all-organizations.html
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
- List all organizationsLists all organizations, in the order that they were created on GitHub.
-
-
-Note: Pagination is powered exclusively by the since
parameter.
-Use the Link header to get the URL for the next page of
-organizations.
-
-
-GET /organizations
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-since
-integer
-The integer ID of the last organization that you've seen.
-
-
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/organizations?since=135>; rel="next"
-
-[
- {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/list-app-installations-for-an-organization.html b/cache/api.github.com/v3/orgs/list-app-installations-for-an-organization.html
new file mode 100644
index 0000000000..425c06c2d2
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/list-app-installations-for-an-organization.html
@@ -0,0 +1,73 @@
+
+
+
+ List app installations for an organization
+
+Note: To access the API with your GitHub App, you must provide a custom media type in the Accept
Header for your requests.
+
+application/vnd.github.machine-man-preview+json
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with admin:read
scope to use this endpoint.
+GET /orgs/:org/installations
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+{
+ "total_count": 1,
+ "installations": [
+ {
+ "id": 25381,
+ "account": {
+ "login": "octo-org",
+ "id": 6811672,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
+ "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octo-org",
+ "html_url": "https://github.com/octo-org",
+ "followers_url": "https://api.github.com/users/octo-org/followers",
+ "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
+ "organizations_url": "https://api.github.com/users/octo-org/orgs",
+ "repos_url": "https://api.github.com/users/octo-org/repos",
+ "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octo-org/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "repository_selection": "selected",
+ "access_tokens_url": "https://api.github.com/app/installations/25381/access_tokens",
+ "repositories_url": "https://api.github.com/installation/repositories",
+ "html_url": "https://github.com/organizations/octo-org/settings/installations/25381",
+ "app_id": 2218,
+ "target_id": 6811672,
+ "target_type": "Organization",
+ "permissions": {
+ "deployments": "write",
+ "metadata": "read",
+ "pull_requests": "read",
+ "statuses": "read"
+ },
+ "events": [
+ "deployment",
+ "deployment_status"
+ ],
+ "created_at": "2017-05-16T08:47:09.000-07:00",
+ "updated_at": "2017-06-06T11:23:23.000-07:00",
+ "single_file_name": null
+ }
+ ]
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/list-credential-authorizations-for-an-organization.html b/cache/api.github.com/v3/orgs/list-credential-authorizations-for-an-organization.html
deleted file mode 100644
index f5c2353953..0000000000
--- a/cache/api.github.com/v3/orgs/list-credential-authorizations-for-an-organization.html
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
- List credential authorizations for an organization
-
-Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-An authenticated organization owner with the read:org
scope can list all credential authorizations for an organization that uses SAML single sign-on (SSO). The credentials are either personal access tokens or SSH keys that organization members have authorized for the organization. For more information, see About authentication with SAML single sign-on.
-GET /orgs/:org/credential-authorizations
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "login": "octocat",
- "credential_id": "161195",
- "credential_type": "personal access token",
- "token_last_eight": "71c3fc11",
- "credential_authorized_at": "2011-01-26T19:06:43Z",
- "scopes": [
- "user",
- "repo"
- ]
- },
- {
- "login": "hubot",
- "credential_id": "161196",
- "credential_type": "personal access token",
- "token_last_eight": "12345678",
- "credential_authorized_at": "2019-03-29T19:06:43Z",
- "scopes": [
- "repo"
- ]
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/list-installations-for-an-organization.html b/cache/api.github.com/v3/orgs/list-installations-for-an-organization.html
deleted file mode 100644
index 3584fd0962..0000000000
--- a/cache/api.github.com/v3/orgs/list-installations-for-an-organization.html
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
- List installations for an organization
-
-Note: To access the API with your GitHub App, you must provide a custom media type in the Accept
Header for your requests.
-
-application/vnd.github.machine-man-preview+json
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with admin:read
scope to use this endpoint.
-GET /orgs/:org/installations
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-{
- "total_count": 1,
- "installations": [
- {
- "id": 25381,
- "account": {
- "login": "octo-org",
- "id": 6811672,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
- "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octo-org",
- "html_url": "https://github.com/octo-org",
- "followers_url": "https://api.github.com/users/octo-org/followers",
- "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
- "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
- "organizations_url": "https://api.github.com/users/octo-org/orgs",
- "repos_url": "https://api.github.com/users/octo-org/repos",
- "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octo-org/received_events",
- "type": "Organization",
- "site_admin": false
- },
- "repository_selection": "selected",
- "access_tokens_url": "https://api.github.com/app/installations/25381/access_tokens",
- "repositories_url": "https://api.github.com/installation/repositories",
- "html_url": "https://github.com/organizations/octo-org/settings/installations/25381",
- "app_id": 2218,
- "target_id": 6811672,
- "target_type": "Organization",
- "permissions": {
- "deployments": "write",
- "metadata": "read",
- "pull_requests": "read",
- "statuses": "read"
- },
- "events": [
- "deployment",
- "deployment_status"
- ],
- "created_at": "2017-05-16T08:47:09.000-07:00",
- "updated_at": "2017-06-06T11:23:23.000-07:00",
- "single_file_name": null
- }
- ]
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/list-organizations-for-a-user.html b/cache/api.github.com/v3/orgs/list-organizations-for-a-user.html
new file mode 100644
index 0000000000..68ae950216
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/list-organizations-for-a-user.html
@@ -0,0 +1,30 @@
+
+
+
+ List organizations for a userList public organization memberships for the specified user.
+This method only lists public memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the List organizations for the authenticated user API instead.
+GET /users/:username/orgs
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/list-organizations-for-the-authenticated-user.html b/cache/api.github.com/v3/orgs/list-organizations-for-the-authenticated-user.html
new file mode 100644
index 0000000000..22306a35f9
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/list-organizations-for-the-authenticated-user.html
@@ -0,0 +1,31 @@
+
+
+ List organizations for the authenticated userList organizations for the authenticated user.
+
+
+ OAuth scope requirementsThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with read:org
scope, you can publicize your organization membership with user
scope, etc.). Therefore, this API requires at least user
or read:org
scope. OAuth requests with insufficient scope receive a 403 Forbidden
response.
+GET /user/orgs
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/list-organizations.html b/cache/api.github.com/v3/orgs/list-organizations.html
new file mode 100644
index 0000000000..20b7952d1d
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/list-organizations.html
@@ -0,0 +1,53 @@
+
+
+
+ List organizationsLists all organizations, in the order that they were created on GitHub.
+
+
+Note: Pagination is powered exclusively by the since
parameter.
+Use the Link header to get the URL for the next page of
+organizations.
+
+
+GET /organizations
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+since
+integer
+The integer ID of the last organization that you've seen.
+
+
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/organizations?since=135>; rel="next"
+
+[
+ {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/list-saml-sso-authorizations-for-an-organization.html b/cache/api.github.com/v3/orgs/list-saml-sso-authorizations-for-an-organization.html
new file mode 100644
index 0000000000..29dba2053b
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/list-saml-sso-authorizations-for-an-organization.html
@@ -0,0 +1,39 @@
+
+
+
+ List SAML SSO authorizations for an organization
+
+Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+An authenticated organization owner with the read:org
scope can list all credential authorizations for an organization that uses SAML single sign-on (SSO). The credentials are either personal access tokens or SSH keys that organization members have authorized for the organization. For more information, see About authentication with SAML single sign-on.
+GET /orgs/:org/credential-authorizations
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "login": "octocat",
+ "credential_id": "161195",
+ "credential_type": "personal access token",
+ "token_last_eight": "71c3fc11",
+ "credential_authorized_at": "2011-01-26T19:06:43Z",
+ "scopes": [
+ "user",
+ "repo"
+ ]
+ },
+ {
+ "login": "hubot",
+ "credential_id": "161196",
+ "credential_type": "personal access token",
+ "token_last_eight": "12345678",
+ "credential_authorized_at": "2019-03-29T19:06:43Z",
+ "scopes": [
+ "repo"
+ ]
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/list-user-organizations.html b/cache/api.github.com/v3/orgs/list-user-organizations.html
deleted file mode 100644
index 10cf695ac4..0000000000
--- a/cache/api.github.com/v3/orgs/list-user-organizations.html
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
- List user organizationsList public organization memberships for the specified user.
-This method only lists public memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the List your organizations API instead.
-GET /users/:username/orgs
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/list-your-organizations.html b/cache/api.github.com/v3/orgs/list-your-organizations.html
deleted file mode 100644
index 8631058f31..0000000000
--- a/cache/api.github.com/v3/orgs/list-your-organizations.html
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
- List your organizationsList organizations for the authenticated user.
-
-
- OAuth scope requirementsThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with read:org
scope, you can publicize your organization membership with user
scope, etc.). Therefore, this API requires at least user
or read:org
scope. OAuth requests with insufficient scope receive a 403 Forbidden
response.
-GET /user/orgs
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/add-a-member.html b/cache/api.github.com/v3/orgs/members/add-a-member.html
deleted file mode 100644
index cf141697bc..0000000000
--- a/cache/api.github.com/v3/orgs/members/add-a-member.html
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- Add a memberTo add someone as a member to an organization, you must
-invite them to the organization
-or Add or update team membership for a user.
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/add-an-organization-member.html b/cache/api.github.com/v3/orgs/members/add-an-organization-member.html
new file mode 100644
index 0000000000..edeaa58217
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/add-an-organization-member.html
@@ -0,0 +1,5 @@
+
+
+ Add an organization memberTo add someone as a member to an organization, you must
+invite them to the organization
+or Add or update team membership for a user.
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/add-or-update-organization-membership.html b/cache/api.github.com/v3/orgs/members/add-or-update-organization-membership.html
deleted file mode 100644
index 645a1d6965..0000000000
--- a/cache/api.github.com/v3/orgs/members/add-or-update-organization-membership.html
+++ /dev/null
@@ -1,122 +0,0 @@
-
-
-
- Add or update organization membershipOnly authenticated organization owners can add a member to the organization or update the member's role.
-
-If the authenticated user is adding a member to the organization, the invited user will receive an email inviting them to the organization. The user's membership status will be pending
until they accept the invitation.
-Authenticated users can update a user's membership by passing the role
parameter. If the authenticated user changes a member's role to admin
, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to member
, no email will be sent.
-
-PUT /orgs/:org/memberships/:username
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-role
-string
-The role to give the user in the organization. Can be one of:
* admin
- The user will become an owner of the organization.
* member
- The user will become a non-owner member of the organization.
Default: member
-
-
-
-
-
-
- Rate limitsTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.
-
-
- Response if user was previously unaffiliated with organizationStatus: 200 OK
-
-{
- "url": "https://api.github.com/orgs/invitocat/memberships/defunkt",
- "state": "pending",
- "role": "admin",
- "organization_url": "https://api.github.com/orgs/invitocat",
- "organization": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
-
-
- Response if user already had membership with organizationStatus: 200 OK
-
-{
- "url": "https://api.github.com/orgs/octocat/memberships/defunkt",
- "state": "active",
- "role": "admin",
- "organization_url": "https://api.github.com/orgs/octocat",
- "organization": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/check-membership.html b/cache/api.github.com/v3/orgs/members/check-membership.html
deleted file mode 100644
index bcc3dd7956..0000000000
--- a/cache/api.github.com/v3/orgs/members/check-membership.html
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
- Check membershipCheck if a user is, publicly or privately, a member of the organization.
-GET /orgs/:org/members/:username
-
-
-
- Response if requester is an organization member and user is a memberStatus: 204 No Content
-
-
-
- Response if requester is an organization member and user is not a memberStatus: 404 Not Found
-
-
-
- Response if requester is not an organization member and is inquiring about themselvesStatus: 404 Not Found
-
-
-
- Response if requester is not an organization memberStatus: 302 Found
-Location: https://api.github.com/orgs/github/public_members/pezra
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/check-organization-membership-for-a-user.html b/cache/api.github.com/v3/orgs/members/check-organization-membership-for-a-user.html
new file mode 100644
index 0000000000..d260261da8
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/check-organization-membership-for-a-user.html
@@ -0,0 +1,23 @@
+
+
+
+ Check organization membership for a userCheck if a user is, publicly or privately, a member of the organization.
+GET /orgs/:org/members/:username
+
+
+
+ Response if requester is an organization member and user is a memberStatus: 204 No Content
+
+
+
+ Response if requester is an organization member and user is not a memberStatus: 404 Not Found
+
+
+
+ Response if requester is not an organization member and is inquiring about themselvesStatus: 404 Not Found
+
+
+
+ Response if requester is not an organization memberStatus: 302 Found
+Location: https://api.github.com/orgs/github/public_members/pezra
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/check-public-membership.html b/cache/api.github.com/v3/orgs/members/check-public-membership.html
deleted file mode 100644
index 50815640a8..0000000000
--- a/cache/api.github.com/v3/orgs/members/check-public-membership.html
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- Check public membershipGET /orgs/:org/public_members/:username
-
-
-
- Response if user is a public memberStatus: 204 No Content
-
-
-
- Response if user is not a public memberStatus: 404 Not Found
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/check-public-organization-membership-for-a-user.html b/cache/api.github.com/v3/orgs/members/check-public-organization-membership-for-a-user.html
new file mode 100644
index 0000000000..76e73690e5
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/check-public-organization-membership-for-a-user.html
@@ -0,0 +1,13 @@
+
+
+
+ Check public organization membership for a userGET /orgs/:org/public_members/:username
+
+
+
+ Response if user is a public memberStatus: 204 No Content
+
+
+
+ Response if user is not a public memberStatus: 404 Not Found
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/conceal-a-users-membership.html b/cache/api.github.com/v3/orgs/members/conceal-a-users-membership.html
deleted file mode 100644
index 246e8b7bab..0000000000
--- a/cache/api.github.com/v3/orgs/members/conceal-a-users-membership.html
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- Conceal a user's membershipDELETE /orgs/:org/public_members/:username
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/create-an-organization-invitation.html b/cache/api.github.com/v3/orgs/members/create-an-organization-invitation.html
new file mode 100644
index 0000000000..97283784d1
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/create-an-organization-invitation.html
@@ -0,0 +1,87 @@
+
+
+
+ Create an organization invitationInvite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.
+This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
+POST /orgs/:org/invitations
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+invitee_id
+integer
+
+Required unless you provide email
. GitHub user ID for the person you are inviting.
+
+
+email
+string
+
+Required unless you provide invitee_id
. Email address of the person you are inviting, which can be an existing GitHub user.
+
+
+role
+string
+Specify role for new member. Can be one of:
* admin
- Organization owners with full administrative rights to the organization and complete access to all repositories and teams.
* direct_member
- Non-owner organization members with ability to see other members and join teams by invitation.
* billing_manager
- Non-owner organization members with ability to manage the billing settings of your organization.
Default: direct_member
.
+
+
+team_ids
+array
+Specify IDs for the teams you want to invite new members to.
+
+
+
+
+
+ Example{
+ "email": "octocat@github.com",
+ "role": "direct_member",
+ "team_ids": [
+ 12,
+ 26
+ ]
+}
+
+
+
+ ResponseStatus: 201 Created
+
+{
+ "id": 1,
+ "login": "monalisa",
+ "email": "octocat@github.com",
+ "role": "direct_member",
+ "created_at": "2016-11-30T06:46:10-08:00",
+ "inviter": {
+ "login": "other_user",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/other_user_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/other_user",
+ "html_url": "https://github.com/other_user",
+ "followers_url": "https://api.github.com/users/other_user/followers",
+ "following_url": "https://api.github.com/users/other_user/following{/other_user}",
+ "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/other_user/subscriptions",
+ "organizations_url": "https://api.github.com/users/other_user/orgs",
+ "repos_url": "https://api.github.com/users/other_user/repos",
+ "events_url": "https://api.github.com/users/other_user/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/other_user/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "team_count": 2,
+ "invitation_team_url": "https://api.github.com/organizations/2/invitations/1/teams"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/create-organization-invitation.html b/cache/api.github.com/v3/orgs/members/create-organization-invitation.html
deleted file mode 100644
index 93cc032237..0000000000
--- a/cache/api.github.com/v3/orgs/members/create-organization-invitation.html
+++ /dev/null
@@ -1,87 +0,0 @@
-
-
-
- Create organization invitationInvite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.
-This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
-POST /orgs/:org/invitations
-
-
-
- Input
-
-
-Name
-Type
-Description
-
-
-
-
-invitee_id
-integer
-
-Required unless you provide email
. GitHub user ID for the person you are inviting.
-
-
-email
-string
-
-Required unless you provide invitee_id
. Email address of the person you are inviting, which can be an existing GitHub user.
-
-
-role
-string
-Specify role for new member. Can be one of:
* admin
- Organization owners with full administrative rights to the organization and complete access to all repositories and teams.
* direct_member
- Non-owner organization members with ability to see other members and join teams by invitation.
* billing_manager
- Non-owner organization members with ability to manage the billing settings of your organization.
Default: direct_member
.
-
-
-team_ids
-array
-Specify IDs for the teams you want to invite new members to.
-
-
-
-
-
- Example{
- "email": "octocat@github.com",
- "role": "direct_member",
- "team_ids": [
- 12,
- 26
- ]
-}
-
-
-
- ResponseStatus: 201 Created
-
-{
- "id": 1,
- "login": "monalisa",
- "email": "octocat@github.com",
- "role": "direct_member",
- "created_at": "2016-11-30T06:46:10-08:00",
- "inviter": {
- "login": "other_user",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/other_user_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/other_user",
- "html_url": "https://github.com/other_user",
- "followers_url": "https://api.github.com/users/other_user/followers",
- "following_url": "https://api.github.com/users/other_user/following{/other_user}",
- "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/other_user/subscriptions",
- "organizations_url": "https://api.github.com/users/other_user/orgs",
- "repos_url": "https://api.github.com/users/other_user/repos",
- "events_url": "https://api.github.com/users/other_user/events{/privacy}",
- "received_events_url": "https://api.github.com/users/other_user/received_events",
- "type": "User",
- "site_admin": false
- },
- "team_count": 2,
- "invitation_team_url": "https://api.github.com/organizations/2/invitations/1/teams"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/edit-your-organization-membership.html b/cache/api.github.com/v3/orgs/members/edit-your-organization-membership.html
deleted file mode 100644
index 24877101f8..0000000000
--- a/cache/api.github.com/v3/orgs/members/edit-your-organization-membership.html
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
- Edit your organization membershipPATCH /user/memberships/orgs/:org
-
-
-
- Input
-
-
-Name
-Type
-Description
-
-
-
-
-state
-string
-
-Required. The state that the membership should be in. Only "active"
will be accepted.
-
-
-
-
-
- Example{
- "state": "active"
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/orgs/octocat/memberships/defunkt",
- "state": "active",
- "role": "admin",
- "organization_url": "https://api.github.com/orgs/octocat",
- "organization": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/get-an-organization-membership-for-the-authenticated-user.html b/cache/api.github.com/v3/orgs/members/get-an-organization-membership-for-the-authenticated-user.html
new file mode 100644
index 0000000000..4ca5e7ebce
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/get-an-organization-membership-for-the-authenticated-user.html
@@ -0,0 +1,49 @@
+
+
+ Get an organization membership for the authenticated userGET /user/memberships/orgs/:org
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/orgs/invitocat/memberships/defunkt",
+ "state": "pending",
+ "role": "admin",
+ "organization_url": "https://api.github.com/orgs/invitocat",
+ "organization": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/get-organization-membership-for-a-user.html b/cache/api.github.com/v3/orgs/members/get-organization-membership-for-a-user.html
new file mode 100644
index 0000000000..abf3f874af
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/get-organization-membership-for-a-user.html
@@ -0,0 +1,141 @@
+
+
+
+ Get organization membership for a userIn order to get a user's membership with an organization, the authenticated user must be an organization member.
+GET /orgs/:org/memberships/:username
+
+
+
+ Response if user has an active admin membership with organizationStatus: 200 OK
+
+{
+ "url": "https://api.github.com/orgs/octocat/memberships/defunkt",
+ "state": "active",
+ "role": "admin",
+ "organization_url": "https://api.github.com/orgs/octocat",
+ "organization": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
+
+
+ Response if user has an active membership with organizationStatus: 200 OK
+
+{
+ "url": "https://api.github.com/orgs/octocat/memberships/defunkt",
+ "state": "active",
+ "role": "member",
+ "organization_url": "https://api.github.com/orgs/octocat",
+ "organization": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
+
+
+ Response if user has a pending membership with organizationStatus: 200 OK
+
+{
+ "url": "https://api.github.com/orgs/invitocat/memberships/defunkt",
+ "state": "pending",
+ "role": "member",
+ "organization_url": "https://api.github.com/orgs/invitocat",
+ "organization": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/get-organization-membership.html b/cache/api.github.com/v3/orgs/members/get-organization-membership.html
deleted file mode 100644
index 427394c7a0..0000000000
--- a/cache/api.github.com/v3/orgs/members/get-organization-membership.html
+++ /dev/null
@@ -1,141 +0,0 @@
-
-
-
- Get organization membershipIn order to get a user's membership with an organization, the authenticated user must be an organization member.
-GET /orgs/:org/memberships/:username
-
-
-
- Response if user has an active admin membership with organizationStatus: 200 OK
-
-{
- "url": "https://api.github.com/orgs/octocat/memberships/defunkt",
- "state": "active",
- "role": "admin",
- "organization_url": "https://api.github.com/orgs/octocat",
- "organization": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
-
-
- Response if user has an active membership with organizationStatus: 200 OK
-
-{
- "url": "https://api.github.com/orgs/octocat/memberships/defunkt",
- "state": "active",
- "role": "member",
- "organization_url": "https://api.github.com/orgs/octocat",
- "organization": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
-
-
- Response if user has a pending membership with organizationStatus: 200 OK
-
-{
- "url": "https://api.github.com/orgs/invitocat/memberships/defunkt",
- "state": "pending",
- "role": "member",
- "organization_url": "https://api.github.com/orgs/invitocat",
- "organization": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/get-your-organization-membership.html b/cache/api.github.com/v3/orgs/members/get-your-organization-membership.html
deleted file mode 100644
index 4605154827..0000000000
--- a/cache/api.github.com/v3/orgs/members/get-your-organization-membership.html
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
- Get your organization membershipGET /user/memberships/orgs/:org
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/orgs/invitocat/memberships/defunkt",
- "state": "pending",
- "role": "admin",
- "organization_url": "https://api.github.com/orgs/invitocat",
- "organization": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/index.html b/cache/api.github.com/v3/orgs/members/index.html
index 25a4592e51..047bd21cd6 100644
--- a/cache/api.github.com/v3/orgs/members/index.html
+++ b/cache/api.github.com/v3/orgs/members/index.html
@@ -367,27 +367,27 @@
Members
-- Members list
-- Check membership
-- Add a member
-- Remove a member
-- Public members list
-- Check public membership
-- Publicize a user's membership
-- Conceal a user's membership
-- Get organization membership
-- Add or update organization membership
-- Remove organization membership
+- List organization members
+- Check organization membership for a user
+- Add an organization member
+- Remove an organization member
+- List public organization members
+- Check public organization membership for a user
+- Set public organization membership for the authenticated user
+- Remove public organization membership for the authenticated user
+- Get organization membership for a user
+- Set organization membership for a user
+- Remove organization membership for a user
- List organization invitation teams
- List pending organization invitations
-- Create organization invitation
-- List your organization memberships
-- Get your organization membership
-- Edit your organization membership
+- Create an organization invitation
+- List organization memberships for the authenticated user
+- Get an organization membership for the authenticated user
+- Update an organization membership for the authenticated user
-
+ List organization members
Members listList all users who are members of an organization. If the authenticated user is
@@ -469,7 +469,7 @@
-
+ Check organization membership for a user
Check membership
Check if a user is, publicly or privately, a member of the organization.
@@ -507,14 +507,14 @@
-
+ Add a member Add an organization member
To add someone as a member to an organization, you must
-invite them to the organization
+invite them to the organization
or Add or update team membership for a user.
-
+ Remove an organization member
Remove a memberRemoving a user from this list will remove them from all teams and
@@ -531,7 +531,7 @@
-
+ List public organization members
Public members list
Members of an organization can choose to have their membership
@@ -575,7 +575,7 @@
-
+ Check public organization membership for a user
Check public membershipGET /orgs/:org/public_members/:username
@@ -596,7 +596,7 @@
-
+ Publicize a user's membership Set public organization membership for the authenticated user
The user can publicize their own membership.
(A user cannot publicize the membership for another user.)
@@ -614,7 +614,7 @@
-
+ Conceal a user's membership Remove public organization membership for the authenticated user
DELETE /orgs/:org/public_members/:username
@@ -627,7 +627,7 @@
-
+ Get organization membership for a user
Get organization membership
In order to get a user's membership with an organization, the authenticated user must be an organization member.
@@ -786,13 +786,13 @@
-
+ Set organization membership for a user
Add or update organization membership
Only authenticated organization owners can add a member to the organization or update the member's role.
-If the authenticated user is adding a member to the organization, the invited user will receive an email inviting them to the organization. The user's membership status will be pending
until they accept the invitation.
+If the authenticated user is adding a member to the organization, the invited user will receive an email inviting them to the organization. The user's membership status will be pending
until they accept the invitation.
Authenticated users can update a user's membership by passing the role
parameter. If the authenticated user changes a member's role to admin
, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to member
, no email will be sent.
@@ -926,7 +926,7 @@
-
+ Remove organization membership for a user
Remove organization membership
In order to remove a user's membership with an organization, the authenticated user must be an organization owner.
@@ -1033,7 +1033,7 @@
-
+ Create an organization invitation
Create organization invitation
Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.
@@ -1134,7 +1134,7 @@
-
+ List your organization memberships List organization memberships for the authenticated user
GET /user/memberships/orgs
@@ -1254,7 +1254,7 @@
-
+ Get your organization membership Get an organization membership for the authenticated user
GET /user/memberships/orgs/:org
@@ -1310,7 +1310,7 @@
-
+ Edit your organization membership Update an organization membership for the authenticated user
PATCH /user/memberships/orgs/:org
diff --git a/cache/api.github.com/v3/orgs/members/list-organization-members.html b/cache/api.github.com/v3/orgs/members/list-organization-members.html
new file mode 100644
index 0000000000..566fa036ff
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/list-organization-members.html
@@ -0,0 +1,68 @@
+
+
+
+ List organization members
List all users who are members of an organization. If the authenticated user is
+also a member of this organization then both concealed and public members will
+be returned.
+GET /orgs/:org/members
+
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+filter
+string
+Filter members returned in the list. Can be one of:
* 2fa_disabled
- Members without two-factor authentication enabled. Available for organization owners.
* all
- All members the authenticated user can see.
Default: all
+
+
+
+role
+string
+Filter members returned by their role. Can be one of:
* all
- All members of the organization, regardless of role.
* admin
- Organization owners.
* member
- Non-owner organization members.
Default: all
+
+
+
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+]
+
+
+
+ Response if requester is not an organization memberStatus: 302 Found
+Location: https://api.github.com/orgs/github/public_members
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/list-organization-memberships-for-the-authenticated-user.html b/cache/api.github.com/v3/orgs/members/list-organization-memberships-for-the-authenticated-user.html
new file mode 100644
index 0000000000..3ae3dae689
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/list-organization-memberships-for-the-authenticated-user.html
@@ -0,0 +1,111 @@
+
+
+ List organization memberships for the authenticated userGET /user/memberships/orgs
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+state
+string
+Indicates the state of the memberships to return. Can be either active
or pending
. If not specified, the API returns both active and pending memberships.
+
+
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/orgs/octocat/memberships/defunkt",
+ "state": "active",
+ "role": "admin",
+ "organization_url": "https://api.github.com/orgs/octocat",
+ "organization": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ },
+ {
+ "url": "https://api.github.com/orgs/invitocat/memberships/defunkt",
+ "state": "pending",
+ "role": "admin",
+ "organization_url": "https://api.github.com/orgs/invitocat",
+ "organization": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/list-public-organization-members.html b/cache/api.github.com/v3/orgs/members/list-public-organization-members.html
new file mode 100644
index 0000000000..c6129fa8bd
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/list-public-organization-members.html
@@ -0,0 +1,36 @@
+
+
+
+ List public organization membersMembers of an organization can choose to have their membership
+publicized or not.
+GET /orgs/:org/public_members
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/list-your-organization-memberships.html b/cache/api.github.com/v3/orgs/members/list-your-organization-memberships.html
deleted file mode 100644
index 129dbfd37f..0000000000
--- a/cache/api.github.com/v3/orgs/members/list-your-organization-memberships.html
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
- List your organization membershipsGET /user/memberships/orgs
-
-
-
- Input
-
-
-Name
-Type
-Description
-
-
-
-
-state
-string
-Indicates the state of the memberships to return. Can be either active
or pending
. If not specified, the API returns both active and pending memberships.
-
-
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "url": "https://api.github.com/orgs/octocat/memberships/defunkt",
- "state": "active",
- "role": "admin",
- "organization_url": "https://api.github.com/orgs/octocat",
- "organization": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
- },
- {
- "url": "https://api.github.com/orgs/invitocat/memberships/defunkt",
- "state": "pending",
- "role": "admin",
- "organization_url": "https://api.github.com/orgs/invitocat",
- "organization": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/members-list.html b/cache/api.github.com/v3/orgs/members/members-list.html
deleted file mode 100644
index 07d70dd1ca..0000000000
--- a/cache/api.github.com/v3/orgs/members/members-list.html
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
- Members listList all users who are members of an organization. If the authenticated user is
-also a member of this organization then both concealed and public members will
-be returned.
-GET /orgs/:org/members
-
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-filter
-string
-Filter members returned in the list. Can be one of:
* 2fa_disabled
- Members without two-factor authentication enabled. Available for organization owners.
* all
- All members the authenticated user can see.
Default: all
-
-
-
-role
-string
-Filter members returned by their role. Can be one of:
* all
- All members of the organization, regardless of role.
* admin
- Organization owners.
* member
- Non-owner organization members.
Default: all
-
-
-
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
-
-
- Response if requester is not an organization memberStatus: 302 Found
-Location: https://api.github.com/orgs/github/public_members
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/public-members-list.html b/cache/api.github.com/v3/orgs/members/public-members-list.html
deleted file mode 100644
index af273a271e..0000000000
--- a/cache/api.github.com/v3/orgs/members/public-members-list.html
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
- Public members listMembers of an organization can choose to have their membership
-publicized or not.
-GET /orgs/:org/public_members
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/publicize-a-users-membership.html b/cache/api.github.com/v3/orgs/members/publicize-a-users-membership.html
deleted file mode 100644
index be142c6d0d..0000000000
--- a/cache/api.github.com/v3/orgs/members/publicize-a-users-membership.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
- Publicize a user's membershipThe user can publicize their own membership.
-(A user cannot publicize the membership for another user.)
-PUT /orgs/:org/public_members/:username
-
-Note that you'll need to set Content-Length
to zero when calling out to this endpoint. For more information, see "HTTP verbs."
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/remove-a-member.html b/cache/api.github.com/v3/orgs/members/remove-a-member.html
deleted file mode 100644
index b0031e6e27..0000000000
--- a/cache/api.github.com/v3/orgs/members/remove-a-member.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- Remove a memberRemoving a user from this list will remove them from all teams and
-they will no longer have any access to the organization's repositories.
-DELETE /orgs/:org/members/:username
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/remove-an-organization-member.html b/cache/api.github.com/v3/orgs/members/remove-an-organization-member.html
new file mode 100644
index 0000000000..c5c88a009b
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/remove-an-organization-member.html
@@ -0,0 +1,11 @@
+
+
+
+ Remove an organization memberRemoving a user from this list will remove them from all teams and
+they will no longer have any access to the organization's repositories.
+DELETE /orgs/:org/members/:username
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/remove-organization-membership-for-a-user.html b/cache/api.github.com/v3/orgs/members/remove-organization-membership-for-a-user.html
new file mode 100644
index 0000000000..3e64d375a1
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/remove-organization-membership-for-a-user.html
@@ -0,0 +1,11 @@
+
+
+
+ Remove organization membership for a userIn order to remove a user's membership with an organization, the authenticated user must be an organization owner.
+DELETE /orgs/:org/memberships/:username
+
+If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/remove-organization-membership.html b/cache/api.github.com/v3/orgs/members/remove-organization-membership.html
deleted file mode 100644
index 27bf669af0..0000000000
--- a/cache/api.github.com/v3/orgs/members/remove-organization-membership.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- Remove organization membershipIn order to remove a user's membership with an organization, the authenticated user must be an organization owner.
-DELETE /orgs/:org/memberships/:username
-
-If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/remove-public-organization-membership-for-the-authenticated-user.html b/cache/api.github.com/v3/orgs/members/remove-public-organization-membership-for-the-authenticated-user.html
new file mode 100644
index 0000000000..a25bc5380b
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/remove-public-organization-membership-for-the-authenticated-user.html
@@ -0,0 +1,8 @@
+
+
+ Remove public organization membership for the authenticated userDELETE /orgs/:org/public_members/:username
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/sections.json b/cache/api.github.com/v3/orgs/members/sections.json
index e20cdc3fb7..1b01ac141c 100644
--- a/cache/api.github.com/v3/orgs/members/sections.json
+++ b/cache/api.github.com/v3/orgs/members/sections.json
@@ -1,58 +1,58 @@
[
{
- "id": "members-list",
- "name": "Members list",
- "url": "https://developer.github.com/v3/orgs/members/#members-list"
+ "id": "list-organization-members",
+ "name": "List organization members",
+ "url": "https://developer.github.com/v3/orgs/members/#list-organization-members"
},
{
- "id": "check-membership",
- "name": "Check membership",
- "url": "https://developer.github.com/v3/orgs/members/#check-membership"
+ "id": "check-organization-membership-for-a-user",
+ "name": "Check organization membership for a user",
+ "url": "https://developer.github.com/v3/orgs/members/#check-organization-membership-for-a-user"
},
{
- "id": "add-a-member",
- "name": "Add a member",
- "url": "https://developer.github.com/v3/orgs/members/#add-a-member"
+ "id": "add-an-organization-member",
+ "name": "Add an organization member",
+ "url": "https://developer.github.com/v3/orgs/members/#add-an-organization-member"
},
{
- "id": "remove-a-member",
- "name": "Remove a member",
- "url": "https://developer.github.com/v3/orgs/members/#remove-a-member"
+ "id": "remove-an-organization-member",
+ "name": "Remove an organization member",
+ "url": "https://developer.github.com/v3/orgs/members/#remove-an-organization-member"
},
{
- "id": "public-members-list",
- "name": "Public members list",
- "url": "https://developer.github.com/v3/orgs/members/#public-members-list"
+ "id": "list-public-organization-members",
+ "name": "List public organization members",
+ "url": "https://developer.github.com/v3/orgs/members/#list-public-organization-members"
},
{
- "id": "check-public-membership",
- "name": "Check public membership",
- "url": "https://developer.github.com/v3/orgs/members/#check-public-membership"
+ "id": "check-public-organization-membership-for-a-user",
+ "name": "Check public organization membership for a user",
+ "url": "https://developer.github.com/v3/orgs/members/#check-public-organization-membership-for-a-user"
},
{
- "id": "publicize-a-users-membership",
- "name": "Publicize a user's membership",
- "url": "https://developer.github.com/v3/orgs/members/#publicize-a-users-membership"
+ "id": "set-public-organization-membership-for-the-authenticated-user",
+ "name": "Set public organization membership for the authenticated user",
+ "url": "https://developer.github.com/v3/orgs/members/#set-public-organization-membership-for-the-authenticated-user"
},
{
- "id": "conceal-a-users-membership",
- "name": "Conceal a user's membership",
- "url": "https://developer.github.com/v3/orgs/members/#conceal-a-users-membership"
+ "id": "remove-public-organization-membership-for-the-authenticated-user",
+ "name": "Remove public organization membership for the authenticated user",
+ "url": "https://developer.github.com/v3/orgs/members/#remove-public-organization-membership-for-the-authenticated-user"
},
{
- "id": "get-organization-membership",
- "name": "Get organization membership",
- "url": "https://developer.github.com/v3/orgs/members/#get-organization-membership"
+ "id": "get-organization-membership-for-a-user",
+ "name": "Get organization membership for a user",
+ "url": "https://developer.github.com/v3/orgs/members/#get-organization-membership-for-a-user"
},
{
- "id": "add-or-update-organization-membership",
- "name": "Add or update organization membership",
- "url": "https://developer.github.com/v3/orgs/members/#add-or-update-organization-membership"
+ "id": "set-organization-membership-for-a-user",
+ "name": "Set organization membership for a user",
+ "url": "https://developer.github.com/v3/orgs/members/#set-organization-membership-for-a-user"
},
{
- "id": "remove-organization-membership",
- "name": "Remove organization membership",
- "url": "https://developer.github.com/v3/orgs/members/#remove-organization-membership"
+ "id": "remove-organization-membership-for-a-user",
+ "name": "Remove organization membership for a user",
+ "url": "https://developer.github.com/v3/orgs/members/#remove-organization-membership-for-a-user"
},
{
"id": "list-organization-invitation-teams",
@@ -65,23 +65,23 @@
"url": "https://developer.github.com/v3/orgs/members/#list-pending-organization-invitations"
},
{
- "id": "create-organization-invitation",
- "name": "Create organization invitation",
- "url": "https://developer.github.com/v3/orgs/members/#create-organization-invitation"
+ "id": "create-an-organization-invitation",
+ "name": "Create an organization invitation",
+ "url": "https://developer.github.com/v3/orgs/members/#create-an-organization-invitation"
},
{
- "id": "list-your-organization-memberships",
- "name": "List your organization memberships",
- "url": "https://developer.github.com/v3/orgs/members/#list-your-organization-memberships"
+ "id": "list-organization-memberships-for-the-authenticated-user",
+ "name": "List organization memberships for the authenticated user",
+ "url": "https://developer.github.com/v3/orgs/members/#list-organization-memberships-for-the-authenticated-user"
},
{
- "id": "get-your-organization-membership",
- "name": "Get your organization membership",
- "url": "https://developer.github.com/v3/orgs/members/#get-your-organization-membership"
+ "id": "get-an-organization-membership-for-the-authenticated-user",
+ "name": "Get an organization membership for the authenticated user",
+ "url": "https://developer.github.com/v3/orgs/members/#get-an-organization-membership-for-the-authenticated-user"
},
{
- "id": "edit-your-organization-membership",
- "name": "Edit your organization membership",
- "url": "https://developer.github.com/v3/orgs/members/#edit-your-organization-membership"
+ "id": "update-an-organization-membership-for-the-authenticated-user",
+ "name": "Update an organization membership for the authenticated user",
+ "url": "https://developer.github.com/v3/orgs/members/#update-an-organization-membership-for-the-authenticated-user"
}
]
diff --git a/cache/api.github.com/v3/orgs/members/set-organization-membership-for-a-user.html b/cache/api.github.com/v3/orgs/members/set-organization-membership-for-a-user.html
new file mode 100644
index 0000000000..7a7cc28f20
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/set-organization-membership-for-a-user.html
@@ -0,0 +1,122 @@
+
+
+
+ Set organization membership for a userOnly authenticated organization owners can add a member to the organization or update the member's role.
+
+If the authenticated user is adding a member to the organization, the invited user will receive an email inviting them to the organization. The user's membership status will be pending
until they accept the invitation.
+Authenticated users can update a user's membership by passing the role
parameter. If the authenticated user changes a member's role to admin
, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to member
, no email will be sent.
+
+PUT /orgs/:org/memberships/:username
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+role
+string
+The role to give the user in the organization. Can be one of:
* admin
- The user will become an owner of the organization.
* member
- The user will become a non-owner member of the organization.
Default: member
+
+
+
+
+
+
+ Rate limitsTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.
+
+
+ Response if user was previously unaffiliated with organizationStatus: 200 OK
+
+{
+ "url": "https://api.github.com/orgs/invitocat/memberships/defunkt",
+ "state": "pending",
+ "role": "admin",
+ "organization_url": "https://api.github.com/orgs/invitocat",
+ "organization": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
+
+
+ Response if user already had membership with organizationStatus: 200 OK
+
+{
+ "url": "https://api.github.com/orgs/octocat/memberships/defunkt",
+ "state": "active",
+ "role": "admin",
+ "organization_url": "https://api.github.com/orgs/octocat",
+ "organization": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/set-public-organization-membership-for-the-authenticated-user.html b/cache/api.github.com/v3/orgs/members/set-public-organization-membership-for-the-authenticated-user.html
new file mode 100644
index 0000000000..ef5cddd49b
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/set-public-organization-membership-for-the-authenticated-user.html
@@ -0,0 +1,11 @@
+
+
+ Set public organization membership for the authenticated userThe user can publicize their own membership.
+(A user cannot publicize the membership for another user.)
+PUT /orgs/:org/public_members/:username
+
+Note that you'll need to set Content-Length
to zero when calling out to this endpoint. For more information, see "HTTP verbs."
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/update-an-organization-membership-for-the-authenticated-user.html b/cache/api.github.com/v3/orgs/members/update-an-organization-membership-for-the-authenticated-user.html
new file mode 100644
index 0000000000..12879eb0c9
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/update-an-organization-membership-for-the-authenticated-user.html
@@ -0,0 +1,74 @@
+
+
+ Update an organization membership for the authenticated userPATCH /user/memberships/orgs/:org
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+state
+string
+
+Required. The state that the membership should be in. Only "active"
will be accepted.
+
+
+
+
+
+ Example{
+ "state": "active"
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/orgs/octocat/memberships/defunkt",
+ "state": "active",
+ "role": "admin",
+ "organization_url": "https://api.github.com/orgs/octocat",
+ "organization": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/outside_collaborators/convert-an-organization-member-to-outside-collaborator.html b/cache/api.github.com/v3/orgs/outside_collaborators/convert-an-organization-member-to-outside-collaborator.html
new file mode 100644
index 0000000000..f00c9e1ef0
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/outside_collaborators/convert-an-organization-member-to-outside-collaborator.html
@@ -0,0 +1,28 @@
+
+
+
+ Convert an organization member to outside collaboratorWhen an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "Converting an organization member to an outside collaborator".
+PUT /orgs/:org/outside_collaborators/:username
+
+
+
+ ResponseStatus: 204 No Content
+
+
+
+ Response if user is the last owner of the organizationStatus: 403 Forbidden
+
+{
+ "message": "Cannot convert the last owner to an outside collaborator",
+ "documentation_url": "https://developer.github.com/v3/orgs/outside_collaborators/#convert-member-to-outside-collaborator"
+}
+
+
+
+ Response if user is not a member of the organizationStatus: 403 Forbidden
+
+{
+ "message": "<user> is not a member of the <organization> organization.",
+ "documentation_url": "https://developer.github.com/v3/orgs/outside_collaborators/#convert-member-to-outside-collaborator"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/outside_collaborators/convert-member-to-outside-collaborator.html b/cache/api.github.com/v3/orgs/outside_collaborators/convert-member-to-outside-collaborator.html
deleted file mode 100644
index 046a8a71cf..0000000000
--- a/cache/api.github.com/v3/orgs/outside_collaborators/convert-member-to-outside-collaborator.html
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
- Convert member to outside collaboratorWhen an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "Converting an organization member to an outside collaborator".
-PUT /orgs/:org/outside_collaborators/:username
-
-
-
- ResponseStatus: 204 No Content
-
-
-
- Response if user is the last owner of the organizationStatus: 403 Forbidden
-
-{
- "message": "Cannot convert the last owner to an outside collaborator",
- "documentation_url": "https://developer.github.com/v3/orgs/outside_collaborators/#convert-member-to-outside-collaborator"
-}
-
-
-
- Response if user is not a member of the organizationStatus: 403 Forbidden
-
-{
- "message": "<user> is not a member of the <organization> organization.",
- "documentation_url": "https://developer.github.com/v3/orgs/outside_collaborators/#convert-member-to-outside-collaborator"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/outside_collaborators/index.html b/cache/api.github.com/v3/orgs/outside_collaborators/index.html
index 3c8e6986ca..6136ebcef5 100644
--- a/cache/api.github.com/v3/orgs/outside_collaborators/index.html
+++ b/cache/api.github.com/v3/orgs/outside_collaborators/index.html
@@ -367,13 +367,13 @@
Outside Collaborators
-- List outside collaborators
-- Remove outside collaborator
-- Convert member to outside collaborator
+- List outside collaborators for an organization
+- Remove outside collaborator from an organization
+- Convert an organization member to outside collaborator
-
+ List outside collaborators for an organization
List outside collaboratorsList all users who are outside collaborators of an organization.
@@ -439,7 +439,7 @@
-
+ Remove outside collaborator from an organization
Remove outside collaborator
Removing a user from this list will remove them from all the organization's repositories.
@@ -469,7 +469,7 @@
-
+ Convert an organization member to outside collaborator
Convert member to outside collaborator
When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "Converting an organization member to an outside collaborator".
diff --git a/cache/api.github.com/v3/orgs/outside_collaborators/list-outside-collaborators-for-an-organization.html b/cache/api.github.com/v3/orgs/outside_collaborators/list-outside-collaborators-for-an-organization.html
new file mode 100644
index 0000000000..1733084489
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/outside_collaborators/list-outside-collaborators-for-an-organization.html
@@ -0,0 +1,55 @@
+
+
+
+ List outside collaborators for an organizationList all users who are outside collaborators of an organization.
+GET /orgs/:org/outside_collaborators
+
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+filter
+string
+Filter the list of outside collaborators. Can be one of:
* 2fa_disabled
: Outside collaborators without two-factor authentication enabled.
* all
: All outside collaborators.
Default: all
+
+
+
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/outside_collaborators/list-outside-collaborators.html b/cache/api.github.com/v3/orgs/outside_collaborators/list-outside-collaborators.html
deleted file mode 100644
index 62f18d44ef..0000000000
--- a/cache/api.github.com/v3/orgs/outside_collaborators/list-outside-collaborators.html
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
- List outside collaboratorsList all users who are outside collaborators of an organization.
-GET /orgs/:org/outside_collaborators
-
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-filter
-string
-Filter the list of outside collaborators. Can be one of:
* 2fa_disabled
: Outside collaborators without two-factor authentication enabled.
* all
: All outside collaborators.
Default: all
-
-
-
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/outside_collaborators/remove-outside-collaborator-from-an-organization.html b/cache/api.github.com/v3/orgs/outside_collaborators/remove-outside-collaborator-from-an-organization.html
new file mode 100644
index 0000000000..23dac44476
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/outside_collaborators/remove-outside-collaborator-from-an-organization.html
@@ -0,0 +1,19 @@
+
+
+
+ Remove outside collaborator from an organizationRemoving a user from this list will remove them from all the organization's repositories.
+DELETE /orgs/:org/outside_collaborators/:username
+
+
+
+ ResponseStatus: 204 No Content
+
+
+
+ Response if user is a member of the organizationStatus: 422 Unprocessable Entity
+
+{
+ "message": "You cannot specify an organization member to remove as an outside collaborator.",
+ "documentation_url": "https://developer.github.com/v3/orgs/outside_collaborators/#remove-outside-collaborator"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/outside_collaborators/remove-outside-collaborator.html b/cache/api.github.com/v3/orgs/outside_collaborators/remove-outside-collaborator.html
deleted file mode 100644
index 52adda8f89..0000000000
--- a/cache/api.github.com/v3/orgs/outside_collaborators/remove-outside-collaborator.html
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
- Remove outside collaboratorRemoving a user from this list will remove them from all the organization's repositories.
-DELETE /orgs/:org/outside_collaborators/:username
-
-
-
- ResponseStatus: 204 No Content
-
-
-
- Response if user is a member of the organizationStatus: 422 Unprocessable Entity
-
-{
- "message": "You cannot specify an organization member to remove as an outside collaborator.",
- "documentation_url": "https://developer.github.com/v3/orgs/outside_collaborators/#remove-outside-collaborator"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/outside_collaborators/sections.json b/cache/api.github.com/v3/orgs/outside_collaborators/sections.json
index 456dfb3e29..02bd56acfa 100644
--- a/cache/api.github.com/v3/orgs/outside_collaborators/sections.json
+++ b/cache/api.github.com/v3/orgs/outside_collaborators/sections.json
@@ -1,17 +1,17 @@
[
{
- "id": "list-outside-collaborators",
- "name": "List outside collaborators",
- "url": "https://developer.github.com/v3/orgs/outside_collaborators/#list-outside-collaborators"
+ "id": "list-outside-collaborators-for-an-organization",
+ "name": "List outside collaborators for an organization",
+ "url": "https://developer.github.com/v3/orgs/outside_collaborators/#list-outside-collaborators-for-an-organization"
},
{
- "id": "remove-outside-collaborator",
- "name": "Remove outside collaborator",
- "url": "https://developer.github.com/v3/orgs/outside_collaborators/#remove-outside-collaborator"
+ "id": "remove-outside-collaborator-from-an-organization",
+ "name": "Remove outside collaborator from an organization",
+ "url": "https://developer.github.com/v3/orgs/outside_collaborators/#remove-outside-collaborator-from-an-organization"
},
{
- "id": "convert-member-to-outside-collaborator",
- "name": "Convert member to outside collaborator",
- "url": "https://developer.github.com/v3/orgs/outside_collaborators/#convert-member-to-outside-collaborator"
+ "id": "convert-an-organization-member-to-outside-collaborator",
+ "name": "Convert an organization member to outside collaborator",
+ "url": "https://developer.github.com/v3/orgs/outside_collaborators/#convert-an-organization-member-to-outside-collaborator"
}
]
diff --git a/cache/api.github.com/v3/orgs/remove-a-credential-authorization-for-an-organization.html b/cache/api.github.com/v3/orgs/remove-a-credential-authorization-for-an-organization.html
deleted file mode 100644
index c6ee4c4a46..0000000000
--- a/cache/api.github.com/v3/orgs/remove-a-credential-authorization-for-an-organization.html
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
- Remove a credential authorization for an organization
-
-Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-An authenticated organization owner with the admin:org
scope can remove a credential authorization for an organization that uses SAML SSO. Once you remove someone's credential authorization, they will need to create a new personal access token or SSH key and authorize it for the organization they want to access.
-DELETE /orgs/:org/credential-authorizations/:credential_id
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/remove-a-saml-sso-authorization-for-an-organization.html b/cache/api.github.com/v3/orgs/remove-a-saml-sso-authorization-for-an-organization.html
new file mode 100644
index 0000000000..c5ce1f437f
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/remove-a-saml-sso-authorization-for-an-organization.html
@@ -0,0 +1,15 @@
+
+
+
+ Remove a SAML SSO authorization for an organization
+
+Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+An authenticated organization owner with the admin:org
scope can remove a credential authorization for an organization that uses SAML SSO. Once you remove someone's credential authorization, they will need to create a new personal access token or SSH key and authorize it for the organization they want to access.
+DELETE /orgs/:org/credential-authorizations/:credential_id
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/sections.json b/cache/api.github.com/v3/orgs/sections.json
index 678e9a5c6f..939ef7fa58 100644
--- a/cache/api.github.com/v3/orgs/sections.json
+++ b/cache/api.github.com/v3/orgs/sections.json
@@ -1,23 +1,23 @@
[
{
- "id": "list-your-organizations",
- "name": "List your organizations",
- "url": "https://developer.github.com/v3/orgs/#list-your-organizations"
+ "id": "list-organizations-for-the-authenticated-user",
+ "name": "List organizations for the authenticated user",
+ "url": "https://developer.github.com/v3/orgs/#list-organizations-for-the-authenticated-user"
},
{
- "id": "list-all-organizations",
- "name": "List all organizations",
- "url": "https://developer.github.com/v3/orgs/#list-all-organizations"
+ "id": "list-organizations",
+ "name": "List organizations",
+ "url": "https://developer.github.com/v3/orgs/#list-organizations"
},
{
- "id": "list-user-organizations",
- "name": "List user organizations",
- "url": "https://developer.github.com/v3/orgs/#list-user-organizations"
+ "id": "list-organizations-for-a-user",
+ "name": "List organizations for a user",
+ "url": "https://developer.github.com/v3/orgs/#list-organizations-for-a-user"
},
{
- "id": "list-installations-for-an-organization",
- "name": "List installations for an organization",
- "url": "https://developer.github.com/v3/orgs/#list-installations-for-an-organization"
+ "id": "list-app-installations-for-an-organization",
+ "name": "List app installations for an organization",
+ "url": "https://developer.github.com/v3/orgs/#list-app-installations-for-an-organization"
},
{
"id": "get-an-organization",
@@ -25,18 +25,18 @@
"url": "https://developer.github.com/v3/orgs/#get-an-organization"
},
{
- "id": "edit-an-organization",
- "name": "Edit an organization",
- "url": "https://developer.github.com/v3/orgs/#edit-an-organization"
+ "id": "update-an-organization",
+ "name": "Update an organization",
+ "url": "https://developer.github.com/v3/orgs/#update-an-organization"
},
{
- "id": "list-credential-authorizations-for-an-organization",
- "name": "List credential authorizations for an organization",
- "url": "https://developer.github.com/v3/orgs/#list-credential-authorizations-for-an-organization"
+ "id": "list-saml-sso-authorizations-for-an-organization",
+ "name": "List SAML SSO authorizations for an organization",
+ "url": "https://developer.github.com/v3/orgs/#list-saml-sso-authorizations-for-an-organization"
},
{
- "id": "remove-a-credential-authorization-for-an-organization",
- "name": "Remove a credential authorization for an organization",
- "url": "https://developer.github.com/v3/orgs/#remove-a-credential-authorization-for-an-organization"
+ "id": "remove-a-saml-sso-authorization-for-an-organization",
+ "name": "Remove a SAML SSO authorization for an organization",
+ "url": "https://developer.github.com/v3/orgs/#remove-a-saml-sso-authorization-for-an-organization"
}
]
diff --git a/cache/api.github.com/v3/orgs/update-an-organization.html b/cache/api.github.com/v3/orgs/update-an-organization.html
new file mode 100644
index 0000000000..2985edd427
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/update-an-organization.html
@@ -0,0 +1,185 @@
+
+
+
+ Update an organization
+
+Note: New repository creation permissions are available to preview. You can now use members_can_create_public_repositories
, members_can_create_private_repositories
, and members_can_create_internal_repositories
. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.
+
+To access these new parameters during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.surtur-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+
+
+
+Parameter Deprecation Notice: GitHub will replace and discontinue members_allowed_repository_creation_type
in favor of more granular permissions. The new input parameters are members_can_create_public_repositories
, members_can_create_private_repositories
for all organizations and members_can_create_internal_repositories
for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the blog post.
+
+
+Enables an authenticated organization owner with the admin:org
scope to update the organization's profile and member privileges.
+PATCH /orgs/:org
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+billing_email
+string
+Billing email address. This address is not publicized.
+
+
+company
+string
+The company name.
+
+
+email
+string
+The publicly visible email address.
+
+
+twitter_username
+string
+The Twitter username of the company.
+
+
+location
+string
+The location.
+
+
+name
+string
+The shorthand name of the company.
+
+
+description
+string
+The description of the company.
+
+
+has_organization_projects
+boolean
+Toggles whether an organization can use organization projects.
+
+
+has_repository_projects
+boolean
+Toggles whether repositories that belong to the organization can use repository projects.
+
+
+default_repository_permission
+string
+Default permission level members have for organization repositories:
* read
- can pull, but not push to or administer this repository.
* write
- can pull and push, but not administer this repository.
* admin
- can pull, push, and administer this repository.
* none
- no permissions granted by default.
Default: read
+
+
+
+members_can_create_repositories
+boolean
+Toggles the ability of non-admin organization members to create repositories. Can be one of:
* true
- all organization members can create repositories.
* false
- only organization owners can create repositories.
Default: true
Note: A parameter can override this parameter. See members_allowed_repository_creation_type
in this table for details.
+
+
+members_can_create_internal_repositories
+boolean
+Toggles whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. Can be one of:
* true
- all organization members can create internal repositories.
* false
- only organization owners can create internal repositories.
Default: true
. For more information, see "Restricting repository creation in your organization" in the GitHub Help documentation.
+
+
+members_can_create_private_repositories
+boolean
+Toggles whether organization members can create private repositories, which are visible to organization members with permission. Can be one of:
* true
- all organization members can create private repositories.
* false
- only organization owners can create private repositories.
Default: true
. For more information, see "Restricting repository creation in your organization" in the GitHub Help documentation.
+
+
+members_can_create_public_repositories
+boolean
+Toggles whether organization members can create public repositories, which are visible to anyone. Can be one of:
* true
- all organization members can create public repositories.
* false
- only organization owners can create public repositories.
Default: true
. For more information, see "Restricting repository creation in your organization" in the GitHub Help documentation.
+
+
+members_allowed_repository_creation_type
+string
+Specifies which types of repositories non-admin organization members can create. Can be one of:
* all
- all organization members can create public and private repositories.
* private
- members can create private repositories. This option is only available to repositories that are part of an organization on GitHub Enterprise Cloud.
* none
- only admin members can create repositories.
Note: This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in members_can_create_repositories
. See this note for details.
+
+
+
+
+
+ Example{
+ "billing_email": "support@github.com",
+ "blog": "https://github.com/blog",
+ "company": "GitHub",
+ "email": "support@github.com",
+ "twitter_username": "github",
+ "location": "San Francisco",
+ "name": "github",
+ "description": "GitHub, the company.",
+ "default_repository_permission": "read",
+ "members_can_create_repositories": true,
+ "members_allowed_repository_creation_type": "all"
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization",
+ "name": "github",
+ "company": "GitHub",
+ "blog": "https://github.com/blog",
+ "location": "San Francisco",
+ "email": "octocat@github.com",
+ "twitter_username": "github",
+ "is_verified": true,
+ "has_organization_projects": true,
+ "has_repository_projects": true,
+ "public_repos": 2,
+ "public_gists": 1,
+ "followers": 20,
+ "following": 0,
+ "html_url": "https://github.com/octocat",
+ "created_at": "2008-01-14T04:33:35Z",
+ "type": "Organization",
+ "total_private_repos": 100,
+ "owned_private_repos": 100,
+ "private_gists": 81,
+ "disk_usage": 10000,
+ "collaborators": 8,
+ "billing_email": "support@github.com",
+ "plan": {
+ "name": "Medium",
+ "space": 400,
+ "private_repos": 20
+ },
+ "default_repository_permission": "read",
+ "members_can_create_repositories": true,
+ "two_factor_requirement_enabled": true,
+ "members_allowed_repository_creation_type": "all",
+ "members_can_create_public_repositories": false,
+ "members_can_create_private_repositories": false,
+ "members_can_create_internal_repositories": false
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/previews/index.html b/cache/api.github.com/v3/previews/index.html
index 11f0cab76e..f2792b790c 100644
--- a/cache/api.github.com/v3/previews/index.html
+++ b/cache/api.github.com/v3/previews/index.html
@@ -552,7 +552,7 @@
- Repository creation permissions
You can now configure whether organization members can create repositories and which types of repositories they can create. See "Edit an organization" for more details.
+You can now configure whether organization members can create repositories and which types of repositories they can create. See "Update an organization" for more details.
Custom media types: surtur-preview
Announced: 2019-12-03
diff --git a/cache/api.github.com/v3/previews/repository-creation-permissions.html b/cache/api.github.com/v3/previews/repository-creation-permissions.html
index 8b3cae67b7..6b94024f35 100644
--- a/cache/api.github.com/v3/previews/repository-creation-permissions.html
+++ b/cache/api.github.com/v3/previews/repository-creation-permissions.html
@@ -1,5 +1,5 @@
- Repository creation permissionsYou can now configure whether organization members can create repositories and which types of repositories they can create. See "Edit an organization" for more details.
+You can now configure whether organization members can create repositories and which types of repositories they can create. See "Update an organization" for more details.
Custom media types: surtur-preview
Announced: 2019-12-03
\ No newline at end of file
diff --git a/cache/api.github.com/v3/projects/collaborators/add-project-collaborator.html b/cache/api.github.com/v3/projects/collaborators/add-project-collaborator.html
new file mode 100644
index 0000000000..e458f73aba
--- /dev/null
+++ b/cache/api.github.com/v3/projects/collaborators/add-project-collaborator.html
@@ -0,0 +1,42 @@
+
+
+
+ Add project collaborator
+
+Note: The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.inertia-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project admin
to add a collaborator.
+PUT /projects/:project_id/collaborators/:username
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+permission
+string
+The permission to grant the collaborator. Note that, if you choose not to pass any parameters, you'll need to set Content-Length
to zero when calling out to this endpoint. For more information, see "HTTP verbs." Can be one of:
* read
- can read, but not write to or administer this project.
* write
- can read and write, but not administer this project.
* admin
- can read, write and administer this project.
Default: write
+
+
+
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/projects/collaborators/get-project-permission-for-a-user.html b/cache/api.github.com/v3/projects/collaborators/get-project-permission-for-a-user.html
new file mode 100644
index 0000000000..e0161ce8da
--- /dev/null
+++ b/cache/api.github.com/v3/projects/collaborators/get-project-permission-for-a-user.html
@@ -0,0 +1,47 @@
+
+
+
+ Get project permission for a user
+
+Note: The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.inertia-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Returns the collaborator's permission level for an organization project. Possible values for the permission
key: admin
, write
, read
, none
. You must be an organization owner or a project admin
to review a user's permission level.
+GET /projects/:project_id/collaborators/:username/permission
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "permission": "admin",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/projects/collaborators/index.html b/cache/api.github.com/v3/projects/collaborators/index.html
index 5535f1d94d..493764b36d 100644
--- a/cache/api.github.com/v3/projects/collaborators/index.html
+++ b/cache/api.github.com/v3/projects/collaborators/index.html
@@ -367,16 +367,16 @@
Project collaborators
-- List collaborators
-- Review a user's permission level
-- Add user as a collaborator
-- Remove user as a collaborator
+- List project collaborators
+- Get project permission for a user
+- Add project collaborator
+- Remove project collaborator
This API allows you to interact with an organization's projects.
-
+ List project collaborators
List collaborators
@@ -456,7 +456,7 @@
-
+ Get project permission for a user
Review a user's permission level
@@ -513,7 +513,7 @@
-
+ Add project collaborator
Add user as a collaborator
@@ -531,7 +531,7 @@
-
Adds a collaborator to a an organization project and sets their permission level. You must be an organization owner or a project admin
to add a collaborator.
+Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project admin
to add a collaborator.
PUT /projects/:project_id/collaborators/:username
@@ -565,7 +565,7 @@
-
+ Remove project collaborator
Remove user as a collaborator
diff --git a/cache/api.github.com/v3/projects/collaborators/list-project-collaborators.html b/cache/api.github.com/v3/projects/collaborators/list-project-collaborators.html
new file mode 100644
index 0000000000..1843dae87e
--- /dev/null
+++ b/cache/api.github.com/v3/projects/collaborators/list-project-collaborators.html
@@ -0,0 +1,68 @@
+
+
+
+ List project collaborators
+
+Note: The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.inertia-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.
+ You must be an organization owner or a project admin
to list collaborators.
+GET /projects/:project_id/collaborators
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+affiliation
+string
+Filters the collaborators by their affiliation. Can be one of:
* outside
: Outside collaborators of a project that are not a member of the project's organization.
* direct
: Collaborators with permissions to a project, regardless of organization membership status.
* all
: All collaborators the authenticated user can see.
Default: all
+
+
+
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/projects/collaborators/remove-project-collaborator.html b/cache/api.github.com/v3/projects/collaborators/remove-project-collaborator.html
new file mode 100644
index 0000000000..cd19551985
--- /dev/null
+++ b/cache/api.github.com/v3/projects/collaborators/remove-project-collaborator.html
@@ -0,0 +1,23 @@
+
+
+
+ Remove project collaborator
+
+Note: The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.inertia-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Removes a collaborator from an organization project. You must be an organization owner or a project admin
to remove a collaborator.
+DELETE /projects/:project_id/collaborators/:username
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/projects/collaborators/sections.json b/cache/api.github.com/v3/projects/collaborators/sections.json
index 22b513aea3..772266f536 100644
--- a/cache/api.github.com/v3/projects/collaborators/sections.json
+++ b/cache/api.github.com/v3/projects/collaborators/sections.json
@@ -1,22 +1,22 @@
[
{
- "id": "list-collaborators",
- "name": "List collaborators",
- "url": "https://developer.github.com/v3/projects/collaborators/#list-collaborators"
+ "id": "list-project-collaborators",
+ "name": "List project collaborators",
+ "url": "https://developer.github.com/v3/projects/collaborators/#list-project-collaborators"
},
{
- "id": "review-a-users-permission-level",
- "name": "Review a user's permission level",
- "url": "https://developer.github.com/v3/projects/collaborators/#review-a-users-permission-level"
+ "id": "get-project-permission-for-a-user",
+ "name": "Get project permission for a user",
+ "url": "https://developer.github.com/v3/projects/collaborators/#get-project-permission-for-a-user"
},
{
- "id": "add-user-as-a-collaborator",
- "name": "Add user as a collaborator",
- "url": "https://developer.github.com/v3/projects/collaborators/#add-user-as-a-collaborator"
+ "id": "add-project-collaborator",
+ "name": "Add project collaborator",
+ "url": "https://developer.github.com/v3/projects/collaborators/#add-project-collaborator"
},
{
- "id": "remove-user-as-a-collaborator",
- "name": "Remove user as a collaborator",
- "url": "https://developer.github.com/v3/projects/collaborators/#remove-user-as-a-collaborator"
+ "id": "remove-project-collaborator",
+ "name": "Remove project collaborator",
+ "url": "https://developer.github.com/v3/projects/collaborators/#remove-project-collaborator"
}
]
diff --git a/cache/api.github.com/v3/projects/index.html b/cache/api.github.com/v3/projects/index.html
index af80a7dacb..f7f31564a0 100644
--- a/cache/api.github.com/v3/projects/index.html
+++ b/cache/api.github.com/v3/projects/index.html
@@ -1089,7 +1089,7 @@
organization_permission
string
-The permission level that determines whether all members of the project's organization can see and/or make changes to the project. Setting organization_permission
is only available for organization projects. If an organization member belongs to a team with a higher level of access or is a collaborator with a higher level of access, their permission level is not lowered by organization_permission
. For information on changing access for a team or collaborator, see Add or update team project permissions or Add user as a collaborator.
Note: Updating a project's organization_permission
requires admin
access to the project.
Can be one of:
* read
- Organization members can read, but not write to or administer this project.
* write
- Organization members can read and write, but not administer this project.
* admin
- Organization members can read, write and administer this project.
* none
- Organization members can only see this project if it is public.
+The permission level that determines whether all members of the project's organization can see and/or make changes to the project. Setting organization_permission
is only available for organization projects. If an organization member belongs to a team with a higher level of access or is a collaborator with a higher level of access, their permission level is not lowered by organization_permission
. For information on changing access for a team or collaborator, see Add or update team project permissions or Add project collaborator.
Note: Updating a project's organization_permission
requires admin
access to the project.
Can be one of:
* read
- Organization members can read, but not write to or administer this project.
* write
- Organization members can read and write, but not administer this project.
* admin
- Organization members can read, write and administer this project.
* none
- Organization members can only see this project if it is public.
private
diff --git a/cache/api.github.com/v3/projects/update-a-project.html b/cache/api.github.com/v3/projects/update-a-project.html
index 59d84e76d4..d862a4ecab 100644
--- a/cache/api.github.com/v3/projects/update-a-project.html
+++ b/cache/api.github.com/v3/projects/update-a-project.html
@@ -46,7 +46,7 @@
organization_permission
string
-The permission level that determines whether all members of the project's organization can see and/or make changes to the project. Setting organization_permission
is only available for organization projects. If an organization member belongs to a team with a higher level of access or is a collaborator with a higher level of access, their permission level is not lowered by organization_permission
. For information on changing access for a team or collaborator, see Add or update team project permissions or Add user as a collaborator.
Note: Updating a project's organization_permission
requires admin
access to the project.
Can be one of:
* read
- Organization members can read, but not write to or administer this project.
* write
- Organization members can read and write, but not administer this project.
* admin
- Organization members can read, write and administer this project.
* none
- Organization members can only see this project if it is public.
+The permission level that determines whether all members of the project's organization can see and/or make changes to the project. Setting organization_permission
is only available for organization projects. If an organization member belongs to a team with a higher level of access or is a collaborator with a higher level of access, their permission level is not lowered by organization_permission
. For information on changing access for a team or collaborator, see Add or update team project permissions or Add project collaborator.
Note: Updating a project's organization_permission
requires admin
access to the project.
Can be one of:
* read
- Organization members can read, but not write to or administer this project.
* write
- Organization members can read and write, but not administer this project.
* admin
- Organization members can read, write and administer this project.
* none
- Organization members can only see this project if it is public.
private
diff --git a/cache/api.github.com/v3/pulls/check-if-a-pull-request-has-been-merged.html b/cache/api.github.com/v3/pulls/check-if-a-pull-request-has-been-merged.html
new file mode 100644
index 0000000000..db767992c8
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/check-if-a-pull-request-has-been-merged.html
@@ -0,0 +1,13 @@
+
+
+
+ Check if a pull request has been mergedGET /repos/:owner/:repo/pulls/:pull_number/merge
+
+
+
+ Response if pull request has been mergedStatus: 204 No Content
+
+
+
+ Response if pull request has not been mergedStatus: 404 Not Found
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/comments/create-a-reply-for-a-review-comment.html b/cache/api.github.com/v3/pulls/comments/create-a-reply-for-a-review-comment.html
new file mode 100644
index 0000000000..3d8dc222b1
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/comments/create-a-reply-for-a-review-comment.html
@@ -0,0 +1,93 @@
+
+
+ Create a reply for a review commentCreates a reply to a review comment for a pull request. For the comment_id
, provide the ID of the review comment you are replying to. This must be the ID of a top-level review comment, not a reply to that comment. Replies to replies are not supported.
+This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
+POST /repos/:owner/:repo/pulls/:pull_number/comments/:comment_id/replies
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+body
+string
+
+Required. The text of the review comment.
+
+
+
+
+
+ Example{
+ "body": "Great stuff!"
+}
+
+
+
+ ResponseStatus: 201 Created
+Location: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
+ "id": 10,
+ "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
+ "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
+ "path": "file1.txt",
+ "position": 1,
+ "original_position": 4,
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840",
+ "in_reply_to_id": 426899381,
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Great stuff!",
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1",
+ "author_association": "NONE",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
+ }
+ },
+ "start_line": 1,
+ "original_start_line": 1,
+ "start_side": "RIGHT",
+ "line": 2,
+ "original_line": 2,
+ "side": "RIGHT"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/comments/create-a-review-comment-for-a-pull-request.html b/cache/api.github.com/v3/pulls/comments/create-a-review-comment-for-a-pull-request.html
new file mode 100644
index 0000000000..b4fdd6a9b7
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/comments/create-a-review-comment-for-a-pull-request.html
@@ -0,0 +1,194 @@
+
+
+
+ Create a review comment for a pull request
+
+Note: Multi-line comments on pull requests are currently in public beta and subject to change.
+
+
+
+
+Note: Multi-line comments in a pull request diff is currently available for developers to preview. To access the new response fields during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.comfort-fade-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see "Create an issue comment." We recommend creating a review comment using line
, side
, and optionally start_line
and start_side
if your comment applies to more than one line in the pull request diff.
+You can still create a review comment using the position
parameter. When you use position
, the line
, side
, start_line
, and start_side
parameters are not required. For more information, see Multi-line comment summary.
+
+
+Note: The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
+
+
+This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
+POST /repos/:owner/:repo/pulls/:pull_number/comments
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+body
+string
+
+Required. The text of the review comment.
+
+
+commit_id
+string
+
+Required. The SHA of the commit needing a comment. Not using the latest commit SHA may render your comment outdated if a subsequent commit modifies the line you specify as the position
.
+
+
+path
+string
+
+Required. The relative path to the file that necessitates a comment.
+
+
+position
+integer
+
+Required without comfort-fade
preview. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note above.
+
+
+side
+string
+
+Required with comfort-fade
preview. In a split diff view, the side of the diff that the pull request's changes appear on. Can be LEFT
or RIGHT
. Use LEFT
for deletions that appear in red. Use RIGHT
for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see "Diff view options" in the GitHub Help documentation.
+
+
+line
+integer
+
+Required with comfort-fade
preview. The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to.
+
+
+start_line
+integer
+
+Required when using multi-line comments. To create multi-line comments, you must use the comfort-fade
preview header. The start_line
is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see "Commenting on a pull request" in the GitHub Help documentation.
+
+
+start_side
+string
+
+Required when using multi-line comments. To create multi-line comments, you must use the comfort-fade
preview header. The start_side
is the starting side of the diff that the comment applies to. Can be LEFT
or RIGHT
. To learn more about multi-line comments, see "Commenting on a pull request" in the GitHub Help documentation. See side
in this table for additional context.
+
+
+
+
+
+ Example for a single-line comment{
+ "body": "Let's add this deleted line back.",
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "path": "file1.txt",
+ "line": 5,
+ "side": "LEFT"
+}
+
+
+
+ Example for a multi-line comment{
+ "body": "Great stuff!",
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "path": "file1.txt",
+ "start_line": 1,
+ "start_side": "RIGHT",
+ "line": 2,
+ "side": "RIGHT"
+}
+
+
+
+ ResponseStatus: 201 Created
+Location: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
+ "id": 10,
+ "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
+ "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
+ "path": "file1.txt",
+ "position": 1,
+ "original_position": 4,
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840",
+ "in_reply_to_id": 8,
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Great stuff!",
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1",
+ "author_association": "NONE",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
+ }
+ },
+ "start_line": 1,
+ "original_start_line": 1,
+ "start_side": "RIGHT",
+ "line": 2,
+ "original_line": 2,
+ "side": "RIGHT"
+}
+
+
+
+ Multi-line comment summary
+
+Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.
+
+
+Use the comfort-fade
preview header and the line
parameter to show multi-line comment-supported fields in the response.
+If you use the comfort-fade
preview header, your response will show:
+
+- For multi-line comments, values for
start_line
, original_start_line
, start_side
, line
, original_line
, and side
.
+- For single-line comments, values for
line
, original_line
, and side
and a null
value for start_line
, original_start_line
, and start_side
.
+
+If you don't use the comfort-fade
preview header, multi-line and single-line comments will appear the same way in the response with a single position
attribute. Your response will show:
+
+- For multi-line comments, the last line of the comment range for the
position
attribute.
+- For single-line comments, the diff-positioned way of referencing comments for the
position
attribute. For more information, see position
in the input parameters table.
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/comments/delete-a-review-comment-for-a-pull-request.html b/cache/api.github.com/v3/pulls/comments/delete-a-review-comment-for-a-pull-request.html
new file mode 100644
index 0000000000..abc1d6041a
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/comments/delete-a-review-comment-for-a-pull-request.html
@@ -0,0 +1,10 @@
+
+
+
+ Delete a review comment for a pull requestDeletes a review comment.
+DELETE /repos/:owner/:repo/pulls/comments/:comment_id
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/comments/get-a-review-comment-for-a-pull-request.html b/cache/api.github.com/v3/pulls/comments/get-a-review-comment-for-a-pull-request.html
new file mode 100644
index 0000000000..dd3903c41c
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/comments/get-a-review-comment-for-a-pull-request.html
@@ -0,0 +1,129 @@
+
+
+
+ Get a review comment for a pull request
+
+Note: Multi-line comments on pull requests are currently in public beta and subject to change.
+
+
+
+
+Note: Multi-line comments in a pull request diff is currently available for developers to preview. To access the new response fields during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.comfort-fade-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Provides details for a review comment.
+GET /repos/:owner/:repo/pulls/comments/:comment_id
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
+ "id": 10,
+ "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
+ "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
+ "path": "file1.txt",
+ "position": 1,
+ "original_position": 4,
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840",
+ "in_reply_to_id": 8,
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Great stuff!",
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1",
+ "author_association": "NONE",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
+ }
+ },
+ "start_line": 1,
+ "original_start_line": 1,
+ "start_side": "RIGHT",
+ "line": 2,
+ "original_line": 2,
+ "side": "RIGHT"
+}
+
+
+
+ Multi-line comment summary
+
+Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.
+
+
+Use the comfort-fade
preview header and the line
parameter to show multi-line comment-supported fields in the response.
+If you use the comfort-fade
preview header, your response will show:
+
+- For multi-line comments, values for
start_line
, original_start_line
, start_side
, line
, original_line
, and side
.
+- For single-line comments, values for
line
, original_line
, and side
and a null
value for start_line
, original_start_line
, and start_side
.
+
+If you don't use the comfort-fade
preview header, multi-line and single-line comments will appear the same way in the response with a single position
attribute. Your response will show:
+
+- For multi-line comments, the last line of the comment range for the
position
attribute.
+- For single-line comments, the diff-positioned way of referencing comments for the
position
attribute. For more information, see position
in the input parameters table.
+
+
+
+ Reactions summary
+
+Note: An additional reactions
object in the review comment payload is currently available for developers to preview.
+During the preview period, the APIs may change without advance notice.
+Please see the blog post for full details.
+
+To access the API you must provide a custom media type in the Accept
header:
+
+application/vnd.github.squirrel-girl-preview
+
+
+
+The reactions
key will have the following payload where url
can be used to construct the API location for listing and creating reactions.
+{
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1/reactions"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/comments/index.html b/cache/api.github.com/v3/pulls/comments/index.html
index 5566d97e0b..c519590f91 100644
--- a/cache/api.github.com/v3/pulls/comments/index.html
+++ b/cache/api.github.com/v3/pulls/comments/index.html
@@ -367,13 +367,13 @@
Review Comments
-- List comments on a pull request
-- List comments in a repository
-- Get a single comment
-- Create a comment
-- Create a review comment reply
-- Edit a comment
-- Delete a comment
+- List review comments on a pull request
+- List review comments in a repository
+- Get a review comment for a pull request
+- Create a review comment for a pull request
+- Create a reply for a review comment
+- Update a review comment for a pull request
+- Delete a review comment for a pull request
- Custom media types
@@ -382,7 +382,7 @@
Pull Request review comments use these custom media types. You can read more about the use of media types in the API here.
-
+ List review comments on a pull request
List comments on a pull request
@@ -406,7 +406,7 @@
-Lists review comments for a pull request. By default, review comments are in ascending order by ID.
+Lists all review comments for a pull request. By default, review comments are in ascending order by ID.
GET /repos/:owner/:repo/pulls/:pull_number/comments
@@ -454,9 +454,9 @@
[
{
"url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
"id": 10,
"node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
- "pull_request_review_id": 42,
"diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
"path": "file1.txt",
"position": 1,
@@ -569,7 +569,7 @@
-
+ List review comments in a repository
List comments in a repository
@@ -641,9 +641,9 @@
[
{
"url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
"id": 10,
"node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
- "pull_request_review_id": 42,
"diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
"path": "file1.txt",
"position": 1,
@@ -756,7 +756,7 @@
-
+ Get a review comment for a pull request
Get a single comment
@@ -794,9 +794,9 @@
{
"url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
"id": 10,
"node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
- "pull_request_review_id": 42,
"diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
"path": "file1.txt",
"position": 1,
@@ -908,7 +908,7 @@
-
+ Create a review comment for a pull request
Create a comment
@@ -1011,28 +1011,30 @@
-
+ Example for a multi-line comment Example for a single-line comment
{
- "path": "test-plan.md",
- "start_line": 1,
- "start_side": "LEFT",
- "line": 3,
- "side": "RIGHT",
- "body": "Can you expand on this?"
- }
+ "body": "Let's add this deleted line back.",
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "path": "file1.txt",
+ "line": 5,
+ "side": "LEFT"
+}
-
+ Example for a single-line comment Example for a multi-line comment
{
- "path": "test-plan.md",
- "line": 5,
- "side": "LEFT",
- "body": "Let's add this deleted line back."
- }
+ "body": "Great stuff!",
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "path": "file1.txt",
+ "start_line": 1,
+ "start_side": "RIGHT",
+ "line": 2,
+ "side": "RIGHT"
+}
@@ -1046,9 +1048,9 @@
{
"url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
"id": 10,
"node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
- "pull_request_review_id": 42,
"diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
"path": "file1.txt",
"position": 1,
@@ -1129,7 +1131,7 @@
-
+ Create a review comment reply Create a reply for a review comment
Creates a reply to a review comment for a pull request. For the comment_id
, provide the ID of the review comment you are replying to. This must be the ID of a top-level review comment, not a reply to that comment. Replies to replies are not supported.
@@ -1172,21 +1174,22 @@
ResponseStatus: 201 Created
-Location: https://api.github.com/repos/octocat/Hello-World/comments/1
+Location: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1
{
- "url": "https://api.github.com/repos/octocat/Hello-World/comments/1",
- "pull_request_review_id": 1,
- "id": 2,
- "node_id": "MDEzOkNvbW1pdENvbW1lbnQx",
- "diff_hunk": "@@ -18,3 +18,5 @@ This is my amazing work.",
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
+ "id": 10,
+ "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
+ "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
"path": "file1.txt",
- "position": 4,
+ "position": 1,
"original_position": 4,
"commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
"original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840",
+ "in_reply_to_id": 426899381,
"user": {
"login": "octocat",
"id": 1,
@@ -1207,9 +1210,9 @@
"type": "User",
"site_admin": false
},
- "body": "I like this too!",
- "created_at": "2019-08-11T16:00:49Z",
- "updated_at": "2019-08-11T16:00:49Z",
+ "body": "Great stuff!",
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z",
"html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1",
"pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1",
"author_association": "NONE",
@@ -1223,13 +1226,19 @@
"pull_request": {
"href": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
}
- }
+ },
+ "start_line": 1,
+ "original_start_line": 1,
+ "start_side": "RIGHT",
+ "line": 2,
+ "original_line": 2,
+ "side": "RIGHT"
}
-
+ Update a review comment for a pull request
Edit a comment
@@ -1297,9 +1306,9 @@
{
"url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
"id": 10,
"node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
- "pull_request_review_id": 42,
"diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
"path": "file1.txt",
"position": 1,
@@ -1380,7 +1389,7 @@
-
+ Delete a review comment for a pull request
Delete a comment
Deletes a review comment.
diff --git a/cache/api.github.com/v3/pulls/comments/list-review-comments-in-a-repository.html b/cache/api.github.com/v3/pulls/comments/list-review-comments-in-a-repository.html
new file mode 100644
index 0000000000..ca20b4dfa5
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/comments/list-review-comments-in-a-repository.html
@@ -0,0 +1,162 @@
+
+
+
+ List review comments in a repository
+
+Note: Multi-line comments on pull requests are currently in public beta and subject to change.
+
+
+
+
+Note: Multi-line comments in a pull request diff is currently available for developers to preview. To access the new response fields during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.comfort-fade-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.
+GET /repos/:owner/:repo/pulls/comments
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+sort
+string
+Can be either created
or updated
comments. Default: created
+
+
+
+direction
+string
+Can be either asc
or desc
. Ignored without sort
parameter.
+
+
+since
+string
+This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
. Only returns comments updated
at or after this time.
+
+
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
+ "id": 10,
+ "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
+ "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
+ "path": "file1.txt",
+ "position": 1,
+ "original_position": 4,
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840",
+ "in_reply_to_id": 8,
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Great stuff!",
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1",
+ "author_association": "NONE",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
+ }
+ },
+ "start_line": 1,
+ "original_start_line": 1,
+ "start_side": "RIGHT",
+ "line": 2,
+ "original_line": 2,
+ "side": "RIGHT"
+ }
+]
+
+
+
+ Multi-line comment summary
+
+Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.
+
+
+Use the comfort-fade
preview header and the line
parameter to show multi-line comment-supported fields in the response.
+If you use the comfort-fade
preview header, your response will show:
+
+- For multi-line comments, values for
start_line
, original_start_line
, start_side
, line
, original_line
, and side
.
+- For single-line comments, values for
line
, original_line
, and side
and a null
value for start_line
, original_start_line
, and start_side
.
+
+If you don't use the comfort-fade
preview header, multi-line and single-line comments will appear the same way in the response with a single position
attribute. Your response will show:
+
+- For multi-line comments, the last line of the comment range for the
position
attribute.
+- For single-line comments, the diff-positioned way of referencing comments for the
position
attribute. For more information, see position
in the input parameters table.
+
+
+
+ Reactions summary
+
+Note: An additional reactions
object in the review comment payload is currently available for developers to preview.
+During the preview period, the APIs may change without advance notice.
+Please see the blog post for full details.
+
+To access the API you must provide a custom media type in the Accept
header:
+
+application/vnd.github.squirrel-girl-preview
+
+
+
+The reactions
key will have the following payload where url
can be used to construct the API location for listing and creating reactions.
+{
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1/reactions"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/comments/list-review-comments-on-a-pull-request.html b/cache/api.github.com/v3/pulls/comments/list-review-comments-on-a-pull-request.html
new file mode 100644
index 0000000000..c907c47680
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/comments/list-review-comments-on-a-pull-request.html
@@ -0,0 +1,162 @@
+
+
+
+ List review comments on a pull request
+
+Note: Multi-line comments on pull requests are currently in public beta and subject to change.
+
+
+
+
+Note: Multi-line comments in a pull request diff is currently available for developers to preview. To access the new response fields during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.comfort-fade-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Lists all review comments for a pull request. By default, review comments are in ascending order by ID.
+GET /repos/:owner/:repo/pulls/:pull_number/comments
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+sort
+string
+Can be either created
or updated
comments. Default: created
+
+
+
+direction
+string
+Can be either asc
or desc
. Ignored without sort
parameter.
+
+
+since
+string
+This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
. Only returns comments updated
at or after this time.
+
+
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
+ "id": 10,
+ "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
+ "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
+ "path": "file1.txt",
+ "position": 1,
+ "original_position": 4,
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840",
+ "in_reply_to_id": 8,
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Great stuff!",
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1",
+ "author_association": "NONE",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
+ }
+ },
+ "start_line": 1,
+ "original_start_line": 1,
+ "start_side": "RIGHT",
+ "line": 2,
+ "original_line": 2,
+ "side": "RIGHT"
+ }
+]
+
+
+
+ Multi-line comment summary
+
+Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.
+
+
+Use the comfort-fade
preview header and the line
parameter to show multi-line comment-supported fields in the response.
+If you use the comfort-fade
preview header, your response will show:
+
+- For multi-line comments, values for
start_line
, original_start_line
, start_side
, line
, original_line
, and side
.
+- For single-line comments, values for
line
, original_line
, and side
and a null
value for start_line
, original_start_line
, and start_side
.
+
+If you don't use the comfort-fade
preview header, multi-line and single-line comments will appear the same way in the response with a single position
attribute. Your response will show:
+
+- For multi-line comments, the last line of the comment range for the
position
attribute.
+- For single-line comments, the diff-positioned way of referencing comments for the
position
attribute. For more information, see position
in the input parameters table.
+
+
+
+ Reactions summary
+
+Note: An additional reactions
object in the review comment payload is currently available for developers to preview.
+During the preview period, the APIs may change without advance notice.
+Please see the blog post for full details.
+
+To access the API you must provide a custom media type in the Accept
header:
+
+application/vnd.github.squirrel-girl-preview
+
+
+
+The reactions
key will have the following payload where url
can be used to construct the API location for listing and creating reactions.
+{
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1/reactions"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/comments/sections.json b/cache/api.github.com/v3/pulls/comments/sections.json
index 4f025538df..01d6032522 100644
--- a/cache/api.github.com/v3/pulls/comments/sections.json
+++ b/cache/api.github.com/v3/pulls/comments/sections.json
@@ -1,38 +1,38 @@
[
{
- "id": "list-comments-on-a-pull-request",
- "name": "List comments on a pull request",
- "url": "https://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request"
+ "id": "list-review-comments-on-a-pull-request",
+ "name": "List review comments on a pull request",
+ "url": "https://developer.github.com/v3/pulls/comments/#list-review-comments-on-a-pull-request"
},
{
- "id": "list-comments-in-a-repository",
- "name": "List comments in a repository",
- "url": "https://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository"
+ "id": "list-review-comments-in-a-repository",
+ "name": "List review comments in a repository",
+ "url": "https://developer.github.com/v3/pulls/comments/#list-review-comments-in-a-repository"
},
{
- "id": "get-a-single-comment",
- "name": "Get a single comment",
- "url": "https://developer.github.com/v3/pulls/comments/#get-a-single-comment"
+ "id": "get-a-review-comment-for-a-pull-request",
+ "name": "Get a review comment for a pull request",
+ "url": "https://developer.github.com/v3/pulls/comments/#get-a-review-comment-for-a-pull-request"
},
{
- "id": "create-a-comment",
- "name": "Create a comment",
- "url": "https://developer.github.com/v3/pulls/comments/#create-a-comment"
+ "id": "create-a-review-comment-for-a-pull-request",
+ "name": "Create a review comment for a pull request",
+ "url": "https://developer.github.com/v3/pulls/comments/#create-a-review-comment-for-a-pull-request"
},
{
- "id": "create-a-review-comment-reply",
- "name": "Create a review comment reply",
- "url": "https://developer.github.com/v3/pulls/comments/#create-a-review-comment-reply"
+ "id": "create-a-reply-for-a-review-comment",
+ "name": "Create a reply for a review comment",
+ "url": "https://developer.github.com/v3/pulls/comments/#create-a-reply-for-a-review-comment"
},
{
- "id": "edit-a-comment",
- "name": "Edit a comment",
- "url": "https://developer.github.com/v3/pulls/comments/#edit-a-comment"
+ "id": "update-a-review-comment-for-a-pull-request",
+ "name": "Update a review comment for a pull request",
+ "url": "https://developer.github.com/v3/pulls/comments/#update-a-review-comment-for-a-pull-request"
},
{
- "id": "delete-a-comment",
- "name": "Delete a comment",
- "url": "https://developer.github.com/v3/pulls/comments/#delete-a-comment"
+ "id": "delete-a-review-comment-for-a-pull-request",
+ "name": "Delete a review comment for a pull request",
+ "url": "https://developer.github.com/v3/pulls/comments/#delete-a-review-comment-for-a-pull-request"
},
{
"id": "custom-media-types",
diff --git a/cache/api.github.com/v3/pulls/comments/update-a-review-comment-for-a-pull-request.html b/cache/api.github.com/v3/pulls/comments/update-a-review-comment-for-a-pull-request.html
new file mode 100644
index 0000000000..ab13e40bec
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/comments/update-a-review-comment-for-a-pull-request.html
@@ -0,0 +1,128 @@
+
+
+
+ Update a review comment for a pull request
+
+Note: Multi-line comments on pull requests are currently in public beta and subject to change.
+
+
+
+
+Note: Multi-line comments in a pull request diff is currently available for developers to preview. To access the new response fields during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.comfort-fade-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Enables you to edit a review comment.
+PATCH /repos/:owner/:repo/pulls/comments/:comment_id
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+body
+string
+
+Required. The text of the reply to the review comment.
+
+
+
+
+
+ Example{
+ "body": "I like this too!"
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
+ "id": 10,
+ "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
+ "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
+ "path": "file1.txt",
+ "position": 1,
+ "original_position": 4,
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840",
+ "in_reply_to_id": 8,
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Great stuff!",
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1",
+ "author_association": "NONE",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
+ }
+ },
+ "start_line": 1,
+ "original_start_line": 1,
+ "start_side": "RIGHT",
+ "line": 2,
+ "original_line": 2,
+ "side": "RIGHT"
+}
+
+
+
+ Multi-line comment summary
+
+Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.
+
+
+Use the comfort-fade
preview header and the line
parameter to show multi-line comment-supported fields in the response.
+If you use the comfort-fade
preview header, your response will show:
+
+- For multi-line comments, values for
start_line
, original_start_line
, start_side
, line
, original_line
, and side
.
+- For single-line comments, values for
line
, original_line
, and side
and a null
value for start_line
, original_start_line
, and start_side
.
+
+If you don't use the comfort-fade
preview header, multi-line and single-line comments will appear the same way in the response with a single position
attribute. Your response will show:
+
+- For multi-line comments, the last line of the comment range for the
position
attribute.
+- For single-line comments, the diff-positioned way of referencing comments for the
position
attribute. For more information, see position
in the input parameters table.
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/get-a-pull-request.html b/cache/api.github.com/v3/pulls/get-a-pull-request.html
new file mode 100644
index 0000000000..19a0eec4bc
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/get-a-pull-request.html
@@ -0,0 +1,559 @@
+
+
+
+ Get a pull request
+Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+
+
+Note: You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in locked
events. This feature is currently available for developers to preview. See the blog post for full details. To access this feature, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.sailor-v-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Lists details of a pull request by providing its number.
+GET /repos/:owner/:repo/pulls/:pull_number
+
+
+
+ ResponseWhen you get, create, or edit a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the mergeable
key. For more information, see "Checking mergeability of pull requests".
+The value of the mergeable
attribute can be true
, false
, or null
. If the value is null
, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-null
value for the mergeable
attribute in the response. If mergeable
is true
, then merge_commit_sha
will be the SHA of the test merge commit.
+The value of the merge_commit_sha
attribute changes depending on the state of the pull request. Before merging a pull request, the merge_commit_sha
attribute holds the SHA of the test merge commit. After merging a pull request, the merge_commit_sha
attribute changes depending on how you merged the pull request:
+
+- If merged as a merge commit,
merge_commit_sha
represents the SHA of the merge commit.
+- If merged via a squash,
merge_commit_sha
represents the SHA of the squashed commit on the base branch.
+- If rebased,
merge_commit_sha
represents the commit that the base branch was updated to.
+
+Pass the appropriate media type to fetch diff and patch formats.
+Status: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347",
+ "id": 1,
+ "node_id": "MDExOlB1bGxSZXF1ZXN0MQ==",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1347",
+ "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff",
+ "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch",
+ "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347",
+ "commits_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits",
+ "review_comments_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments",
+ "review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}",
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments",
+ "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "number": 1347,
+ "state": "open",
+ "locked": true,
+ "title": "Amazing new feature",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Please pull these awesome changes in!",
+ "labels": [
+ {
+ "id": 208045946,
+ "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=",
+ "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
+ "name": "bug",
+ "description": "Something isn't working",
+ "color": "f29513",
+ "default": true
+ }
+ ],
+ "milestone": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1",
+ "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0",
+ "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels",
+ "id": 1002604,
+ "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==",
+ "number": 1,
+ "state": "open",
+ "title": "v1.0",
+ "description": "Tracking milestone for version 1.0",
+ "creator": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "open_issues": 4,
+ "closed_issues": 8,
+ "created_at": "2011-04-10T20:09:31Z",
+ "updated_at": "2014-03-03T18:58:10Z",
+ "closed_at": "2013-02-12T13:22:01Z",
+ "due_on": "2012-10-09T23:39:01Z"
+ },
+ "active_lock_reason": "too heated",
+ "created_at": "2011-01-26T19:01:12Z",
+ "updated_at": "2011-01-26T19:01:12Z",
+ "closed_at": "2011-01-26T19:01:12Z",
+ "merged_at": "2011-01-26T19:01:12Z",
+ "merge_commit_sha": "e5bd3914e2e596debea16f433f57875b5b90bcd6",
+ "assignee": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "assignees": [
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ {
+ "login": "hubot",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/hubot_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/hubot",
+ "html_url": "https://github.com/hubot",
+ "followers_url": "https://api.github.com/users/hubot/followers",
+ "following_url": "https://api.github.com/users/hubot/following{/other_user}",
+ "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/hubot/subscriptions",
+ "organizations_url": "https://api.github.com/users/hubot/orgs",
+ "repos_url": "https://api.github.com/users/hubot/repos",
+ "events_url": "https://api.github.com/users/hubot/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/hubot/received_events",
+ "type": "User",
+ "site_admin": true
+ }
+ ],
+ "requested_reviewers": [
+ {
+ "login": "other_user",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/other_user_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/other_user",
+ "html_url": "https://github.com/other_user",
+ "followers_url": "https://api.github.com/users/other_user/followers",
+ "following_url": "https://api.github.com/users/other_user/following{/other_user}",
+ "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/other_user/subscriptions",
+ "organizations_url": "https://api.github.com/users/other_user/orgs",
+ "repos_url": "https://api.github.com/users/other_user/repos",
+ "events_url": "https://api.github.com/users/other_user/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/other_user/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ ],
+ "requested_teams": [
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+ ],
+ "head": {
+ "label": "octocat:new-topic",
+ "ref": "new-topic",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "repo": {
+ "id": 1296269,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
+ "name": "Hello-World",
+ "full_name": "octocat/Hello-World",
+ "owner": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/octocat/Hello-World",
+ "description": "This your first repo!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octocat/Hello-World",
+ "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
+ "clone_url": "https://github.com/octocat/Hello-World.git",
+ "mirror_url": "git:git.example.com/octocat/Hello-World",
+ "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks",
+ "svn_url": "https://svn.github.com/octocat/Hello-World",
+ "homepage": "https://github.com",
+ "language": null,
+ "forks_count": 9,
+ "stargazers_count": 80,
+ "watchers_count": 80,
+ "size": 108,
+ "default_branch": "master",
+ "open_issues_count": 0,
+ "is_template": true,
+ "topics": [
+ "octocat",
+ "atom",
+ "electron",
+ "api"
+ ],
+ "has_issues": true,
+ "has_projects": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "has_downloads": true,
+ "archived": false,
+ "disabled": false,
+ "visibility": "public",
+ "pushed_at": "2011-01-26T19:06:43Z",
+ "created_at": "2011-01-26T19:01:12Z",
+ "updated_at": "2011-01-26T19:14:43Z",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "allow_rebase_merge": true,
+ "template_repository": null,
+ "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
+ "allow_squash_merge": true,
+ "allow_merge_commit": true,
+ "subscribers_count": 42,
+ "network_count": 0
+ }
+ },
+ "base": {
+ "label": "octocat:master",
+ "ref": "master",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "repo": {
+ "id": 1296269,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
+ "name": "Hello-World",
+ "full_name": "octocat/Hello-World",
+ "owner": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/octocat/Hello-World",
+ "description": "This your first repo!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octocat/Hello-World",
+ "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
+ "clone_url": "https://github.com/octocat/Hello-World.git",
+ "mirror_url": "git:git.example.com/octocat/Hello-World",
+ "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks",
+ "svn_url": "https://svn.github.com/octocat/Hello-World",
+ "homepage": "https://github.com",
+ "language": null,
+ "forks_count": 9,
+ "stargazers_count": 80,
+ "watchers_count": 80,
+ "size": 108,
+ "default_branch": "master",
+ "open_issues_count": 0,
+ "is_template": true,
+ "topics": [
+ "octocat",
+ "atom",
+ "electron",
+ "api"
+ ],
+ "has_issues": true,
+ "has_projects": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "has_downloads": true,
+ "archived": false,
+ "disabled": false,
+ "visibility": "public",
+ "pushed_at": "2011-01-26T19:06:43Z",
+ "created_at": "2011-01-26T19:01:12Z",
+ "updated_at": "2011-01-26T19:14:43Z",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "allow_rebase_merge": true,
+ "template_repository": null,
+ "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
+ "allow_squash_merge": true,
+ "allow_merge_commit": true,
+ "subscribers_count": 42,
+ "network_count": 0
+ }
+ },
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1347"
+ },
+ "issue": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347"
+ },
+ "comments": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments"
+ },
+ "review_comments": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments"
+ },
+ "review_comment": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}"
+ },
+ "commits": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits"
+ },
+ "statuses": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ }
+ },
+ "author_association": "OWNER",
+ "draft": false,
+ "merged": false,
+ "mergeable": true,
+ "rebaseable": true,
+ "mergeable_state": "clean",
+ "merged_by": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "comments": 10,
+ "review_comments": 0,
+ "maintainer_can_modify": true,
+ "commits": 3,
+ "additions": 100,
+ "deletions": 3,
+ "changed_files": 5
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/index.html b/cache/api.github.com/v3/pulls/index.html
index 374ba99e63..50da303372 100644
--- a/cache/api.github.com/v3/pulls/index.html
+++ b/cache/api.github.com/v3/pulls/index.html
@@ -369,14 +369,14 @@
- Link Relations
- List pull requests
-- Get a single pull request
+- Get a pull request
- Create a pull request
- Update a pull request branch
- Update a pull request
- List commits on a pull request
- List pull requests files
-- Get if a pull request has been merged
-- Merge a pull request (Merge Button)
+- Check if a pull request has been merged
+- Merge a pull request
- Labels, assignees, and milestones
- Custom media types
@@ -1017,7 +1017,7 @@
-
+ Get a pull request
Get a single pull request
@@ -2255,7 +2255,7 @@
expected_head_sha
string
-The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a 422 Unprocessable Entity
status. You can use the "List commits on a repository" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref.
+The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a 422 Unprocessable Entity
status. You can use the "List commits" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref.
@@ -2900,7 +2900,7 @@
- List commits on a pull request
Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the Commit List API.
+Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the List commits endpoint.
GET /repos/:owner/:repo/pulls/:pull_number/commits
@@ -3037,7 +3037,7 @@
-
+ Check if a pull request has been merged
Get if a pull request has been mergedGET /repos/:owner/:repo/pulls/:pull_number/merge
@@ -3058,7 +3058,7 @@
-
+ Merge a pull request
Merge a pull request (Merge Button)
This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
diff --git a/cache/api.github.com/v3/pulls/list-commits-on-a-pull-request.html b/cache/api.github.com/v3/pulls/list-commits-on-a-pull-request.html
index e883f1f31f..a6ec8b6aa0 100644
--- a/cache/api.github.com/v3/pulls/list-commits-on-a-pull-request.html
+++ b/cache/api.github.com/v3/pulls/list-commits-on-a-pull-request.html
@@ -1,7 +1,7 @@
- List commits on a pull requestLists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the Commit List API.
+Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the List commits endpoint.
GET /repos/:owner/:repo/pulls/:pull_number/commits
diff --git a/cache/api.github.com/v3/pulls/merge-a-pull-request.html b/cache/api.github.com/v3/pulls/merge-a-pull-request.html
new file mode 100644
index 0000000000..b7ae640673
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/merge-a-pull-request.html
@@ -0,0 +1,67 @@
+
+
+
+ Merge a pull request
This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
+PUT /repos/:owner/:repo/pulls/:pull_number/merge
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+commit_title
+string
+Title for the automatic commit message.
+
+
+commit_message
+string
+Extra detail to append to automatic commit message.
+
+
+sha
+string
+SHA that pull request head must match to allow merge.
+
+
+merge_method
+string
+Merge method to use. Possible values are merge
, squash
or rebase
. Default is merge
.
+
+
+
+
+
+ Response if merge was successfulStatus: 200 OK
+
+{
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "merged": true,
+ "message": "Pull Request successfully merged"
+}
+
+
+
+ Response if merge cannot be performedStatus: 405 Method not allowed
+
+{
+ "message": "Pull Request is not mergeable",
+ "documentation_url": "https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button"
+}
+
+
+
+ Response if sha was provided and pull request head did not matchStatus: 409 Conflict
+
+{
+ "message": "Head branch was modified. Review and try the merge again.",
+ "documentation_url": "https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/review_requests/index.html b/cache/api.github.com/v3/pulls/review_requests/index.html
index 6e8520540b..cc63df4523 100644
--- a/cache/api.github.com/v3/pulls/review_requests/index.html
+++ b/cache/api.github.com/v3/pulls/review_requests/index.html
@@ -367,15 +367,15 @@
Review Requests
-- List review requests
-- Create a review request
-- Delete a review request
+- List requested reviewers for a pull request
+- Request reviewers for a pull request
+- Remove requested reviewers from a pull request
Pull request authors and repository owners and collaborators can request a pull request review from anyone with write access to the repository. Each requested reviewer will receive a notification asking them to review the pull request.
-
+ List requested reviewers for a pull request
List review requestsGET /repos/:owner/:repo/pulls/:pull_number/requested_reviewers
@@ -434,7 +434,7 @@
-
+ Request reviewers for a pull request
Create a review request
This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
@@ -1034,7 +1034,7 @@
-
+ Remove requested reviewers from a pull request
Delete a review requestDELETE /repos/:owner/:repo/pulls/:pull_number/requested_reviewers
diff --git a/cache/api.github.com/v3/pulls/review_requests/list-requested-reviewers-for-a-pull-request.html b/cache/api.github.com/v3/pulls/review_requests/list-requested-reviewers-for-a-pull-request.html
new file mode 100644
index 0000000000..5f6c6e5707
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/review_requests/list-requested-reviewers-for-a-pull-request.html
@@ -0,0 +1,52 @@
+
+
+
+ List requested reviewers for a pull requestGET /repos/:owner/:repo/pulls/:pull_number/requested_reviewers
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+{
+ "users": [
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ ],
+ "teams": [
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+ ]
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/review_requests/remove-requested-reviewers-from-a-pull-request.html b/cache/api.github.com/v3/pulls/review_requests/remove-requested-reviewers-from-a-pull-request.html
new file mode 100644
index 0000000000..de92eef3ae
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/review_requests/remove-requested-reviewers-from-a-pull-request.html
@@ -0,0 +1,47 @@
+
+
+
+ Remove requested reviewers from a pull requestDELETE /repos/:owner/:repo/pulls/:pull_number/requested_reviewers
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+reviewers
+
+array
of string
s
+An array of user login
s that will be removed.
+
+
+team_reviewers
+
+array
of string
s
+An array of team slug
s that will be removed.
+
+
+
+
+
+ Example{
+ "reviewers": [
+ "octocat",
+ "hubot",
+ "other_user"
+ ],
+ "team_reviewers": [
+ "justice-league"
+ ]
+}
+
+
+
+ ResponseStatus: 200 OK
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/review_requests/request-reviewers-for-a-pull-request.html b/cache/api.github.com/v3/pulls/review_requests/request-reviewers-for-a-pull-request.html
new file mode 100644
index 0000000000..712f2fe5bb
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/review_requests/request-reviewers-for-a-pull-request.html
@@ -0,0 +1,584 @@
+
+
+
+ Request reviewers for a pull requestThis endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
+POST /repos/:owner/:repo/pulls/:pull_number/requested_reviewers
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+reviewers
+
+array
of string
s
+An array of user login
s that will be requested.
+
+
+team_reviewers
+
+array
of string
s
+An array of team slug
s that will be requested.
+
+
+
+
+
+ Example{
+ "reviewers": [
+ "octocat",
+ "hubot",
+ "other_user"
+ ],
+ "team_reviewers": [
+ "justice-league"
+ ]
+}
+
+
+
+ Response if user is not a collaboratorStatus: 422 Unprocessable Entity
+
+
+
+ ResponseStatus: 201 Created
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347",
+ "id": 1,
+ "node_id": "MDExOlB1bGxSZXF1ZXN0MQ==",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1347",
+ "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff",
+ "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch",
+ "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347",
+ "commits_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits",
+ "review_comments_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments",
+ "review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}",
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments",
+ "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "number": 1347,
+ "state": "open",
+ "locked": true,
+ "title": "Amazing new feature",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Please pull these awesome changes in!",
+ "labels": [
+ {
+ "id": 208045946,
+ "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=",
+ "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
+ "name": "bug",
+ "description": "Something isn't working",
+ "color": "f29513",
+ "default": true
+ }
+ ],
+ "milestone": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1",
+ "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0",
+ "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels",
+ "id": 1002604,
+ "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==",
+ "number": 1,
+ "state": "open",
+ "title": "v1.0",
+ "description": "Tracking milestone for version 1.0",
+ "creator": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "open_issues": 4,
+ "closed_issues": 8,
+ "created_at": "2011-04-10T20:09:31Z",
+ "updated_at": "2014-03-03T18:58:10Z",
+ "closed_at": "2013-02-12T13:22:01Z",
+ "due_on": "2012-10-09T23:39:01Z"
+ },
+ "active_lock_reason": "too heated",
+ "created_at": "2011-01-26T19:01:12Z",
+ "updated_at": "2011-01-26T19:01:12Z",
+ "closed_at": "2011-01-26T19:01:12Z",
+ "merged_at": "2011-01-26T19:01:12Z",
+ "merge_commit_sha": "e5bd3914e2e596debea16f433f57875b5b90bcd6",
+ "assignee": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "assignees": [
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ {
+ "login": "hubot",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/hubot_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/hubot",
+ "html_url": "https://github.com/hubot",
+ "followers_url": "https://api.github.com/users/hubot/followers",
+ "following_url": "https://api.github.com/users/hubot/following{/other_user}",
+ "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/hubot/subscriptions",
+ "organizations_url": "https://api.github.com/users/hubot/orgs",
+ "repos_url": "https://api.github.com/users/hubot/repos",
+ "events_url": "https://api.github.com/users/hubot/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/hubot/received_events",
+ "type": "User",
+ "site_admin": true
+ }
+ ],
+ "requested_reviewers": [
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ {
+ "login": "hubot",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/hubot_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/hubot",
+ "html_url": "https://github.com/hubot",
+ "followers_url": "https://api.github.com/users/hubot/followers",
+ "following_url": "https://api.github.com/users/hubot/following{/other_user}",
+ "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/hubot/subscriptions",
+ "organizations_url": "https://api.github.com/users/hubot/orgs",
+ "repos_url": "https://api.github.com/users/hubot/repos",
+ "events_url": "https://api.github.com/users/hubot/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/hubot/received_events",
+ "type": "User",
+ "site_admin": true
+ },
+ {
+ "login": "other_user",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/other_user_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/other_user",
+ "html_url": "https://github.com/other_user",
+ "followers_url": "https://api.github.com/users/other_user/followers",
+ "following_url": "https://api.github.com/users/other_user/following{/other_user}",
+ "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/other_user/subscriptions",
+ "organizations_url": "https://api.github.com/users/other_user/orgs",
+ "repos_url": "https://api.github.com/users/other_user/repos",
+ "events_url": "https://api.github.com/users/other_user/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/other_user/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ ],
+ "requested_teams": [
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+ ],
+ "head": {
+ "label": "octocat:new-topic",
+ "ref": "new-topic",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "repo": {
+ "id": 1296269,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
+ "name": "Hello-World",
+ "full_name": "octocat/Hello-World",
+ "owner": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/octocat/Hello-World",
+ "description": "This your first repo!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octocat/Hello-World",
+ "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
+ "clone_url": "https://github.com/octocat/Hello-World.git",
+ "mirror_url": "git:git.example.com/octocat/Hello-World",
+ "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks",
+ "svn_url": "https://svn.github.com/octocat/Hello-World",
+ "homepage": "https://github.com",
+ "language": null,
+ "forks_count": 9,
+ "stargazers_count": 80,
+ "watchers_count": 80,
+ "size": 108,
+ "default_branch": "master",
+ "open_issues_count": 0,
+ "is_template": true,
+ "topics": [
+ "octocat",
+ "atom",
+ "electron",
+ "api"
+ ],
+ "has_issues": true,
+ "has_projects": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "has_downloads": true,
+ "archived": false,
+ "disabled": false,
+ "visibility": "public",
+ "pushed_at": "2011-01-26T19:06:43Z",
+ "created_at": "2011-01-26T19:01:12Z",
+ "updated_at": "2011-01-26T19:14:43Z",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "allow_rebase_merge": true,
+ "template_repository": null,
+ "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
+ "allow_squash_merge": true,
+ "allow_merge_commit": true,
+ "subscribers_count": 42,
+ "network_count": 0
+ }
+ },
+ "base": {
+ "label": "octocat:master",
+ "ref": "master",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "repo": {
+ "id": 1296269,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
+ "name": "Hello-World",
+ "full_name": "octocat/Hello-World",
+ "owner": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/octocat/Hello-World",
+ "description": "This your first repo!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octocat/Hello-World",
+ "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
+ "clone_url": "https://github.com/octocat/Hello-World.git",
+ "mirror_url": "git:git.example.com/octocat/Hello-World",
+ "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks",
+ "svn_url": "https://svn.github.com/octocat/Hello-World",
+ "homepage": "https://github.com",
+ "language": null,
+ "forks_count": 9,
+ "stargazers_count": 80,
+ "watchers_count": 80,
+ "size": 108,
+ "default_branch": "master",
+ "open_issues_count": 0,
+ "is_template": true,
+ "topics": [
+ "octocat",
+ "atom",
+ "electron",
+ "api"
+ ],
+ "has_issues": true,
+ "has_projects": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "has_downloads": true,
+ "archived": false,
+ "disabled": false,
+ "visibility": "public",
+ "pushed_at": "2011-01-26T19:06:43Z",
+ "created_at": "2011-01-26T19:01:12Z",
+ "updated_at": "2011-01-26T19:14:43Z",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "allow_rebase_merge": true,
+ "template_repository": null,
+ "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
+ "allow_squash_merge": true,
+ "allow_merge_commit": true,
+ "subscribers_count": 42,
+ "network_count": 0
+ }
+ },
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1347"
+ },
+ "issue": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347"
+ },
+ "comments": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments"
+ },
+ "review_comments": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments"
+ },
+ "review_comment": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}"
+ },
+ "commits": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits"
+ },
+ "statuses": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ }
+ },
+ "author_association": "OWNER",
+ "draft": false
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/review_requests/sections.json b/cache/api.github.com/v3/pulls/review_requests/sections.json
index fe86a46149..044095183c 100644
--- a/cache/api.github.com/v3/pulls/review_requests/sections.json
+++ b/cache/api.github.com/v3/pulls/review_requests/sections.json
@@ -1,17 +1,17 @@
[
{
- "id": "list-review-requests",
- "name": "List review requests",
- "url": "https://developer.github.com/v3/pulls/review_requests/#list-review-requests"
+ "id": "list-requested-reviewers-for-a-pull-request",
+ "name": "List requested reviewers for a pull request",
+ "url": "https://developer.github.com/v3/pulls/review_requests/#list-requested-reviewers-for-a-pull-request"
},
{
- "id": "create-a-review-request",
- "name": "Create a review request",
- "url": "https://developer.github.com/v3/pulls/review_requests/#create-a-review-request"
+ "id": "request-reviewers-for-a-pull-request",
+ "name": "Request reviewers for a pull request",
+ "url": "https://developer.github.com/v3/pulls/review_requests/#request-reviewers-for-a-pull-request"
},
{
- "id": "delete-a-review-request",
- "name": "Delete a review request",
- "url": "https://developer.github.com/v3/pulls/review_requests/#delete-a-review-request"
+ "id": "remove-requested-reviewers-from-a-pull-request",
+ "name": "Remove requested reviewers from a pull request",
+ "url": "https://developer.github.com/v3/pulls/review_requests/#remove-requested-reviewers-from-a-pull-request"
}
]
diff --git a/cache/api.github.com/v3/pulls/reviews/create-a-review-for-a-pull-request.html b/cache/api.github.com/v3/pulls/reviews/create-a-review-for-a-pull-request.html
new file mode 100644
index 0000000000..bfd042fa0c
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/reviews/create-a-review-for-a-pull-request.html
@@ -0,0 +1,139 @@
+
+
+
+ Create a review for a pull requestThis endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
+Pull request reviews created in the PENDING
state do not include the submitted_at
property in the response.
+POST /repos/:owner/:repo/pulls/:pull_number/reviews
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+commit_id
+string
+The SHA of the commit that needs a review. Not using the latest commit SHA may render your review comment outdated if a subsequent commit modifies the line you specify as the position
. Defaults to the most recent commit in the pull request when you do not specify a value.
+
+
+body
+string
+
+Required when using REQUEST_CHANGES
or COMMENT
for the event
parameter. The body text of the pull request review.
+
+
+event
+string
+The review action you want to perform. The review actions include: APPROVE
, REQUEST_CHANGES
, or COMMENT
. By leaving this blank, you set the review action state to PENDING
, which means you will need to submit the pull request review when you are ready.
+
+
+comments
+
+array
of draft review comment objects
+
+Use the following table to specify the location, destination, and contents of the draft review comment.
+
+
+
+When specifying draft review comments
, you need to include the following values:
+
+
+
+Name
+Type
+Description
+
+
+
+
+path
+string
+
+Required. The relative path to the file that necessitates a review comment.
+
+
+position
+integer
+
+Required. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note below.
+
+
+body
+string
+
+Required. Text of the review comment.
+
+
+
+
+
+Note:
+To comment on a specific line in a file, you need to first determine the position of that line in the diff. The GitHub REST API v3 offers the application/vnd.github.v3.diff
media type. To see a pull request diff, add this media type to the Accept
header of a call to the single pull request endpoint.
+
+The position
value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
+
+
+
+
+ Example{
+ "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091",
+ "body": "This is close to perfect! Please address the suggested inline change.",
+ "event": "REQUEST_CHANGES",
+ "comments": [
+ {
+ "path": "file.md",
+ "position": 6,
+ "body": "Please add more information here, and fix this typo."
+ }
+ ]
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "id": 80,
+ "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "This is close to perfect! Please address the suggested inline change.",
+ "state": "CHANGES_REQUESTED",
+ "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12",
+ "_links": {
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12"
+ }
+ },
+ "submitted_at": "2019-11-17T17:43:43Z",
+ "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/reviews/delete-a-pending-review-for-a-pull-request.html b/cache/api.github.com/v3/pulls/reviews/delete-a-pending-review-for-a-pull-request.html
new file mode 100644
index 0000000000..2d62821e27
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/reviews/delete-a-pending-review-for-a-pull-request.html
@@ -0,0 +1,47 @@
+
+
+
+ Delete a pending review for a pull requestDELETE /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "id": 80,
+ "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Here is the body for the review.",
+ "state": "PENDING",
+ "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12",
+ "_links": {
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12"
+ }
+ },
+ "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/reviews/dismiss-a-review-for-a-pull-request.html b/cache/api.github.com/v3/pulls/reviews/dismiss-a-review-for-a-pull-request.html
new file mode 100644
index 0000000000..29fcb78a36
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/reviews/dismiss-a-review-for-a-pull-request.html
@@ -0,0 +1,72 @@
+
+
+
+ Dismiss a review for a pull requestPUT /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals
+
+
+
+Note: To dismiss a pull request review on a protected branch, you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.
+
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+message
+string
+
+Required. The message for the pull request review dismissal
+
+
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "id": 80,
+ "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Here is the body for the review.",
+ "state": "DISMISSED",
+ "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12",
+ "_links": {
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12"
+ }
+ },
+ "submitted_at": "2019-11-17T17:43:43Z",
+ "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/reviews/get-a-review-for-a-pull-request.html b/cache/api.github.com/v3/pulls/reviews/get-a-review-for-a-pull-request.html
new file mode 100644
index 0000000000..dccc4a8b92
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/reviews/get-a-review-for-a-pull-request.html
@@ -0,0 +1,48 @@
+
+
+
+ Get a review for a pull requestGET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "id": 80,
+ "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Here is the body for the review.",
+ "state": "APPROVED",
+ "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12",
+ "_links": {
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12"
+ }
+ },
+ "submitted_at": "2019-11-17T17:43:43Z",
+ "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/reviews/index.html b/cache/api.github.com/v3/pulls/reviews/index.html
index 236c9971a4..cb00b12274 100644
--- a/cache/api.github.com/v3/pulls/reviews/index.html
+++ b/cache/api.github.com/v3/pulls/reviews/index.html
@@ -367,21 +367,21 @@
Reviews
-- List reviews on a pull request
-- Get a single review
-- Delete a pending review
-- Get comments for a single review
-- Create a pull request review
-- Update a pull request review
-- Submit a pull request review
-- Dismiss a pull request review
+- List reviews for a pull request
+- Get a review for a pull request
+- Delete a pending review for a pull request
+- List comments for a pull request review
+- Create a review for a pull request
+- Update a review for a pull request
+- Submit a review for a pull request
+- Dismiss a review for a pull request
Pull Request Reviews are groups of Pull Request Review Comments on the Pull
Request, grouped together with a state and optional body comment.
-
+ List reviews for a pull request
List reviews on a pull requestGET /repos/:owner/:repo/pulls/:pull_number/reviews
@@ -442,7 +442,7 @@
-
+ Get a review for a pull request
Get a single reviewGET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id
@@ -497,7 +497,7 @@
-
+ Delete a pending review for a pull request
Delete a pending reviewDELETE /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id
@@ -551,9 +551,11 @@
-
+ List comments for a pull request review
+ Get comments for a single review
List comments for a specific pull request review.
+
GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments
@@ -569,9 +571,9 @@
[
{
"url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
"id": 10,
"node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
- "pull_request_review_id": 42,
"diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
"path": "file1.txt",
"position": 1,
@@ -622,7 +624,7 @@
-
+ Create a review for a pull request
Create a pull request review
This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
@@ -658,7 +660,7 @@
event
string
-The review action you want to perform. The review actions include: APPROVE
, REQUEST_CHANGES
, or COMMENT
. By leaving this blank, you set the review action state to PENDING
, which means you will need to submit the pull request review when you are ready.
+The review action you want to perform. The review actions include: APPROVE
, REQUEST_CHANGES
, or COMMENT
. By leaving this blank, you set the review action state to PENDING
, which means you will need to submit the pull request review when you are ready.
comments
@@ -705,7 +707,7 @@
Note:
-To comment on a specific line in a file, you need to first determine the position of that line in the diff. The GitHub REST API v3 offers the application/vnd.github.v3.diff
media type. To see a pull request diff, add this media type to the Accept
header of a call to the single pull request endpoint.
+To comment on a specific line in a file, you need to first determine the position of that line in the diff. The GitHub REST API v3 offers the application/vnd.github.v3.diff
media type. To see a pull request diff, add this media type to the Accept
header of a call to the single pull request endpoint.
The position
value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
@@ -778,7 +780,7 @@
-
+ Update a review for a pull request
Update a pull request review
Update the review summary comment with new text.
@@ -865,7 +867,7 @@
-
+ Submit a review for a pull request
Submit a pull request reviewPOST /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events
@@ -946,7 +948,7 @@
-
+ Dismiss a review for a pull request
Dismiss a pull request reviewPUT /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals
diff --git a/cache/api.github.com/v3/pulls/reviews/list-comments-for-a-pull-request-review.html b/cache/api.github.com/v3/pulls/reviews/list-comments-for-a-pull-request-review.html
new file mode 100644
index 0000000000..ddfa8b8d32
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/reviews/list-comments-for-a-pull-request-review.html
@@ -0,0 +1,65 @@
+
+
+
+ List comments for a pull request reviewList comments for a specific pull request review.
+GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
+ "id": 10,
+ "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
+ "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
+ "path": "file1.txt",
+ "position": 1,
+ "original_position": 4,
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840",
+ "in_reply_to_id": 8,
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Great stuff!",
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1",
+ "author_association": "NONE",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
+ }
+ }
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/reviews/list-review-comments-for-a-pull-request.html b/cache/api.github.com/v3/pulls/reviews/list-review-comments-for-a-pull-request.html
new file mode 100644
index 0000000000..699ae207ec
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/reviews/list-review-comments-for-a-pull-request.html
@@ -0,0 +1,64 @@
+
+
+
+ List review comments for a pull requestGET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "id": 10,
+ "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
+ "pull_request_review_id": 42,
+ "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
+ "path": "file1.txt",
+ "position": 1,
+ "original_position": 4,
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840",
+ "in_reply_to_id": 8,
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Great stuff!",
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1",
+ "author_association": "NONE",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
+ }
+ }
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/reviews/list-reviews-for-a-pull-request.html b/cache/api.github.com/v3/pulls/reviews/list-reviews-for-a-pull-request.html
new file mode 100644
index 0000000000..db51b013a4
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/reviews/list-reviews-for-a-pull-request.html
@@ -0,0 +1,53 @@
+
+
+
+ List reviews for a pull requestGET /repos/:owner/:repo/pulls/:pull_number/reviews
+
+
+
+ ResponseThe list of reviews returns in chronological order.
+Status: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "id": 80,
+ "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Here is the body for the review.",
+ "state": "APPROVED",
+ "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12",
+ "_links": {
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12"
+ }
+ },
+ "submitted_at": "2019-11-17T17:43:43Z",
+ "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091"
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/reviews/sections.json b/cache/api.github.com/v3/pulls/reviews/sections.json
index eb3f9a8194..331b05b087 100644
--- a/cache/api.github.com/v3/pulls/reviews/sections.json
+++ b/cache/api.github.com/v3/pulls/reviews/sections.json
@@ -1,42 +1,42 @@
[
{
- "id": "list-reviews-on-a-pull-request",
- "name": "List reviews on a pull request",
- "url": "https://developer.github.com/v3/pulls/reviews/#list-reviews-on-a-pull-request"
+ "id": "list-reviews-for-a-pull-request",
+ "name": "List reviews for a pull request",
+ "url": "https://developer.github.com/v3/pulls/reviews/#list-reviews-for-a-pull-request"
},
{
- "id": "get-a-single-review",
- "name": "Get a single review",
- "url": "https://developer.github.com/v3/pulls/reviews/#get-a-single-review"
+ "id": "get-a-review-for-a-pull-request",
+ "name": "Get a review for a pull request",
+ "url": "https://developer.github.com/v3/pulls/reviews/#get-a-review-for-a-pull-request"
},
{
- "id": "delete-a-pending-review",
- "name": "Delete a pending review",
- "url": "https://developer.github.com/v3/pulls/reviews/#delete-a-pending-review"
+ "id": "delete-a-pending-review-for-a-pull-request",
+ "name": "Delete a pending review for a pull request",
+ "url": "https://developer.github.com/v3/pulls/reviews/#delete-a-pending-review-for-a-pull-request"
},
{
- "id": "get-comments-for-a-single-review",
- "name": "Get comments for a single review",
- "url": "https://developer.github.com/v3/pulls/reviews/#get-comments-for-a-single-review"
+ "id": "list-comments-for-a-pull-request-review",
+ "name": "List comments for a pull request review",
+ "url": "https://developer.github.com/v3/pulls/reviews/#list-comments-for-a-pull-request-review"
},
{
- "id": "create-a-pull-request-review",
- "name": "Create a pull request review",
- "url": "https://developer.github.com/v3/pulls/reviews/#create-a-pull-request-review"
+ "id": "create-a-review-for-a-pull-request",
+ "name": "Create a review for a pull request",
+ "url": "https://developer.github.com/v3/pulls/reviews/#create-a-review-for-a-pull-request"
},
{
- "id": "update-a-pull-request-review",
- "name": "Update a pull request review",
- "url": "https://developer.github.com/v3/pulls/reviews/#update-a-pull-request-review"
+ "id": "update-a-review-for-a-pull-request",
+ "name": "Update a review for a pull request",
+ "url": "https://developer.github.com/v3/pulls/reviews/#update-a-review-for-a-pull-request"
},
{
- "id": "submit-a-pull-request-review",
- "name": "Submit a pull request review",
- "url": "https://developer.github.com/v3/pulls/reviews/#submit-a-pull-request-review"
+ "id": "submit-a-review-for-a-pull-request",
+ "name": "Submit a review for a pull request",
+ "url": "https://developer.github.com/v3/pulls/reviews/#submit-a-review-for-a-pull-request"
},
{
- "id": "dismiss-a-pull-request-review",
- "name": "Dismiss a pull request review",
- "url": "https://developer.github.com/v3/pulls/reviews/#dismiss-a-pull-request-review"
+ "id": "dismiss-a-review-for-a-pull-request",
+ "name": "Dismiss a review for a pull request",
+ "url": "https://developer.github.com/v3/pulls/reviews/#dismiss-a-review-for-a-pull-request"
}
]
diff --git a/cache/api.github.com/v3/pulls/reviews/submit-a-review-for-a-pull-request.html b/cache/api.github.com/v3/pulls/reviews/submit-a-review-for-a-pull-request.html
new file mode 100644
index 0000000000..ae0aef1078
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/reviews/submit-a-review-for-a-pull-request.html
@@ -0,0 +1,72 @@
+
+
+
+ Submit a review for a pull requestPOST /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+body
+string
+The body text of the pull request review
+
+
+event
+string
+
+Required. The review action you want to perform. The review actions include: APPROVE
, REQUEST_CHANGES
, or COMMENT
. When you leave this blank, the API returns HTTP 422 (Unrecognizable entity) and sets the review action state to PENDING
, which means you will need to re-submit the pull request review using a review action.
+
+
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "id": 80,
+ "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Here is the body for the review.",
+ "state": "APPROVED",
+ "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12",
+ "_links": {
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12"
+ }
+ },
+ "submitted_at": "2019-11-17T17:43:43Z",
+ "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/reviews/update-a-review-for-a-pull-request.html b/cache/api.github.com/v3/pulls/reviews/update-a-review-for-a-pull-request.html
new file mode 100644
index 0000000000..ee6e43ed6f
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/reviews/update-a-review-for-a-pull-request.html
@@ -0,0 +1,74 @@
+
+
+
+ Update a review for a pull requestUpdate the review summary comment with new text.
+PUT /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+body
+string
+
+Required. The body text of the pull request review.
+
+
+
+
+
+ Example{
+ "body": "This is close to perfect! Please address the suggested inline change. And add more about this."
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "id": 80,
+ "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "This is close to perfect! Please address the suggested inline change. And add more about this.",
+ "state": "CHANGES_REQUESTED",
+ "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12",
+ "_links": {
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12"
+ }
+ },
+ "submitted_at": "2019-11-17T17:43:43Z",
+ "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/sections.json b/cache/api.github.com/v3/pulls/sections.json
index e9a834ed24..865bac1a67 100644
--- a/cache/api.github.com/v3/pulls/sections.json
+++ b/cache/api.github.com/v3/pulls/sections.json
@@ -10,9 +10,9 @@
"url": "https://developer.github.com/v3/pulls/#list-pull-requests"
},
{
- "id": "get-a-single-pull-request",
- "name": "Get a single pull request",
- "url": "https://developer.github.com/v3/pulls/#get-a-single-pull-request"
+ "id": "get-a-pull-request",
+ "name": "Get a pull request",
+ "url": "https://developer.github.com/v3/pulls/#get-a-pull-request"
},
{
"id": "create-a-pull-request",
@@ -40,14 +40,14 @@
"url": "https://developer.github.com/v3/pulls/#list-pull-requests-files"
},
{
- "id": "get-if-a-pull-request-has-been-merged",
- "name": "Get if a pull request has been merged",
- "url": "https://developer.github.com/v3/pulls/#get-if-a-pull-request-has-been-merged"
+ "id": "check-if-a-pull-request-has-been-merged",
+ "name": "Check if a pull request has been merged",
+ "url": "https://developer.github.com/v3/pulls/#check-if-a-pull-request-has-been-merged"
},
{
- "id": "merge-a-pull-request-merge-button",
- "name": "Merge a pull request (Merge Button)",
- "url": "https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button"
+ "id": "merge-a-pull-request",
+ "name": "Merge a pull request",
+ "url": "https://developer.github.com/v3/pulls/#merge-a-pull-request"
},
{
"id": "labels-assignees-and-milestones",
diff --git a/cache/api.github.com/v3/pulls/update-a-pull-request-branch.html b/cache/api.github.com/v3/pulls/update-a-pull-request-branch.html
index af077185bb..f4ca0c1973 100644
--- a/cache/api.github.com/v3/pulls/update-a-pull-request-branch.html
+++ b/cache/api.github.com/v3/pulls/update-a-pull-request-branch.html
@@ -30,7 +30,7 @@
expected_head_sha
string
-The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a 422 Unprocessable Entity
status. You can use the "List commits on a repository" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref.
+The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a 422 Unprocessable Entity
status. You can use the "List commits" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref.
diff --git a/cache/api.github.com/v3/repos/branches/add-admin-enforcement-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/add-admin-enforcement-of-protected-branch.html
deleted file mode 100644
index 7a9761ce72..0000000000
--- a/cache/api.github.com/v3/repos/branches/add-admin-enforcement-of-protected-branch.html
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
- Add admin enforcement of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-
Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
-POST /repos/:owner/:repo/branches/:branch/protection/enforce_admins
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins",
- "enabled": true
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/add-app-access-restrictions.html b/cache/api.github.com/v3/repos/branches/add-app-access-restrictions.html
new file mode 100644
index 0000000000..19b6b73acd
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/add-app-access-restrictions.html
@@ -0,0 +1,74 @@
+
+
+
+ Add app access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Grants the specified apps push access for this branch. Only installed GitHub Apps with write
access to the contents
permission can be added as authorized actors on a protected branch.
+POST /repos/:owner/:repo/branches/:branch/protection/restrictions/apps
+
+
+
+ Parameters
+
+
+Type
+Description
+
+
+
+
+array
+The GitHub Apps that have push access to this branch. Use the app's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
+
+
+
+
+
+ Example[
+ "octoapp"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "id": 1,
+ "slug": "octoapp",
+ "node_id": "MDExOkludGVncmF0aW9uMQ==",
+ "owner": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "name": "Octocat App",
+ "description": "",
+ "external_url": "https://example.com",
+ "html_url": "https://github.com/apps/octoapp",
+ "created_at": "2017-07-08T16:18:44-04:00",
+ "updated_at": "2017-07-08T16:18:44-04:00",
+ "permissions": {
+ "metadata": "read",
+ "contents": "read",
+ "issues": "write",
+ "single_file": "write"
+ },
+ "events": [
+ "push",
+ "pull_request"
+ ]
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/add-app-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/add-app-restrictions-of-protected-branch.html
deleted file mode 100644
index e4f80eac1c..0000000000
--- a/cache/api.github.com/v3/repos/branches/add-app-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
- Add app restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Grants the specified apps push access for this branch. Only installed GitHub Apps with write
access to the contents
permission can be added as authorized actors on a protected branch.
-POST /repos/:owner/:repo/branches/:branch/protection/restrictions/apps
-
-
-
- Parameters
-
-
-Type
-Description
-
-
-
-
-array
-The GitHub Apps that have push access to this branch. Use the app's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
-
-
-
-
-
- Example[
- "octoapp"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "id": 1,
- "slug": "octoapp",
- "node_id": "MDExOkludGVncmF0aW9uMQ==",
- "owner": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "name": "Octocat App",
- "description": "",
- "external_url": "https://example.com",
- "html_url": "https://github.com/apps/octoapp",
- "created_at": "2017-07-08T16:18:44-04:00",
- "updated_at": "2017-07-08T16:18:44-04:00",
- "permissions": {
- "metadata": "read",
- "contents": "read",
- "issues": "write",
- "single_file": "write"
- },
- "events": [
- "push",
- "pull_request"
- ]
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/add-required-signatures-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/add-required-signatures-of-protected-branch.html
deleted file mode 100644
index 98f7f38ae1..0000000000
--- a/cache/api.github.com/v3/repos/branches/add-required-signatures-of-protected-branch.html
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
- Add required signatures of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-
-
-Note: Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.zzzax-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.
-POST /repos/:owner/:repo/branches/:branch/protection/required_signatures
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures",
- "enabled": true
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/add-required-status-checks-contexts-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/add-required-status-checks-contexts-of-protected-branch.html
deleted file mode 100644
index 7f095bc9df..0000000000
--- a/cache/api.github.com/v3/repos/branches/add-required-status-checks-contexts-of-protected-branch.html
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
- Add required status checks contexts of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-POST /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts
-
-
-
- Example[
- "continuous-integration/jenkins"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- "continuous-integration/travis-ci",
- "continuous-integration/jenkins"
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/add-status-check-contexts.html b/cache/api.github.com/v3/repos/branches/add-status-check-contexts.html
new file mode 100644
index 0000000000..7224eaf5a5
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/add-status-check-contexts.html
@@ -0,0 +1,24 @@
+
+
+
+ Add status check contexts
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+POST /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts
+
+
+
+ Example[
+ "continuous-integration/jenkins"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ "continuous-integration/travis-ci",
+ "continuous-integration/jenkins"
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/add-team-access-restrictions.html b/cache/api.github.com/v3/repos/branches/add-team-access-restrictions.html
new file mode 100644
index 0000000000..099c1dc9bd
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/add-team-access-restrictions.html
@@ -0,0 +1,53 @@
+
+
+
+ Add team access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Grants the specified teams push access for this branch. You can also give push access to child teams.
+POST /repos/:owner/:repo/branches/:branch/protection/restrictions/teams
+
+
+
+ Parameters
+
+
+Type
+Description
+
+
+
+
+array
+The teams that can have push access. Use the team's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
+
+
+
+
+
+ Example[
+ "justice-league"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/add-team-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/add-team-restrictions-of-protected-branch.html
deleted file mode 100644
index cb4d9fccd7..0000000000
--- a/cache/api.github.com/v3/repos/branches/add-team-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
- Add team restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Grants the specified teams push access for this branch. You can also give push access to child teams.
-POST /repos/:owner/:repo/branches/:branch/protection/restrictions/teams
-
-
-
- Parameters
-
-
-Type
-Description
-
-
-
-
-array
-The teams that can have push access. Use the team's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
-
-
-
-
-
- Example[
- "justice-league"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "id": 1,
- "node_id": "MDQ6VGVhbTE=",
- "url": "https://api.github.com/teams/1",
- "html_url": "https://api.github.com/teams/justice-league",
- "name": "Justice League",
- "slug": "justice-league",
- "description": "A great team.",
- "privacy": "closed",
- "permission": "admin",
- "members_url": "https://api.github.com/teams/1/members{/member}",
- "repositories_url": "https://api.github.com/teams/1/repos",
- "parent": null
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/add-user-access-restrictions.html b/cache/api.github.com/v3/repos/branches/add-user-access-restrictions.html
new file mode 100644
index 0000000000..a42a67cf94
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/add-user-access-restrictions.html
@@ -0,0 +1,59 @@
+
+
+
+ Add user access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Grants the specified people push access for this branch.
+POST /repos/:owner/:repo/branches/:branch/protection/restrictions/users
+
+
+
+ Parameters
+
+
+Type
+Description
+
+
+
+
+array
+Usernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
+
+
+
+
+
+ Example[
+ "octocat"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/add-user-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/add-user-restrictions-of-protected-branch.html
deleted file mode 100644
index 2225bccbee..0000000000
--- a/cache/api.github.com/v3/repos/branches/add-user-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
- Add user restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Grants the specified people push access for this branch.
-POST /repos/:owner/:repo/branches/:branch/protection/restrictions/users
-
-
-
- Parameters
-
-
-Type
-Description
-
-
-
-
-array
-Usernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
-
-
-
-
-
- Example[
- "octocat"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/create-commit-signature-protection.html b/cache/api.github.com/v3/repos/branches/create-commit-signature-protection.html
new file mode 100644
index 0000000000..7c7972270c
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/create-commit-signature-protection.html
@@ -0,0 +1,32 @@
+
+
+
+ Create commit signature protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+
+
+Note: Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.zzzax-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.
+POST /repos/:owner/:repo/branches/:branch/protection/required_signatures
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures",
+ "enabled": true
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/delete-access-restrictions.html b/cache/api.github.com/v3/repos/branches/delete-access-restrictions.html
new file mode 100644
index 0000000000..e4b1678b0d
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/delete-access-restrictions.html
@@ -0,0 +1,12 @@
+
+
+
+ Delete access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Disables the ability to restrict who can push to this branch.
+DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions
+
+Status: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/delete-admin-branch-protection.html b/cache/api.github.com/v3/repos/branches/delete-admin-branch-protection.html
new file mode 100644
index 0000000000..9512324a62
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/delete-admin-branch-protection.html
@@ -0,0 +1,12 @@
+
+
+
+ Delete admin branch protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
+DELETE /repos/:owner/:repo/branches/:branch/protection/enforce_admins
+
+Status: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/delete-branch-protection.html b/cache/api.github.com/v3/repos/branches/delete-branch-protection.html
new file mode 100644
index 0000000000..ad9831e53c
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/delete-branch-protection.html
@@ -0,0 +1,13 @@
+
+
+
+ Delete branch protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+DELETE /repos/:owner/:repo/branches/:branch/protection
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/delete-commit-signature-protection.html b/cache/api.github.com/v3/repos/branches/delete-commit-signature-protection.html
new file mode 100644
index 0000000000..a6b0f52c44
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/delete-commit-signature-protection.html
@@ -0,0 +1,25 @@
+
+
+
+ Delete commit signature protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+
+
+Note: Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.zzzax-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.
+DELETE /repos/:owner/:repo/branches/:branch/protection/required_signatures
+
+Status: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/delete-pull-request-review-protection.html b/cache/api.github.com/v3/repos/branches/delete-pull-request-review-protection.html
new file mode 100644
index 0000000000..d0094efe4d
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/delete-pull-request-review-protection.html
@@ -0,0 +1,11 @@
+
+
+
+ Delete pull request review protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+DELETE /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews
+
+Status: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-a-branch.html b/cache/api.github.com/v3/repos/branches/get-a-branch.html
new file mode 100644
index 0000000000..90a6532590
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/get-a-branch.html
@@ -0,0 +1,82 @@
+
+
+
+ Get a branchGET /repos/:owner/:repo/branches/:branch
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "name": "master",
+ "commit": {
+ "sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
+ "node_id": "MDY6Q29tbWl0N2ZkMWE2MGIwMWY5MWIzMTRmNTk5NTVhNGU0ZDRlODBkOGVkZjExZA==",
+ "commit": {
+ "author": {
+ "name": "The Octocat",
+ "date": "2012-03-06T15:06:50-08:00",
+ "email": "octocat@nowhere.com"
+ },
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
+ "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.",
+ "tree": {
+ "sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
+ },
+ "committer": {
+ "name": "The Octocat",
+ "date": "2012-03-06T15:06:50-08:00",
+ "email": "octocat@nowhere.com"
+ },
+ "verification": {
+ "verified": false,
+ "reason": "unsigned",
+ "signature": null,
+ "payload": null
+ }
+ },
+ "author": {
+ "gravatar_id": "",
+ "avatar_url": "https://secure.gravatar.com/avatar/7ad39074b0584bc555d0417ae3e7d974?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
+ "url": "https://api.github.com/users/octocat",
+ "id": 583231,
+ "login": "octocat"
+ },
+ "parents": [
+ {
+ "sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
+ },
+ {
+ "sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303"
+ }
+ ],
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
+ "committer": {
+ "gravatar_id": "",
+ "avatar_url": "https://secure.gravatar.com/avatar/7ad39074b0584bc555d0417ae3e7d974?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
+ "url": "https://api.github.com/users/octocat",
+ "id": 583231,
+ "login": "octocat"
+ }
+ },
+ "_links": {
+ "html": "https://github.com/octocat/Hello-World/tree/master",
+ "self": "https://api.github.com/repos/octocat/Hello-World/branches/master"
+ },
+ "protected": true,
+ "protection": {
+ "enabled": true,
+ "required_status_checks": {
+ "enforcement_level": "non_admins",
+ "contexts": [
+ "ci-test",
+ "linter"
+ ]
+ }
+ },
+ "protection_url": "https://api.github.com/repos/octocat/hello-world/branches/master/protection"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-access-restrictions.html b/cache/api.github.com/v3/repos/branches/get-access-restrictions.html
new file mode 100644
index 0000000000..9183cfafb6
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/get-access-restrictions.html
@@ -0,0 +1,99 @@
+
+
+
+ Get access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Lists who has access to this protected branch.
+
+
+Note: Users, apps, and teams restrictions
are only available for organization-owned repositories.
+
+
+GET /repos/:owner/:repo/branches/:branch/protection/restrictions
+
+Status: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions",
+ "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users",
+ "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams",
+ "apps_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams",
+ "users": [
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ ],
+ "teams": [
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+ ],
+ "apps": [
+ {
+ "id": 1,
+ "slug": "octoapp",
+ "node_id": "MDExOkludGVncmF0aW9uMQ==",
+ "owner": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "name": "Octocat App",
+ "description": "",
+ "external_url": "https://example.com",
+ "html_url": "https://github.com/apps/octoapp",
+ "created_at": "2017-07-08T16:18:44-04:00",
+ "updated_at": "2017-07-08T16:18:44-04:00",
+ "permissions": {
+ "metadata": "read",
+ "contents": "read",
+ "issues": "write",
+ "single_file": "write"
+ },
+ "events": [
+ "push",
+ "pull_request"
+ ]
+ }
+ ]
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-admin-branch-protection.html b/cache/api.github.com/v3/repos/branches/get-admin-branch-protection.html
new file mode 100644
index 0000000000..2ed5f178d1
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/get-admin-branch-protection.html
@@ -0,0 +1,16 @@
+
+
+
+ Get admin branch protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+GET /repos/:owner/:repo/branches/:branch/protection/enforce_admins
+
+Status: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins",
+ "enabled": true
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-admin-enforcement-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/get-admin-enforcement-of-protected-branch.html
deleted file mode 100644
index 6024283edf..0000000000
--- a/cache/api.github.com/v3/repos/branches/get-admin-enforcement-of-protected-branch.html
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
- Get admin enforcement of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-GET /repos/:owner/:repo/branches/:branch/protection/enforce_admins
-
-Status: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins",
- "enabled": true
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-all-status-check-contexts.html b/cache/api.github.com/v3/repos/branches/get-all-status-check-contexts.html
new file mode 100644
index 0000000000..96d418cdaf
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/get-all-status-check-contexts.html
@@ -0,0 +1,15 @@
+
+
+
+ Get all status check contexts
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts
+
+Status: 200 OK
+
+[
+ "continuous-integration/travis-ci"
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-branch.html b/cache/api.github.com/v3/repos/branches/get-branch.html
deleted file mode 100644
index e9cf1919a9..0000000000
--- a/cache/api.github.com/v3/repos/branches/get-branch.html
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-
- Get branchGET /repos/:owner/:repo/branches/:branch
-
-
-
- ResponseStatus: 200 OK
-
-{
- "name": "master",
- "commit": {
- "sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
- "node_id": "MDY6Q29tbWl0N2ZkMWE2MGIwMWY5MWIzMTRmNTk5NTVhNGU0ZDRlODBkOGVkZjExZA==",
- "commit": {
- "author": {
- "name": "The Octocat",
- "date": "2012-03-06T15:06:50-08:00",
- "email": "octocat@nowhere.com"
- },
- "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
- "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.",
- "tree": {
- "sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
- "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
- },
- "committer": {
- "name": "The Octocat",
- "date": "2012-03-06T15:06:50-08:00",
- "email": "octocat@nowhere.com"
- },
- "verification": {
- "verified": false,
- "reason": "unsigned",
- "signature": null,
- "payload": null
- }
- },
- "author": {
- "gravatar_id": "",
- "avatar_url": "https://secure.gravatar.com/avatar/7ad39074b0584bc555d0417ae3e7d974?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
- "url": "https://api.github.com/users/octocat",
- "id": 583231,
- "login": "octocat"
- },
- "parents": [
- {
- "sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
- },
- {
- "sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303"
- }
- ],
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
- "committer": {
- "gravatar_id": "",
- "avatar_url": "https://secure.gravatar.com/avatar/7ad39074b0584bc555d0417ae3e7d974?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
- "url": "https://api.github.com/users/octocat",
- "id": 583231,
- "login": "octocat"
- }
- },
- "_links": {
- "html": "https://github.com/octocat/Hello-World/tree/master",
- "self": "https://api.github.com/repos/octocat/Hello-World/branches/master"
- },
- "protected": true,
- "protection": {
- "enabled": true,
- "required_status_checks": {
- "enforcement_level": "non_admins",
- "contexts": [
- "ci-test",
- "linter"
- ]
- }
- },
- "protection_url": "https://api.github.com/repos/octocat/hello-world/branches/master/protection"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-commit-signature-protection.html b/cache/api.github.com/v3/repos/branches/get-commit-signature-protection.html
new file mode 100644
index 0000000000..ecaea96f08
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/get-commit-signature-protection.html
@@ -0,0 +1,33 @@
+
+
+
+ Get commit signature protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+
+
+Note: Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.zzzax-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of true
indicates you must sign commits on this branch. For more information, see Signing commits with GPG in GitHub Help.
+Note: You must enable branch protection to require signed commits.
+GET /repos/:owner/:repo/branches/:branch/protection/required_signatures
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures",
+ "enabled": true
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-pull-request-review-enforcement-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/get-pull-request-review-enforcement-of-protected-branch.html
deleted file mode 100644
index d5dc43c89d..0000000000
--- a/cache/api.github.com/v3/repos/branches/get-pull-request-review-enforcement-of-protected-branch.html
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
- Get pull request review enforcement of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-
-
-Note: The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.luke-cage-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-GET /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews
-
-Status: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews",
- "dismissal_restrictions": {
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions",
- "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/users",
- "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/teams",
- "users": [
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
- ],
- "teams": [
- {
- "id": 1,
- "node_id": "MDQ6VGVhbTE=",
- "url": "https://api.github.com/teams/1",
- "html_url": "https://api.github.com/teams/justice-league",
- "name": "Justice League",
- "slug": "justice-league",
- "description": "A great team.",
- "privacy": "closed",
- "permission": "admin",
- "members_url": "https://api.github.com/teams/1/members{/member}",
- "repositories_url": "https://api.github.com/teams/1/repos",
- "parent": null
- }
- ]
- },
- "dismiss_stale_reviews": true,
- "require_code_owner_reviews": true,
- "required_approving_review_count": 2
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-pull-request-review-protection.html b/cache/api.github.com/v3/repos/branches/get-pull-request-review-protection.html
new file mode 100644
index 0000000000..65f076d3ed
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/get-pull-request-review-protection.html
@@ -0,0 +1,74 @@
+
+
+
+ Get pull request review protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+
+
+Note: The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.luke-cage-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+GET /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews
+
+Status: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews",
+ "dismissal_restrictions": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions",
+ "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/users",
+ "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/teams",
+ "users": [
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ ],
+ "teams": [
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+ ]
+ },
+ "dismiss_stale_reviews": true,
+ "require_code_owner_reviews": true,
+ "required_approving_review_count": 2
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-required-signatures-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/get-required-signatures-of-protected-branch.html
deleted file mode 100644
index 1ba86e1eca..0000000000
--- a/cache/api.github.com/v3/repos/branches/get-required-signatures-of-protected-branch.html
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
- Get required signatures of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-
-
-Note: Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.zzzax-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of true
indicates you must sign commits on this branch. For more information, see Signing commits with GPG in GitHub Help.
-Note: You must enable branch protection to require signed commits.
-GET /repos/:owner/:repo/branches/:branch/protection/required_signatures
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures",
- "enabled": true
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-required-status-checks-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/get-required-status-checks-of-protected-branch.html
deleted file mode 100644
index b447d11767..0000000000
--- a/cache/api.github.com/v3/repos/branches/get-required-status-checks-of-protected-branch.html
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
- Get required status checks of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks",
- "strict": true,
- "contexts": [
- "continuous-integration/travis-ci"
- ],
- "contexts_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/get-restrictions-of-protected-branch.html
deleted file mode 100644
index 93c9d54795..0000000000
--- a/cache/api.github.com/v3/repos/branches/get-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
- Get restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Lists who has access to this protected branch.
-{{#note}}
-Note: Users, apps, and teams restrictions
are only available for organization-owned repositories.
-GET /repos/:owner/:repo/branches/:branch/protection/restrictions
-
-Status: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions",
- "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users",
- "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams",
- "apps_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams",
- "users": [
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
- ],
- "teams": [
- {
- "id": 1,
- "node_id": "MDQ6VGVhbTE=",
- "url": "https://api.github.com/teams/1",
- "html_url": "https://api.github.com/teams/justice-league",
- "name": "Justice League",
- "slug": "justice-league",
- "description": "A great team.",
- "privacy": "closed",
- "permission": "admin",
- "members_url": "https://api.github.com/teams/1/members{/member}",
- "repositories_url": "https://api.github.com/teams/1/repos",
- "parent": null
- }
- ],
- "apps": [
- {
- "id": 1,
- "slug": "octoapp",
- "node_id": "MDExOkludGVncmF0aW9uMQ==",
- "owner": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "name": "Octocat App",
- "description": "",
- "external_url": "https://example.com",
- "html_url": "https://github.com/apps/octoapp",
- "created_at": "2017-07-08T16:18:44-04:00",
- "updated_at": "2017-07-08T16:18:44-04:00",
- "permissions": {
- "metadata": "read",
- "contents": "read",
- "issues": "write",
- "single_file": "write"
- },
- "events": [
- "push",
- "pull_request"
- ]
- }
- ]
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-status-checks-protection.html b/cache/api.github.com/v3/repos/branches/get-status-checks-protection.html
new file mode 100644
index 0000000000..0b3ecbab22
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/get-status-checks-protection.html
@@ -0,0 +1,22 @@
+
+
+
+ Get status checks protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks",
+ "strict": true,
+ "contexts": [
+ "continuous-integration/travis-ci"
+ ],
+ "contexts_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/index.html b/cache/api.github.com/v3/repos/branches/index.html
index 1731241d51..398fead137 100644
--- a/cache/api.github.com/v3/repos/branches/index.html
+++ b/cache/api.github.com/v3/repos/branches/index.html
@@ -368,40 +368,40 @@
- List branches
-- Get branch
+- Get a branch
- Get branch protection
- Update branch protection
-- Remove branch protection
-- Get required status checks of protected branch
-- Update required status checks of protected branch
-- Remove required status checks of protected branch
-- List required status checks contexts of protected branch
-- Replace required status checks contexts of protected branch
-- Add required status checks contexts of protected branch
-- Remove required status checks contexts of protected branch
-- Get pull request review enforcement of protected branch
-- Update pull request review enforcement of protected branch
-- Remove pull request review enforcement of protected branch
-- Get required signatures of protected branch
-- Add required signatures of protected branch
-- Remove required signatures of protected branch
-- Get admin enforcement of protected branch
-- Add admin enforcement of protected branch
-- Remove admin enforcement of protected branch
-- Get restrictions of protected branch
-- Remove restrictions of protected branch
-- List teams with access to protected branch
-- Replace team restrictions of protected branch
-- Add team restrictions of protected branch
-- Remove team restrictions of protected branch
-- List users with access to protected branch
-- Replace user restrictions of protected branch
-- Add user restrictions of protected branch
-- Remove user restrictions of protected branch
-- List apps with access to protected branch
-- Replace app restrictions of protected branch
-- Add app restrictions of protected branch
-- Remove app restrictions of protected branch
+- Delete branch protection
+- Get status checks protection
+- Update status check potection
+- Remove status check protection
+- Get all status check contexts
+- Set status check contexts
+- Add status check contexts
+- Remove status check contexts
+- Get pull request review protection
+- Update pull request review protection
+- Delete pull request review protection
+- Get commit signature protection
+- Create commit signature protection
+- Delete commit signature protection
+- Get admin branch protection
+- Set admin branch protection
+- Delete admin branch protection
+- Get access restrictions
+- Delete access restrictions
+- List teams with access to the protected branch
+- Set team access restrictions
+- Add team access restrictions
+- Remove team access restrictions
+- List users with access to the protected branch
+- Set user access restrictions
+- Add user access restrictions
+- Remove user access restrictions
+- List apps with access to the protected branch
+- Set app access restrictions
+- Add app access restrictions
+- Remove app access restrictions
@@ -470,7 +470,7 @@
-
+ Get a branch
Get branchGET /repos/:owner/:repo/branches/:branch
@@ -1172,7 +1172,7 @@
-
+ Delete branch protection
Remove branch protection
@@ -1191,7 +1191,7 @@
-
+ Get status checks protection
Get required status checks of protected branch
@@ -1221,7 +1221,7 @@
-
+ Update status check potection
Update required status checks of protected branch
@@ -1292,7 +1292,7 @@
-
+ Remove status check protection
Remove required status checks of protected branch
@@ -1308,7 +1308,7 @@
-
+ Get all status check contexts
List required status checks contexts of protected branch
@@ -1330,7 +1330,7 @@
-
+ Set status check contexts
Replace required status checks contexts of protected branch
@@ -1364,7 +1364,7 @@
-
+ Add status check contexts
Add required status checks contexts of protected branch
@@ -1399,7 +1399,7 @@
-
+ Remove status check contexts
Remove required status checks contexts of protected branch
@@ -1433,7 +1433,7 @@
-
+ Get pull request review protection
Get pull request review enforcement of protected branch
@@ -1516,7 +1516,7 @@
-
+ Update pull request review protection
Update pull request review enforcement of protected branch
@@ -1690,7 +1690,7 @@
-
+ Delete pull request review protection
Remove pull request review enforcement of protected branch
@@ -1706,7 +1706,7 @@
-
+ Get commit signature protection
Get required signatures of protected branch
@@ -1751,7 +1751,7 @@
-
+ Create commit signature protection
Add required signatures of protected branch
@@ -1794,7 +1794,7 @@
-
+ Delete commit signature protection
Remove required signatures of protected branch
@@ -1827,7 +1827,7 @@
-
+ Get admin branch protection
Get admin enforcement of protected branch
@@ -1850,7 +1850,7 @@
-
+ Set admin branch protection
Add admin enforcement of protected branch
@@ -1878,7 +1878,7 @@
-
+ Delete admin branch protection
Remove admin enforcement of protected branch
@@ -1896,7 +1896,7 @@
-
+ Get access restrictions
Get restrictions of protected branch
@@ -1904,12 +1904,13 @@
-
Lists who has access to this protected branch.
-{{#note}}
+Lists who has access to this protected branch.
-Note: Users, apps, and teams restrictions
are only available for organization-owned repositories.
+
+Note: Users, apps, and teams restrictions
are only available for organization-owned repositories.
+
GET /repos/:owner/:repo/branches/:branch/protection/restrictions
@@ -2003,7 +2004,7 @@
-
+ Delete access restrictions
Remove restrictions of protected branch
@@ -2021,7 +2022,7 @@
-
+ List teams with access to the protected branch
List teams with access to protected branch
@@ -2057,7 +2058,7 @@
-
+ Set team access restrictions
Replace team restrictions of protected branch
@@ -2124,7 +2125,7 @@
-
+ Add team access restrictions
Add team restrictions of protected branch
@@ -2191,7 +2192,7 @@
-
+ Remove team access restrictions
Remove team restrictions of protected branch
@@ -2258,7 +2259,7 @@
-
+ List users with access to the protected branch
List users with access to protected branch
@@ -2301,7 +2302,7 @@
-
+ Set user access restrictions
Replace user restrictions of protected branch
@@ -2374,7 +2375,7 @@
-
+ Add user access restrictions
Add user restrictions of protected branch
@@ -2447,7 +2448,7 @@
-
+ Remove user access restrictions
Remove user restrictions of protected branch
@@ -2520,7 +2521,7 @@
-
+ List apps with access to the protected branch
List apps with access to protected branch
@@ -2578,7 +2579,7 @@
-
+ Set app access restrictions
Replace app restrictions of protected branch
@@ -2666,7 +2667,7 @@
-
+ Add app access restrictions
Add app restrictions of protected branch
@@ -2754,7 +2755,7 @@
-
+ Remove app access restrictions
Remove app restrictions of protected branch
diff --git a/cache/api.github.com/v3/repos/branches/list-apps-with-access-to-protected-branch.html b/cache/api.github.com/v3/repos/branches/list-apps-with-access-to-protected-branch.html
deleted file mode 100644
index 6a85031f19..0000000000
--- a/cache/api.github.com/v3/repos/branches/list-apps-with-access-to-protected-branch.html
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
- List apps with access to protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Lists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with write
access to the contents
permission can be added as authorized actors on a protected branch.
-GET /repos/:owner/:repo/branches/:branch/protection/restrictions/apps
-
-Status: 200 OK
-
-[
- {
- "id": 1,
- "slug": "octoapp",
- "node_id": "MDExOkludGVncmF0aW9uMQ==",
- "owner": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "name": "Octocat App",
- "description": "",
- "external_url": "https://example.com",
- "html_url": "https://github.com/apps/octoapp",
- "created_at": "2017-07-08T16:18:44-04:00",
- "updated_at": "2017-07-08T16:18:44-04:00",
- "permissions": {
- "metadata": "read",
- "contents": "read",
- "issues": "write",
- "single_file": "write"
- },
- "events": [
- "push",
- "pull_request"
- ]
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/list-apps-with-access-to-the-protected-branch.html b/cache/api.github.com/v3/repos/branches/list-apps-with-access-to-the-protected-branch.html
new file mode 100644
index 0000000000..38451b5df8
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/list-apps-with-access-to-the-protected-branch.html
@@ -0,0 +1,50 @@
+
+
+
+ List apps with access to the protected branch
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Lists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with write
access to the contents
permission can be added as authorized actors on a protected branch.
+GET /repos/:owner/:repo/branches/:branch/protection/restrictions/apps
+
+Status: 200 OK
+
+[
+ {
+ "id": 1,
+ "slug": "octoapp",
+ "node_id": "MDExOkludGVncmF0aW9uMQ==",
+ "owner": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "name": "Octocat App",
+ "description": "",
+ "external_url": "https://example.com",
+ "html_url": "https://github.com/apps/octoapp",
+ "created_at": "2017-07-08T16:18:44-04:00",
+ "updated_at": "2017-07-08T16:18:44-04:00",
+ "permissions": {
+ "metadata": "read",
+ "contents": "read",
+ "issues": "write",
+ "single_file": "write"
+ },
+ "events": [
+ "push",
+ "pull_request"
+ ]
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/list-required-status-checks-contexts-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/list-required-status-checks-contexts-of-protected-branch.html
deleted file mode 100644
index 74138a9960..0000000000
--- a/cache/api.github.com/v3/repos/branches/list-required-status-checks-contexts-of-protected-branch.html
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
- List required status checks contexts of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts
-
-Status: 200 OK
-
-[
- "continuous-integration/travis-ci"
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/list-teams-with-access-to-protected-branch.html b/cache/api.github.com/v3/repos/branches/list-teams-with-access-to-protected-branch.html
deleted file mode 100644
index 3e15da27fe..0000000000
--- a/cache/api.github.com/v3/repos/branches/list-teams-with-access-to-protected-branch.html
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
- List teams with access to protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Lists the teams who have push access to this branch. The list includes child teams.
-GET /repos/:owner/:repo/branches/:branch/protection/restrictions/teams
-
-
-
- Response[
- {
- "id": 1,
- "node_id": "MDQ6VGVhbTE=",
- "url": "https://api.github.com/teams/1",
- "html_url": "https://api.github.com/teams/justice-league",
- "name": "Justice League",
- "slug": "justice-league",
- "description": "A great team.",
- "privacy": "closed",
- "permission": "admin",
- "members_url": "https://api.github.com/teams/1/members{/member}",
- "repositories_url": "https://api.github.com/teams/1/repos",
- "parent": null
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/list-teams-with-access-to-the-protected-branch.html b/cache/api.github.com/v3/repos/branches/list-teams-with-access-to-the-protected-branch.html
new file mode 100644
index 0000000000..e015819b0f
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/list-teams-with-access-to-the-protected-branch.html
@@ -0,0 +1,29 @@
+
+
+
+ List teams with access to the protected branch
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Lists the teams who have push access to this branch. The list includes child teams.
+GET /repos/:owner/:repo/branches/:branch/protection/restrictions/teams
+
+
+
+ Response[
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/list-users-with-access-to-protected-branch.html b/cache/api.github.com/v3/repos/branches/list-users-with-access-to-protected-branch.html
deleted file mode 100644
index a539879362..0000000000
--- a/cache/api.github.com/v3/repos/branches/list-users-with-access-to-protected-branch.html
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
- List users with access to protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Lists the people who have push access to this branch.
-GET /repos/:owner/:repo/branches/:branch/protection/restrictions/users
-
-Status: 200 OK
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/list-users-with-access-to-the-protected-branch.html b/cache/api.github.com/v3/repos/branches/list-users-with-access-to-the-protected-branch.html
new file mode 100644
index 0000000000..e5c5f3d45a
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/list-users-with-access-to-the-protected-branch.html
@@ -0,0 +1,35 @@
+
+
+
+ List users with access to the protected branch
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Lists the people who have push access to this branch.
+GET /repos/:owner/:repo/branches/:branch/protection/restrictions/users
+
+Status: 200 OK
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-admin-enforcement-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/remove-admin-enforcement-of-protected-branch.html
deleted file mode 100644
index fe8bf2f806..0000000000
--- a/cache/api.github.com/v3/repos/branches/remove-admin-enforcement-of-protected-branch.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- Remove admin enforcement of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
-DELETE /repos/:owner/:repo/branches/:branch/protection/enforce_admins
-
-Status: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-app-access-restrictions.html b/cache/api.github.com/v3/repos/branches/remove-app-access-restrictions.html
new file mode 100644
index 0000000000..e580cba5ca
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/remove-app-access-restrictions.html
@@ -0,0 +1,74 @@
+
+
+
+ Remove app access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Removes the ability of an app to push to this branch. Only installed GitHub Apps with write
access to the contents
permission can be added as authorized actors on a protected branch.
+DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/apps
+
+
+
+ Parameters
+
+
+Type
+Description
+
+
+
+
+array
+The GitHub Apps that have push access to this branch. Use the app's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
+
+
+
+
+
+ Example[
+ "octoapp"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "id": 1,
+ "slug": "octoapp",
+ "node_id": "MDExOkludGVncmF0aW9uMQ==",
+ "owner": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "name": "Octocat App",
+ "description": "",
+ "external_url": "https://example.com",
+ "html_url": "https://github.com/apps/octoapp",
+ "created_at": "2017-07-08T16:18:44-04:00",
+ "updated_at": "2017-07-08T16:18:44-04:00",
+ "permissions": {
+ "metadata": "read",
+ "contents": "read",
+ "issues": "write",
+ "single_file": "write"
+ },
+ "events": [
+ "push",
+ "pull_request"
+ ]
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-app-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/remove-app-restrictions-of-protected-branch.html
deleted file mode 100644
index ec9eefeed5..0000000000
--- a/cache/api.github.com/v3/repos/branches/remove-app-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
- Remove app restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Removes the ability of an app to push to this branch. Only installed GitHub Apps with write
access to the contents
permission can be added as authorized actors on a protected branch.
-DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/apps
-
-
-
- Parameters
-
-
-Type
-Description
-
-
-
-
-array
-The GitHub Apps that have push access to this branch. Use the app's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
-
-
-
-
-
- Example[
- "octoapp"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "id": 1,
- "slug": "octoapp",
- "node_id": "MDExOkludGVncmF0aW9uMQ==",
- "owner": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "name": "Octocat App",
- "description": "",
- "external_url": "https://example.com",
- "html_url": "https://github.com/apps/octoapp",
- "created_at": "2017-07-08T16:18:44-04:00",
- "updated_at": "2017-07-08T16:18:44-04:00",
- "permissions": {
- "metadata": "read",
- "contents": "read",
- "issues": "write",
- "single_file": "write"
- },
- "events": [
- "push",
- "pull_request"
- ]
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-branch-protection.html b/cache/api.github.com/v3/repos/branches/remove-branch-protection.html
deleted file mode 100644
index 659edf01f3..0000000000
--- a/cache/api.github.com/v3/repos/branches/remove-branch-protection.html
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- Remove branch protection
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-DELETE /repos/:owner/:repo/branches/:branch/protection
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-pull-request-review-enforcement-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/remove-pull-request-review-enforcement-of-protected-branch.html
deleted file mode 100644
index 93064032e8..0000000000
--- a/cache/api.github.com/v3/repos/branches/remove-pull-request-review-enforcement-of-protected-branch.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- Remove pull request review enforcement of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-DELETE /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews
-
-Status: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-required-signatures-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/remove-required-signatures-of-protected-branch.html
deleted file mode 100644
index 077441f6ce..0000000000
--- a/cache/api.github.com/v3/repos/branches/remove-required-signatures-of-protected-branch.html
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
- Remove required signatures of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-
-
-Note: Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.zzzax-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.
-DELETE /repos/:owner/:repo/branches/:branch/protection/required_signatures
-
-Status: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-required-status-checks-contexts-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/remove-required-status-checks-contexts-of-protected-branch.html
deleted file mode 100644
index 41fc351e84..0000000000
--- a/cache/api.github.com/v3/repos/branches/remove-required-status-checks-contexts-of-protected-branch.html
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
- Remove required status checks contexts of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts
-
-
-
- Example[
- "continuous-integration/jenkins"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- "continuous-integration/travis-ci"
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-required-status-checks-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/remove-required-status-checks-of-protected-branch.html
deleted file mode 100644
index 7cc3861a5c..0000000000
--- a/cache/api.github.com/v3/repos/branches/remove-required-status-checks-of-protected-branch.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- Remove required status checks of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks
-
-Status: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/remove-restrictions-of-protected-branch.html
deleted file mode 100644
index 9f2e9b602b..0000000000
--- a/cache/api.github.com/v3/repos/branches/remove-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- Remove restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Disables the ability to restrict who can push to this branch.
-DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions
-
-Status: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-status-check-contexts.html b/cache/api.github.com/v3/repos/branches/remove-status-check-contexts.html
new file mode 100644
index 0000000000..84b3f27172
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/remove-status-check-contexts.html
@@ -0,0 +1,23 @@
+
+
+
+ Remove status check contexts
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts
+
+
+
+ Example[
+ "continuous-integration/jenkins"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ "continuous-integration/travis-ci"
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-status-check-protection.html b/cache/api.github.com/v3/repos/branches/remove-status-check-protection.html
new file mode 100644
index 0000000000..c95871d522
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/remove-status-check-protection.html
@@ -0,0 +1,11 @@
+
+
+
+ Remove status check protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks
+
+Status: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-team-access-restrictions.html b/cache/api.github.com/v3/repos/branches/remove-team-access-restrictions.html
new file mode 100644
index 0000000000..61002c705a
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/remove-team-access-restrictions.html
@@ -0,0 +1,53 @@
+
+
+
+ Remove team access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Removes the ability of a team to push to this branch. You can also remove push access for child teams.
+DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/teams
+
+
+
+ Parameters
+
+
+Type
+Description
+
+
+
+
+array
+Teams that should no longer have push access. Use the team's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
+
+
+
+
+
+ Example[
+ "octocats"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-team-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/remove-team-restrictions-of-protected-branch.html
deleted file mode 100644
index dc8207cfbf..0000000000
--- a/cache/api.github.com/v3/repos/branches/remove-team-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
- Remove team restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Removes the ability of a team to push to this branch. You can also remove push access for child teams.
-DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/teams
-
-
-
- Parameters
-
-
-Type
-Description
-
-
-
-
-array
-Teams that should no longer have push access. Use the team's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
-
-
-
-
-
- Example[
- "octocats"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "id": 1,
- "node_id": "MDQ6VGVhbTE=",
- "url": "https://api.github.com/teams/1",
- "html_url": "https://api.github.com/teams/justice-league",
- "name": "Justice League",
- "slug": "justice-league",
- "description": "A great team.",
- "privacy": "closed",
- "permission": "admin",
- "members_url": "https://api.github.com/teams/1/members{/member}",
- "repositories_url": "https://api.github.com/teams/1/repos",
- "parent": null
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-user-access-restrictions.html b/cache/api.github.com/v3/repos/branches/remove-user-access-restrictions.html
new file mode 100644
index 0000000000..3bc0ea9502
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/remove-user-access-restrictions.html
@@ -0,0 +1,59 @@
+
+
+
+ Remove user access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Removes the ability of a user to push to this branch.
+DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/users
+
+
+
+ Parameters
+
+
+Type
+Description
+
+
+
+
+array
+Usernames of the people who should no longer have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
+
+
+
+
+
+ Example[
+ "defunkt"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-user-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/remove-user-restrictions-of-protected-branch.html
deleted file mode 100644
index e1450d43f4..0000000000
--- a/cache/api.github.com/v3/repos/branches/remove-user-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
- Remove user restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Removes the ability of a user to push to this branch.
-DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/users
-
-
-
- Parameters
-
-
-Type
-Description
-
-
-
-
-array
-Usernames of the people who should no longer have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
-
-
-
-
-
- Example[
- "defunkt"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/replace-app-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/replace-app-restrictions-of-protected-branch.html
deleted file mode 100644
index 070227a42c..0000000000
--- a/cache/api.github.com/v3/repos/branches/replace-app-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
- Replace app restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with write
access to the contents
permission can be added as authorized actors on a protected branch.
-PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/apps
-
-
-
- Parameters
-
-
-Type
-Description
-
-
-
-
-array
-The GitHub Apps that have push access to this branch. Use the app's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
-
-
-
-
-
- Example[
- "octoapp"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "id": 1,
- "slug": "octoapp",
- "node_id": "MDExOkludGVncmF0aW9uMQ==",
- "owner": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "name": "Octocat App",
- "description": "",
- "external_url": "https://example.com",
- "html_url": "https://github.com/apps/octoapp",
- "created_at": "2017-07-08T16:18:44-04:00",
- "updated_at": "2017-07-08T16:18:44-04:00",
- "permissions": {
- "metadata": "read",
- "contents": "read",
- "issues": "write",
- "single_file": "write"
- },
- "events": [
- "push",
- "pull_request"
- ]
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/replace-required-status-checks-contexts-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/replace-required-status-checks-contexts-of-protected-branch.html
deleted file mode 100644
index 1561a6277f..0000000000
--- a/cache/api.github.com/v3/repos/branches/replace-required-status-checks-contexts-of-protected-branch.html
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
- Replace required status checks contexts of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-PUT /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts
-
-
-
- Example[
- "continuous-integration/travis-ci"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- "continuous-integration/travis-ci"
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/replace-team-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/replace-team-restrictions-of-protected-branch.html
deleted file mode 100644
index 74ed82c69d..0000000000
--- a/cache/api.github.com/v3/repos/branches/replace-team-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
- Replace team restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.
-PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/teams
-
-
-
- Parameters
-
-
-Type
-Description
-
-
-
-
-array
-The teams that can have push access. Use the team's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
-
-
-
-
-
- Example[
- "justice-league"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "id": 1,
- "node_id": "MDQ6VGVhbTE=",
- "url": "https://api.github.com/teams/1",
- "html_url": "https://api.github.com/teams/justice-league",
- "name": "Justice League",
- "slug": "justice-league",
- "description": "A great team.",
- "privacy": "closed",
- "permission": "admin",
- "members_url": "https://api.github.com/teams/1/members{/member}",
- "repositories_url": "https://api.github.com/teams/1/repos",
- "parent": null
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/replace-user-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/replace-user-restrictions-of-protected-branch.html
deleted file mode 100644
index 2b480fba82..0000000000
--- a/cache/api.github.com/v3/repos/branches/replace-user-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
- Replace user restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.
-PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/users
-
-
-
- Parameters
-
-
-Type
-Description
-
-
-
-
-array
-Usernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
-
-
-
-
-
- Example[
- "octocat"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/sections.json b/cache/api.github.com/v3/repos/branches/sections.json
index bb0605df6f..677dc14ccf 100644
--- a/cache/api.github.com/v3/repos/branches/sections.json
+++ b/cache/api.github.com/v3/repos/branches/sections.json
@@ -5,9 +5,9 @@
"url": "https://developer.github.com/v3/repos/branches/#list-branches"
},
{
- "id": "get-branch",
- "name": "Get branch",
- "url": "https://developer.github.com/v3/repos/branches/#get-branch"
+ "id": "get-a-branch",
+ "name": "Get a branch",
+ "url": "https://developer.github.com/v3/repos/branches/#get-a-branch"
},
{
"id": "get-branch-protection",
@@ -20,158 +20,158 @@
"url": "https://developer.github.com/v3/repos/branches/#update-branch-protection"
},
{
- "id": "remove-branch-protection",
- "name": "Remove branch protection",
- "url": "https://developer.github.com/v3/repos/branches/#remove-branch-protection"
+ "id": "delete-branch-protection",
+ "name": "Delete branch protection",
+ "url": "https://developer.github.com/v3/repos/branches/#delete-branch-protection"
},
{
- "id": "get-required-status-checks-of-protected-branch",
- "name": "Get required status checks of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#get-required-status-checks-of-protected-branch"
+ "id": "get-status-checks-protection",
+ "name": "Get status checks protection",
+ "url": "https://developer.github.com/v3/repos/branches/#get-status-checks-protection"
},
{
- "id": "update-required-status-checks-of-protected-branch",
- "name": "Update required status checks of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#update-required-status-checks-of-protected-branch"
+ "id": "update-status-check-potection",
+ "name": "Update status check potection",
+ "url": "https://developer.github.com/v3/repos/branches/#update-status-check-potection"
},
{
- "id": "remove-required-status-checks-of-protected-branch",
- "name": "Remove required status checks of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#remove-required-status-checks-of-protected-branch"
+ "id": "remove-status-check-protection",
+ "name": "Remove status check protection",
+ "url": "https://developer.github.com/v3/repos/branches/#remove-status-check-protection"
},
{
- "id": "list-required-status-checks-contexts-of-protected-branch",
- "name": "List required status checks contexts of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#list-required-status-checks-contexts-of-protected-branch"
+ "id": "get-all-status-check-contexts",
+ "name": "Get all status check contexts",
+ "url": "https://developer.github.com/v3/repos/branches/#get-all-status-check-contexts"
},
{
- "id": "replace-required-status-checks-contexts-of-protected-branch",
- "name": "Replace required status checks contexts of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#replace-required-status-checks-contexts-of-protected-branch"
+ "id": "set-status-check-contexts",
+ "name": "Set status check contexts",
+ "url": "https://developer.github.com/v3/repos/branches/#set-status-check-contexts"
},
{
- "id": "add-required-status-checks-contexts-of-protected-branch",
- "name": "Add required status checks contexts of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#add-required-status-checks-contexts-of-protected-branch"
+ "id": "add-status-check-contexts",
+ "name": "Add status check contexts",
+ "url": "https://developer.github.com/v3/repos/branches/#add-status-check-contexts"
},
{
- "id": "remove-required-status-checks-contexts-of-protected-branch",
- "name": "Remove required status checks contexts of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#remove-required-status-checks-contexts-of-protected-branch"
+ "id": "remove-status-check-contexts",
+ "name": "Remove status check contexts",
+ "url": "https://developer.github.com/v3/repos/branches/#remove-status-check-contexts"
},
{
- "id": "get-pull-request-review-enforcement-of-protected-branch",
- "name": "Get pull request review enforcement of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#get-pull-request-review-enforcement-of-protected-branch"
+ "id": "get-pull-request-review-protection",
+ "name": "Get pull request review protection",
+ "url": "https://developer.github.com/v3/repos/branches/#get-pull-request-review-protection"
},
{
- "id": "update-pull-request-review-enforcement-of-protected-branch",
- "name": "Update pull request review enforcement of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch"
+ "id": "update-pull-request-review-protection",
+ "name": "Update pull request review protection",
+ "url": "https://developer.github.com/v3/repos/branches/#update-pull-request-review-protection"
},
{
- "id": "remove-pull-request-review-enforcement-of-protected-branch",
- "name": "Remove pull request review enforcement of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#remove-pull-request-review-enforcement-of-protected-branch"
+ "id": "delete-pull-request-review-protection",
+ "name": "Delete pull request review protection",
+ "url": "https://developer.github.com/v3/repos/branches/#delete-pull-request-review-protection"
},
{
- "id": "get-required-signatures-of-protected-branch",
- "name": "Get required signatures of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#get-required-signatures-of-protected-branch"
+ "id": "get-commit-signature-protection",
+ "name": "Get commit signature protection",
+ "url": "https://developer.github.com/v3/repos/branches/#get-commit-signature-protection"
},
{
- "id": "add-required-signatures-of-protected-branch",
- "name": "Add required signatures of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#add-required-signatures-of-protected-branch"
+ "id": "create-commit-signature-protection",
+ "name": "Create commit signature protection",
+ "url": "https://developer.github.com/v3/repos/branches/#create-commit-signature-protection"
},
{
- "id": "remove-required-signatures-of-protected-branch",
- "name": "Remove required signatures of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#remove-required-signatures-of-protected-branch"
+ "id": "delete-commit-signature-protection",
+ "name": "Delete commit signature protection",
+ "url": "https://developer.github.com/v3/repos/branches/#delete-commit-signature-protection"
},
{
- "id": "get-admin-enforcement-of-protected-branch",
- "name": "Get admin enforcement of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#get-admin-enforcement-of-protected-branch"
+ "id": "get-admin-branch-protection",
+ "name": "Get admin branch protection",
+ "url": "https://developer.github.com/v3/repos/branches/#get-admin-branch-protection"
},
{
- "id": "add-admin-enforcement-of-protected-branch",
- "name": "Add admin enforcement of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#add-admin-enforcement-of-protected-branch"
+ "id": "set-admin-branch-protection",
+ "name": "Set admin branch protection",
+ "url": "https://developer.github.com/v3/repos/branches/#set-admin-branch-protection"
},
{
- "id": "remove-admin-enforcement-of-protected-branch",
- "name": "Remove admin enforcement of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#remove-admin-enforcement-of-protected-branch"
+ "id": "delete-admin-branch-protection",
+ "name": "Delete admin branch protection",
+ "url": "https://developer.github.com/v3/repos/branches/#delete-admin-branch-protection"
},
{
- "id": "get-restrictions-of-protected-branch",
- "name": "Get restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#get-restrictions-of-protected-branch"
+ "id": "get-access-restrictions",
+ "name": "Get access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#get-access-restrictions"
},
{
- "id": "remove-restrictions-of-protected-branch",
- "name": "Remove restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#remove-restrictions-of-protected-branch"
+ "id": "delete-access-restrictions",
+ "name": "Delete access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#delete-access-restrictions"
},
{
- "id": "list-teams-with-access-to-protected-branch",
- "name": "List teams with access to protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#list-teams-with-access-to-protected-branch"
+ "id": "list-teams-with-access-to-the-protected-branch",
+ "name": "List teams with access to the protected branch",
+ "url": "https://developer.github.com/v3/repos/branches/#list-teams-with-access-to-the-protected-branch"
},
{
- "id": "replace-team-restrictions-of-protected-branch",
- "name": "Replace team restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#replace-team-restrictions-of-protected-branch"
+ "id": "set-team-access-restrictions",
+ "name": "Set team access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#set-team-access-restrictions"
},
{
- "id": "add-team-restrictions-of-protected-branch",
- "name": "Add team restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#add-team-restrictions-of-protected-branch"
+ "id": "add-team-access-restrictions",
+ "name": "Add team access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#add-team-access-restrictions"
},
{
- "id": "remove-team-restrictions-of-protected-branch",
- "name": "Remove team restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#remove-team-restrictions-of-protected-branch"
+ "id": "remove-team-access-restrictions",
+ "name": "Remove team access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#remove-team-access-restrictions"
},
{
- "id": "list-users-with-access-to-protected-branch",
- "name": "List users with access to protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#list-users-with-access-to-protected-branch"
+ "id": "list-users-with-access-to-the-protected-branch",
+ "name": "List users with access to the protected branch",
+ "url": "https://developer.github.com/v3/repos/branches/#list-users-with-access-to-the-protected-branch"
},
{
- "id": "replace-user-restrictions-of-protected-branch",
- "name": "Replace user restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#replace-user-restrictions-of-protected-branch"
+ "id": "set-user-access-restrictions",
+ "name": "Set user access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#set-user-access-restrictions"
},
{
- "id": "add-user-restrictions-of-protected-branch",
- "name": "Add user restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#add-user-restrictions-of-protected-branch"
+ "id": "add-user-access-restrictions",
+ "name": "Add user access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#add-user-access-restrictions"
},
{
- "id": "remove-user-restrictions-of-protected-branch",
- "name": "Remove user restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#remove-user-restrictions-of-protected-branch"
+ "id": "remove-user-access-restrictions",
+ "name": "Remove user access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#remove-user-access-restrictions"
},
{
- "id": "list-apps-with-access-to-protected-branch",
- "name": "List apps with access to protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#list-apps-with-access-to-protected-branch"
+ "id": "list-apps-with-access-to-the-protected-branch",
+ "name": "List apps with access to the protected branch",
+ "url": "https://developer.github.com/v3/repos/branches/#list-apps-with-access-to-the-protected-branch"
},
{
- "id": "replace-app-restrictions-of-protected-branch",
- "name": "Replace app restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#replace-app-restrictions-of-protected-branch"
+ "id": "set-app-access-restrictions",
+ "name": "Set app access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#set-app-access-restrictions"
},
{
- "id": "add-app-restrictions-of-protected-branch",
- "name": "Add app restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#add-app-restrictions-of-protected-branch"
+ "id": "add-app-access-restrictions",
+ "name": "Add app access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#add-app-access-restrictions"
},
{
- "id": "remove-app-restrictions-of-protected-branch",
- "name": "Remove app restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#remove-app-restrictions-of-protected-branch"
+ "id": "remove-app-access-restrictions",
+ "name": "Remove app access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#remove-app-access-restrictions"
}
]
diff --git a/cache/api.github.com/v3/repos/branches/set-admin-branch-protection.html b/cache/api.github.com/v3/repos/branches/set-admin-branch-protection.html
new file mode 100644
index 0000000000..ac73f71189
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/set-admin-branch-protection.html
@@ -0,0 +1,19 @@
+
+
+
+ Set admin branch protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
+POST /repos/:owner/:repo/branches/:branch/protection/enforce_admins
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins",
+ "enabled": true
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/set-app-access-restrictions.html b/cache/api.github.com/v3/repos/branches/set-app-access-restrictions.html
new file mode 100644
index 0000000000..dcce539ce9
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/set-app-access-restrictions.html
@@ -0,0 +1,74 @@
+
+
+
+ Set app access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with write
access to the contents
permission can be added as authorized actors on a protected branch.
+PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/apps
+
+
+
+ Parameters
+
+
+Type
+Description
+
+
+
+
+array
+The GitHub Apps that have push access to this branch. Use the app's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
+
+
+
+
+
+ Example[
+ "octoapp"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "id": 1,
+ "slug": "octoapp",
+ "node_id": "MDExOkludGVncmF0aW9uMQ==",
+ "owner": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "name": "Octocat App",
+ "description": "",
+ "external_url": "https://example.com",
+ "html_url": "https://github.com/apps/octoapp",
+ "created_at": "2017-07-08T16:18:44-04:00",
+ "updated_at": "2017-07-08T16:18:44-04:00",
+ "permissions": {
+ "metadata": "read",
+ "contents": "read",
+ "issues": "write",
+ "single_file": "write"
+ },
+ "events": [
+ "push",
+ "pull_request"
+ ]
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/set-status-check-contexts.html b/cache/api.github.com/v3/repos/branches/set-status-check-contexts.html
new file mode 100644
index 0000000000..8274f6b635
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/set-status-check-contexts.html
@@ -0,0 +1,23 @@
+
+
+
+ Set status check contexts
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+PUT /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts
+
+
+
+ Example[
+ "continuous-integration/travis-ci"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ "continuous-integration/travis-ci"
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/set-team-access-restrictions.html b/cache/api.github.com/v3/repos/branches/set-team-access-restrictions.html
new file mode 100644
index 0000000000..ebd0c95936
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/set-team-access-restrictions.html
@@ -0,0 +1,53 @@
+
+
+
+ Set team access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.
+PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/teams
+
+
+
+ Parameters
+
+
+Type
+Description
+
+
+
+
+array
+The teams that can have push access. Use the team's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
+
+
+
+
+
+ Example[
+ "justice-league"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/set-user-access-restrictions.html b/cache/api.github.com/v3/repos/branches/set-user-access-restrictions.html
new file mode 100644
index 0000000000..b2ec85e9a3
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/set-user-access-restrictions.html
@@ -0,0 +1,59 @@
+
+
+
+ Set user access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.
+PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/users
+
+
+
+ Parameters
+
+
+Type
+Description
+
+
+
+
+array
+Usernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
+
+
+
+
+
+ Example[
+ "octocat"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/update-pull-request-review-enforcement-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/update-pull-request-review-enforcement-of-protected-branch.html
deleted file mode 100644
index dca177fb10..0000000000
--- a/cache/api.github.com/v3/repos/branches/update-pull-request-review-enforcement-of-protected-branch.html
+++ /dev/null
@@ -1,154 +0,0 @@
-
-
-
- Update pull request review enforcement of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-
-
-Note: The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.luke-cage-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
-PATCH /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews
-
-
-
- ParametersThe object passed can have the following keys:
-
-
-
-Name
-Type
-Description
-
-
-
-
-dismissal_restrictions
-object
-Specify which users and teams can dismiss pull request reviews. Pass an empty dismissal_restrictions
object to disable. User and team dismissal_restrictions
are only available for organization-owned repositories. Omit this parameter for personal repositories.
-
-
-dismiss_stale_reviews
-boolean
-Set to true
if you want to automatically dismiss approving reviews when someone pushes a new commit.
-
-
-require_code_owner_reviews
-boolean
-Blocks merging pull requests until code owners have reviewed.
-
-
-required_approving_review_count
-integer
-Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6.
-
-
-
-The dismissal_restrictions
object must have the following keys:
-
-
-
-Name
-Type
-Description
-
-
-
-
-users
-array
-The list of user login
s with dismissal access
-
-
-teams
-array
-The list of team slug
s with dismissal access
-
-
-
-
-
-Note: Passing new arrays of users
and teams
replaces their previous values.
-
-
-
-
- Example{
- "dismissal_restrictions": {
- "users": [
- "octocat"
- ],
- "teams": [
- "justice-league"
- ]
- },
- "dismiss_stale_reviews": true,
- "require_code_owner_reviews": true,
- "required_approving_review_count": 2
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews",
- "dismissal_restrictions": {
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions",
- "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/users",
- "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/teams",
- "users": [
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
- ],
- "teams": [
- {
- "id": 1,
- "node_id": "MDQ6VGVhbTE=",
- "url": "https://api.github.com/teams/1",
- "html_url": "https://api.github.com/teams/justice-league",
- "name": "Justice League",
- "slug": "justice-league",
- "description": "A great team.",
- "privacy": "closed",
- "permission": "admin",
- "members_url": "https://api.github.com/teams/1/members{/member}",
- "repositories_url": "https://api.github.com/teams/1/repos",
- "parent": null
- }
- ]
- },
- "dismiss_stale_reviews": true,
- "require_code_owner_reviews": true,
- "required_approving_review_count": 2
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/update-pull-request-review-protection.html b/cache/api.github.com/v3/repos/branches/update-pull-request-review-protection.html
new file mode 100644
index 0000000000..13b7ce57b2
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/update-pull-request-review-protection.html
@@ -0,0 +1,154 @@
+
+
+
+ Update pull request review protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+
+
+Note: The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.luke-cage-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
+PATCH /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews
+
+
+
+ ParametersThe object passed can have the following keys:
+
+
+
+Name
+Type
+Description
+
+
+
+
+dismissal_restrictions
+object
+Specify which users and teams can dismiss pull request reviews. Pass an empty dismissal_restrictions
object to disable. User and team dismissal_restrictions
are only available for organization-owned repositories. Omit this parameter for personal repositories.
+
+
+dismiss_stale_reviews
+boolean
+Set to true
if you want to automatically dismiss approving reviews when someone pushes a new commit.
+
+
+require_code_owner_reviews
+boolean
+Blocks merging pull requests until code owners have reviewed.
+
+
+required_approving_review_count
+integer
+Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6.
+
+
+
+The dismissal_restrictions
object must have the following keys:
+
+
+
+Name
+Type
+Description
+
+
+
+
+users
+array
+The list of user login
s with dismissal access
+
+
+teams
+array
+The list of team slug
s with dismissal access
+
+
+
+
+
+Note: Passing new arrays of users
and teams
replaces their previous values.
+
+
+
+
+ Example{
+ "dismissal_restrictions": {
+ "users": [
+ "octocat"
+ ],
+ "teams": [
+ "justice-league"
+ ]
+ },
+ "dismiss_stale_reviews": true,
+ "require_code_owner_reviews": true,
+ "required_approving_review_count": 2
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews",
+ "dismissal_restrictions": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions",
+ "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/users",
+ "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/teams",
+ "users": [
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ ],
+ "teams": [
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+ ]
+ },
+ "dismiss_stale_reviews": true,
+ "require_code_owner_reviews": true,
+ "required_approving_review_count": 2
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/update-required-status-checks-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/update-required-status-checks-of-protected-branch.html
deleted file mode 100644
index bf63fda630..0000000000
--- a/cache/api.github.com/v3/repos/branches/update-required-status-checks-of-protected-branch.html
+++ /dev/null
@@ -1,56 +0,0 @@
-
-
-
- Update required status checks of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.
-PATCH /repos/:owner/:repo/branches/:branch/protection/required_status_checks
-
-
-
- ParametersThe object passed can have the following keys:
-
-
-
-Name
-Type
-Description
-
-
-
-
-strict
-boolean
-Require branches to be up to date before merging.
-
-
-contexts
-array
-The list of status checks to require in order to merge into this branch
-
-
-
-
-
- Example{
- "strict": true,
- "contexts": [
- "continuous-integration/travis-ci"
- ]
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks",
- "strict": true,
- "contexts": [
- "continuous-integration/travis-ci"
- ],
- "contexts_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/update-status-check-potection.html b/cache/api.github.com/v3/repos/branches/update-status-check-potection.html
new file mode 100644
index 0000000000..72eedaf65b
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/update-status-check-potection.html
@@ -0,0 +1,56 @@
+
+
+
+ Update status check potection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.
+PATCH /repos/:owner/:repo/branches/:branch/protection/required_status_checks
+
+
+
+ ParametersThe object passed can have the following keys:
+
+
+
+Name
+Type
+Description
+
+
+
+
+strict
+boolean
+Require branches to be up to date before merging.
+
+
+contexts
+array
+The list of status checks to require in order to merge into this branch
+
+
+
+
+
+ Example{
+ "strict": true,
+ "contexts": [
+ "continuous-integration/travis-ci"
+ ]
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks",
+ "strict": true,
+ "contexts": [
+ "continuous-integration/travis-ci"
+ ],
+ "contexts_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/add-a-repository-collaborator.html b/cache/api.github.com/v3/repos/collaborators/add-a-repository-collaborator.html
new file mode 100644
index 0000000000..08d41ac0a9
--- /dev/null
+++ b/cache/api.github.com/v3/repos/collaborators/add-a-repository-collaborator.html
@@ -0,0 +1,159 @@
+
+
+
+ Add a repository collaboratorThis endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
+PUT /repos/:owner/:repo/collaborators/:username
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+permission
+string
+The permission to grant the collaborator. Only valid on organization-owned repositories. Can be one of:
* pull
- can pull, but not push to or administer this repository.
* push
- can pull and push, but not administer this repository.
* admin
- can pull, push and administer this repository.
* maintain
- Recommended for project managers who need to manage the repository without access to sensitive or destructive actions.
* triage
- Recommended for contributors who need to proactively manage issues and pull requests without write access.
Default: push
+
+
+
+
+For more information the permission levels, see "Repository permission levels for an organization" in the GitHub Help documentation.
+Note that, if you choose not to pass any parameters, you'll need to set Content-Length
to zero when calling out to this endpoint. For more information, see "HTTP verbs."
+
+
+The invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the repository invitations API endpoints.
+
+
+
+
+ Rate limitsTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.
+
+
+ Response when person is already a collaboratorStatus: 204 No Content
+
+
+
+ Response when a new invitation is createdStatus: 201 Created
+
+{
+ "id": 1,
+ "repository": {
+ "id": 1296269,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
+ "name": "Hello-World",
+ "full_name": "octocat/Hello-World",
+ "owner": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/octocat/Hello-World",
+ "description": "This your first repo!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octocat/Hello-World",
+ "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ },
+ "invitee": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "inviter": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "permissions": "write",
+ "created_at": "2016-06-13T14:52:50-05:00",
+ "url": "https://api.github.com/user/repository_invitations/1296269",
+ "html_url": "https://github.com/octocat/Hello-World/invitations"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/add-user-as-a-collaborator.html b/cache/api.github.com/v3/repos/collaborators/add-user-as-a-collaborator.html
deleted file mode 100644
index 7b7675125b..0000000000
--- a/cache/api.github.com/v3/repos/collaborators/add-user-as-a-collaborator.html
+++ /dev/null
@@ -1,159 +0,0 @@
-
-
-
- Add user as a collaboratorThis endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
-PUT /repos/:owner/:repo/collaborators/:username
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-permission
-string
-The permission to grant the collaborator. Only valid on organization-owned repositories. Can be one of:
* pull
- can pull, but not push to or administer this repository.
* push
- can pull and push, but not administer this repository.
* admin
- can pull, push and administer this repository.
* maintain
- Recommended for project managers who need to manage the repository without access to sensitive or destructive actions.
* triage
- Recommended for contributors who need to proactively manage issues and pull requests without write access.
Default: push
-
-
-
-
-For more information the permission levels, see "Repository permission levels for an organization" in the GitHub Help documentation.
-Note that, if you choose not to pass any parameters, you'll need to set Content-Length
to zero when calling out to this endpoint. For more information, see "HTTP verbs."
-
-
-The invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the repository invitations API endpoints.
-
-
-
-
- Rate limitsTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.
-
-
- Response when person is already a collaboratorStatus: 204 No Content
-
-
-
- Response when a new invitation is createdStatus: 201 Created
-
-{
- "id": 1,
- "repository": {
- "id": 1296269,
- "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
- "name": "Hello-World",
- "full_name": "octocat/Hello-World",
- "owner": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "private": false,
- "html_url": "https://github.com/octocat/Hello-World",
- "description": "This your first repo!",
- "fork": false,
- "url": "https://api.github.com/repos/octocat/Hello-World",
- "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
- "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
- "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
- "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
- "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
- "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
- "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
- "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
- "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
- "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
- "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
- "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
- "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
- "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
- "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
- "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
- "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
- "git_url": "git:github.com/octocat/Hello-World.git",
- "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
- "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
- "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
- "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
- "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
- "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
- "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
- "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
- "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
- "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
- "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
- "ssh_url": "git@github.com:octocat/Hello-World.git",
- "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
- "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
- "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
- "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
- "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
- "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
- "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "invitee": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "inviter": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "permissions": "write",
- "created_at": "2016-06-13T14:52:50-05:00",
- "url": "https://api.github.com/user/repository_invitations/1296269",
- "html_url": "https://github.com/octocat/Hello-World/invitations"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/check-if-a-user-is-a-collaborator.html b/cache/api.github.com/v3/repos/collaborators/check-if-a-user-is-a-collaborator.html
deleted file mode 100644
index 82838705fd..0000000000
--- a/cache/api.github.com/v3/repos/collaborators/check-if-a-user-is-a-collaborator.html
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
- Check if a user is a collaboratorFor organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.
-Team members will include the members of child teams.
-GET /repos/:owner/:repo/collaborators/:username
-
-
-
- Response if user is a collaboratorStatus: 204 No Content
-
-
-
- Response if user is not a collaboratorStatus: 404 Not Found
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/check-if-a-user-is-a-repository-collaborator.html b/cache/api.github.com/v3/repos/collaborators/check-if-a-user-is-a-repository-collaborator.html
new file mode 100644
index 0000000000..f6618e193f
--- /dev/null
+++ b/cache/api.github.com/v3/repos/collaborators/check-if-a-user-is-a-repository-collaborator.html
@@ -0,0 +1,15 @@
+
+
+
+ Check if a user is a repository collaboratorFor organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.
+Team members will include the members of child teams.
+GET /repos/:owner/:repo/collaborators/:username
+
+
+
+ Response if user is a collaboratorStatus: 204 No Content
+
+
+
+ Response if user is not a collaboratorStatus: 404 Not Found
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/get-repository-permissions-for-a-user.html b/cache/api.github.com/v3/repos/collaborators/get-repository-permissions-for-a-user.html
new file mode 100644
index 0000000000..e7c0fc4289
--- /dev/null
+++ b/cache/api.github.com/v3/repos/collaborators/get-repository-permissions-for-a-user.html
@@ -0,0 +1,34 @@
+
+
+
+ Get repository permissions for a userChecks the repository permission of a collaborator. The possible repository permissions are admin
, write
, read
, and none
.
+GET /repos/:owner/:repo/collaborators/:username/permission
+
+
+
+ Response if user has admin permissionsStatus: 200 OK
+
+{
+ "permission": "admin",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/index.html b/cache/api.github.com/v3/repos/collaborators/index.html
index b657a5e7b3..875e82a6f1 100644
--- a/cache/api.github.com/v3/repos/collaborators/index.html
+++ b/cache/api.github.com/v3/repos/collaborators/index.html
@@ -367,17 +367,17 @@
Collaborators
-- List collaborators
-- Check if a user is a collaborator
-- Review a user's permission level
-- Add user as a collaborator
-- Remove user as a collaborator
+- List repository collaborators
+- Check if a user is a repository collaborator
+- Get repository permissions for a user
+- Add a repository collaborator
+- Remove a repository collaborator
-
+ List repository collaborators
List collaboratorsFor organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.
@@ -448,7 +448,7 @@
-
+ Check if a user is a repository collaborator
Check if a user is a collaborator
For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.
@@ -473,7 +473,7 @@
-
+ Get repository permissions for a user
Review a user's permission level
Checks the repository permission of a collaborator. The possible repository permissions are admin
, write
, read
, and none
.
@@ -515,7 +515,7 @@
-
+ Add a repository collaborator
Add user as a collaborator
This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
@@ -692,7 +692,7 @@
-
+ Remove a repository collaborator
Remove user as a collaboratorDELETE /repos/:owner/:repo/collaborators/:username
diff --git a/cache/api.github.com/v3/repos/collaborators/list-collaborators.html b/cache/api.github.com/v3/repos/collaborators/list-collaborators.html
deleted file mode 100644
index 0b92be1416..0000000000
--- a/cache/api.github.com/v3/repos/collaborators/list-collaborators.html
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
- List collaboratorsFor organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.
-Team members will include the members of child teams.
-GET /repos/:owner/:repo/collaborators
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-affiliation
-string
-Filter collaborators returned by their affiliation. Can be one of:
* outside
: All outside collaborators of an organization-owned repository.
* direct
: All collaborators with permissions to an organization-owned repository, regardless of organization membership status.
* all
: All collaborators the authenticated user can see.
Default: all
-
-
-
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false,
- "permissions": {
- "pull": true,
- "push": true,
- "admin": false
- }
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/list-repository-collaborators.html b/cache/api.github.com/v3/repos/collaborators/list-repository-collaborators.html
new file mode 100644
index 0000000000..ab174f2baf
--- /dev/null
+++ b/cache/api.github.com/v3/repos/collaborators/list-repository-collaborators.html
@@ -0,0 +1,60 @@
+
+
+
+ List repository collaboratorsFor organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.
+Team members will include the members of child teams.
+GET /repos/:owner/:repo/collaborators
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+affiliation
+string
+Filter collaborators returned by their affiliation. Can be one of:
* outside
: All outside collaborators of an organization-owned repository.
* direct
: All collaborators with permissions to an organization-owned repository, regardless of organization membership status.
* all
: All collaborators the authenticated user can see.
Default: all
+
+
+
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false,
+ "permissions": {
+ "pull": true,
+ "push": true,
+ "admin": false
+ }
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/remove-a-repository-collaborator.html b/cache/api.github.com/v3/repos/collaborators/remove-a-repository-collaborator.html
new file mode 100644
index 0000000000..5a8fa683ee
--- /dev/null
+++ b/cache/api.github.com/v3/repos/collaborators/remove-a-repository-collaborator.html
@@ -0,0 +1,9 @@
+
+
+
+ Remove a repository collaboratorDELETE /repos/:owner/:repo/collaborators/:username
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/remove-user-as-a-collaborator.html b/cache/api.github.com/v3/repos/collaborators/remove-user-as-a-collaborator.html
deleted file mode 100644
index 5f109c01b6..0000000000
--- a/cache/api.github.com/v3/repos/collaborators/remove-user-as-a-collaborator.html
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- Remove user as a collaboratorDELETE /repos/:owner/:repo/collaborators/:username
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/review-a-users-permission-level.html b/cache/api.github.com/v3/repos/collaborators/review-a-users-permission-level.html
deleted file mode 100644
index 5f9a70cdd0..0000000000
--- a/cache/api.github.com/v3/repos/collaborators/review-a-users-permission-level.html
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
- Review a user's permission levelChecks the repository permission of a collaborator. The possible repository permissions are admin
, write
, read
, and none
.
-GET /repos/:owner/:repo/collaborators/:username/permission
-
-
-
- Response if user has admin permissionsStatus: 200 OK
-
-{
- "permission": "admin",
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/sections.json b/cache/api.github.com/v3/repos/collaborators/sections.json
index 9224921098..2904a46618 100644
--- a/cache/api.github.com/v3/repos/collaborators/sections.json
+++ b/cache/api.github.com/v3/repos/collaborators/sections.json
@@ -1,27 +1,27 @@
[
{
- "id": "list-collaborators",
- "name": "List collaborators",
- "url": "https://developer.github.com/v3/repos/collaborators/#list-collaborators"
+ "id": "list-repository-collaborators",
+ "name": "List repository collaborators",
+ "url": "https://developer.github.com/v3/repos/collaborators/#list-repository-collaborators"
},
{
- "id": "check-if-a-user-is-a-collaborator",
- "name": "Check if a user is a collaborator",
- "url": "https://developer.github.com/v3/repos/collaborators/#check-if-a-user-is-a-collaborator"
+ "id": "check-if-a-user-is-a-repository-collaborator",
+ "name": "Check if a user is a repository collaborator",
+ "url": "https://developer.github.com/v3/repos/collaborators/#check-if-a-user-is-a-repository-collaborator"
},
{
- "id": "review-a-users-permission-level",
- "name": "Review a user's permission level",
- "url": "https://developer.github.com/v3/repos/collaborators/#review-a-users-permission-level"
+ "id": "get-repository-permissions-for-a-user",
+ "name": "Get repository permissions for a user",
+ "url": "https://developer.github.com/v3/repos/collaborators/#get-repository-permissions-for-a-user"
},
{
- "id": "add-user-as-a-collaborator",
- "name": "Add user as a collaborator",
- "url": "https://developer.github.com/v3/repos/collaborators/#add-user-as-a-collaborator"
+ "id": "add-a-repository-collaborator",
+ "name": "Add a repository collaborator",
+ "url": "https://developer.github.com/v3/repos/collaborators/#add-a-repository-collaborator"
},
{
- "id": "remove-user-as-a-collaborator",
- "name": "Remove user as a collaborator",
- "url": "https://developer.github.com/v3/repos/collaborators/#remove-user-as-a-collaborator"
+ "id": "remove-a-repository-collaborator",
+ "name": "Remove a repository collaborator",
+ "url": "https://developer.github.com/v3/repos/collaborators/#remove-a-repository-collaborator"
}
]
diff --git a/cache/api.github.com/v3/repos/comments/get-a-commit-comment.html b/cache/api.github.com/v3/repos/comments/get-a-commit-comment.html
new file mode 100644
index 0000000000..138892ae7f
--- /dev/null
+++ b/cache/api.github.com/v3/repos/comments/get-a-commit-comment.html
@@ -0,0 +1,72 @@
+
+
+
+ Get a commit commentGET /repos/:owner/:repo/comments/:comment_id
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1",
+ "url": "https://api.github.com/repos/octocat/Hello-World/comments/1",
+ "id": 1,
+ "node_id": "MDEzOkNvbW1pdENvbW1lbnQx",
+ "body": "Great stuff",
+ "path": "file1.txt",
+ "position": 4,
+ "line": 14,
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z"
+}
+
+
+
+ Reactions summary
+
+
+
+An additional reactions
object in the commit comment payload is currently available for developers to preview.
+ During the preview period, the APIs may change without advance notice.
+ Please see the blog post for full details.
+
+To access the API you must provide a custom media type in the Accept
header:
+
+ application/vnd.github.squirrel-girl-preview
+
+
+The reactions
key will have the following payload where url
can be used to construct the API location for listing and creating reactions.
+
+
+{
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "url": "https://api.github.com/repos/octocat/Hello-World/comments/1/reactions"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/comments/get-a-single-commit-comment.html b/cache/api.github.com/v3/repos/comments/get-a-single-commit-comment.html
deleted file mode 100644
index 4dd713ca18..0000000000
--- a/cache/api.github.com/v3/repos/comments/get-a-single-commit-comment.html
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
- Get a single commit commentGET /repos/:owner/:repo/comments/:comment_id
-
-
-
- ResponseStatus: 200 OK
-
-{
- "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1",
- "url": "https://api.github.com/repos/octocat/Hello-World/comments/1",
- "id": 1,
- "node_id": "MDEzOkNvbW1pdENvbW1lbnQx",
- "body": "Great stuff",
- "path": "file1.txt",
- "position": 4,
- "line": 14,
- "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "created_at": "2011-04-14T16:00:49Z",
- "updated_at": "2011-04-14T16:00:49Z"
-}
-
-
-
- Reactions summary
-
-
-
-An additional reactions
object in the commit comment payload is currently available for developers to preview.
- During the preview period, the APIs may change without advance notice.
- Please see the blog post for full details.
-
-To access the API you must provide a custom media type in the Accept
header:
-
- application/vnd.github.squirrel-girl-preview
-
-
-The reactions
key will have the following payload where url
can be used to construct the API location for listing and creating reactions.
-
-
-{
- "total_count": 5,
- "+1": 3,
- "-1": 1,
- "laugh": 0,
- "confused": 0,
- "heart": 1,
- "hooray": 0,
- "url": "https://api.github.com/repos/octocat/Hello-World/comments/1/reactions"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/comments/index.html b/cache/api.github.com/v3/repos/comments/index.html
index 0547f27841..14e5d64750 100644
--- a/cache/api.github.com/v3/repos/comments/index.html
+++ b/cache/api.github.com/v3/repos/comments/index.html
@@ -368,9 +368,9 @@
- List commit comments for a repository
-- List comments for a single commit
+- List commit comments
- Create a commit comment
-- Get a single commit comment
+- Get a commit comment
- Update a commit comment
- Delete a commit comment
- Custom media types
@@ -469,7 +469,7 @@
-
+ List commit comments
List comments for a single commit
Use the :commit_sha
to specify the commit that will have its comments listed.
@@ -662,7 +662,7 @@
-
+ Get a commit comment
Get a single commit commentGET /repos/:owner/:repo/comments/:comment_id
diff --git a/cache/api.github.com/v3/repos/comments/list-comments-for-a-single-commit.html b/cache/api.github.com/v3/repos/comments/list-comments-for-a-single-commit.html
deleted file mode 100644
index 3239af1cad..0000000000
--- a/cache/api.github.com/v3/repos/comments/list-comments-for-a-single-commit.html
+++ /dev/null
@@ -1,77 +0,0 @@
-
-
-
- List comments for a single commitUse the :commit_sha
to specify the commit that will have its comments listed.
-GET /repos/:owner/:repo/commits/:commit_sha/comments
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1",
- "url": "https://api.github.com/repos/octocat/Hello-World/comments/1",
- "id": 1,
- "node_id": "MDEzOkNvbW1pdENvbW1lbnQx",
- "body": "Great stuff",
- "path": "file1.txt",
- "position": 4,
- "line": 14,
- "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "created_at": "2011-04-14T16:00:49Z",
- "updated_at": "2011-04-14T16:00:49Z"
- }
-]
-
-
-
- Reactions summary
-
-
-
-An additional reactions
object in the commit comment payload is currently available for developers to preview.
- During the preview period, the APIs may change without advance notice.
- Please see the blog post for full details.
-
-To access the API you must provide a custom media type in the Accept
header:
-
- application/vnd.github.squirrel-girl-preview
-
-
-The reactions
key will have the following payload where url
can be used to construct the API location for listing and creating reactions.
-
-
-{
- "total_count": 5,
- "+1": 3,
- "-1": 1,
- "laugh": 0,
- "confused": 0,
- "heart": 1,
- "hooray": 0,
- "url": "https://api.github.com/repos/octocat/Hello-World/comments/1/reactions"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/comments/list-commit-comments.html b/cache/api.github.com/v3/repos/comments/list-commit-comments.html
new file mode 100644
index 0000000000..197929b746
--- /dev/null
+++ b/cache/api.github.com/v3/repos/comments/list-commit-comments.html
@@ -0,0 +1,77 @@
+
+
+
+ List commit commentsUse the :commit_sha
to specify the commit that will have its comments listed.
+GET /repos/:owner/:repo/commits/:commit_sha/comments
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1",
+ "url": "https://api.github.com/repos/octocat/Hello-World/comments/1",
+ "id": 1,
+ "node_id": "MDEzOkNvbW1pdENvbW1lbnQx",
+ "body": "Great stuff",
+ "path": "file1.txt",
+ "position": 4,
+ "line": 14,
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z"
+ }
+]
+
+
+
+ Reactions summary
+
+
+
+An additional reactions
object in the commit comment payload is currently available for developers to preview.
+ During the preview period, the APIs may change without advance notice.
+ Please see the blog post for full details.
+
+To access the API you must provide a custom media type in the Accept
header:
+
+ application/vnd.github.squirrel-girl-preview
+
+
+The reactions
key will have the following payload where url
can be used to construct the API location for listing and creating reactions.
+
+
+{
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "url": "https://api.github.com/repos/octocat/Hello-World/comments/1/reactions"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/comments/sections.json b/cache/api.github.com/v3/repos/comments/sections.json
index 62a6e594e2..d9408edb51 100644
--- a/cache/api.github.com/v3/repos/comments/sections.json
+++ b/cache/api.github.com/v3/repos/comments/sections.json
@@ -5,9 +5,9 @@
"url": "https://developer.github.com/v3/repos/comments/#list-commit-comments-for-a-repository"
},
{
- "id": "list-comments-for-a-single-commit",
- "name": "List comments for a single commit",
- "url": "https://developer.github.com/v3/repos/comments/#list-comments-for-a-single-commit"
+ "id": "list-commit-comments",
+ "name": "List commit comments",
+ "url": "https://developer.github.com/v3/repos/comments/#list-commit-comments"
},
{
"id": "create-a-commit-comment",
@@ -15,9 +15,9 @@
"url": "https://developer.github.com/v3/repos/comments/#create-a-commit-comment"
},
{
- "id": "get-a-single-commit-comment",
- "name": "Get a single commit comment",
- "url": "https://developer.github.com/v3/repos/comments/#get-a-single-commit-comment"
+ "id": "get-a-commit-comment",
+ "name": "Get a commit comment",
+ "url": "https://developer.github.com/v3/repos/comments/#get-a-commit-comment"
},
{
"id": "update-a-commit-comment",
diff --git a/cache/api.github.com/v3/repos/commits/compare-two-commits.html b/cache/api.github.com/v3/repos/commits/compare-two-commits.html
index 747fa4e943..2c692e4e83 100644
--- a/cache/api.github.com/v3/repos/commits/compare-two-commits.html
+++ b/cache/api.github.com/v3/repos/commits/compare-two-commits.html
@@ -8,7 +8,7 @@
- Working with large comparisons
The response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the Commit List API to enumerate all commits in the range.
+The response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the List commits to enumerate all commits in the range.
For comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long to generate. You can typically resolve this error by using a smaller commit range.
diff --git a/cache/api.github.com/v3/repos/commits/get-a-commit.html b/cache/api.github.com/v3/repos/commits/get-a-commit.html
new file mode 100644
index 0000000000..dee7d3e2ab
--- /dev/null
+++ b/cache/api.github.com/v3/repos/commits/get-a-commit.html
@@ -0,0 +1,211 @@
+ Example
+
+
+ Get a commitReturns the contents of a single commit reference. You must have read
access for the repository to use this endpoint.
+You can pass the appropriate media type to fetch diff
and patch
formats. Diffs with binary data will have no patch
property.
+To return only the SHA-1 hash of the commit reference, you can provide the sha
custom media type in the Accept
header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.
+
GET /repos/:owner/:repo/commits/:ref
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==",
+ "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments",
+ "commit": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "author": {
+ "name": "Monalisa Octocat",
+ "email": "support@github.com",
+ "date": "2011-04-14T16:00:49Z"
+ },
+ "committer": {
+ "name": "Monalisa Octocat",
+ "email": "support@github.com",
+ "date": "2011-04-14T16:00:49Z"
+ },
+ "message": "Fix all the bugs",
+ "tree": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ },
+ "comment_count": 0,
+ "verification": {
+ "verified": false,
+ "reason": "unsigned",
+ "signature": null,
+ "payload": null
+ }
+ },
+ "author": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "committer": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "parents": [
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ }
+ ],
+ "stats": {
+ "additions": 104,
+ "deletions": 4,
+ "total": 108
+ },
+ "files": [
+ {
+ "filename": "file1.txt",
+ "additions": 10,
+ "deletions": 2,
+ "changes": 12,
+ "status": "modified",
+ "raw_url": "https://github.com/octocat/Hello-World/raw/7ca483543807a51b6079e54ac4cc392bc29ae284/file1.txt",
+ "blob_url": "https://github.com/octocat/Hello-World/blob/7ca483543807a51b6079e54ac4cc392bc29ae284/file1.txt",
+ "patch": "@@ -29,7 +29,7 @@\n....."
+ }
+ ]
+}
+
+
+
+ Signature verification object
The response will include a verification
object that describes the result of verifying the commit's signature. The following fields are included in the verification
object:
+
+
+
+Name
+Type
+Description
+
+
+
+
+verified
+boolean
+Indicates whether GitHub considers the signature in this commit to be verified.
+
+
+reason
+string
+The reason for verified
value. Possible values and their meanings are enumerated in table below.
+
+
+signature
+string
+The signature that was extracted from the commit.
+
+
+payload
+string
+The value that was signed.
+
+
+
+These are the possible values for reason
in the verification
object:
+
+
+
+Value
+Description
+
+
+
+
+expired_key
+The key that made the signature is expired.
+
+
+not_signing_key
+The "signing" flag is not among the usage flags in the GPG key that made the signature.
+
+
+gpgverify_error
+There was an error communicating with the signature verification service.
+
+
+gpgverify_unavailable
+The signature verification service is currently unavailable.
+
+
+unsigned
+The object does not include a signature.
+
+
+unknown_signature_type
+A non-PGP signature was found in the commit.
+
+
+no_user
+No user was associated with the committer
email address in the commit.
+
+
+unverified_email
+The committer
email address in the commit was associated with a user, but the email address is not verified on her/his account.
+
+
+bad_email
+The committer
email address in the commit is not included in the identities of the PGP key that made the signature.
+
+
+unknown_key
+The key that made the signature has not been registered with any user's account.
+
+
+malformed_signature
+There was an error parsing the signature.
+
+
+invalid
+The signature could not be cryptographically verified using the key whose key-id was found in the signature.
+
+
+valid
+None of the above errors applied, so the signature is considered to be verified.
+
+
+
+
+
+ Response when retrieving the SHA-1 of a commit referenceStatus: 200 OK
+
+6dcb09b5b57875f334f61aebed695e2e4193db5e
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/commits/get-a-single-commit.html b/cache/api.github.com/v3/repos/commits/get-a-single-commit.html
deleted file mode 100644
index 56338611ca..0000000000
--- a/cache/api.github.com/v3/repos/commits/get-a-single-commit.html
+++ /dev/null
@@ -1,211 +0,0 @@
-
-
-
- Get a single commitReturns the contents of a single commit reference. You must have read
access for the repository to use this endpoint.
-You can pass the appropriate media type to fetch diff
and patch
formats. Diffs with binary data will have no patch
property.
-To return only the SHA-1 hash of the commit reference, you can provide the sha
custom media type in the Accept
header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.
-GET /repos/:owner/:repo/commits/:ref
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==",
- "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments",
- "commit": {
- "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "author": {
- "name": "Monalisa Octocat",
- "email": "support@github.com",
- "date": "2011-04-14T16:00:49Z"
- },
- "committer": {
- "name": "Monalisa Octocat",
- "email": "support@github.com",
- "date": "2011-04-14T16:00:49Z"
- },
- "message": "Fix all the bugs",
- "tree": {
- "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
- },
- "comment_count": 0,
- "verification": {
- "verified": false,
- "reason": "unsigned",
- "signature": null,
- "payload": null
- }
- },
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "committer": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "parents": [
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
- }
- ],
- "stats": {
- "additions": 104,
- "deletions": 4,
- "total": 108
- },
- "files": [
- {
- "filename": "file1.txt",
- "additions": 10,
- "deletions": 2,
- "changes": 12,
- "status": "modified",
- "raw_url": "https://github.com/octocat/Hello-World/raw/7ca483543807a51b6079e54ac4cc392bc29ae284/file1.txt",
- "blob_url": "https://github.com/octocat/Hello-World/blob/7ca483543807a51b6079e54ac4cc392bc29ae284/file1.txt",
- "patch": "@@ -29,7 +29,7 @@\n....."
- }
- ]
-}
-
-
-
- Signature verification objectThe response will include a verification
object that describes the result of verifying the commit's signature. The following fields are included in the verification
object:
-
-
-
-Name
-Type
-Description
-
-
-
-
-verified
-boolean
-Indicates whether GitHub considers the signature in this commit to be verified.
-
-
-reason
-string
-The reason for verified
value. Possible values and their meanings are enumerated in table below.
-
-
-signature
-string
-The signature that was extracted from the commit.
-
-
-payload
-string
-The value that was signed.
-
-
-
-These are the possible values for reason
in the verification
object:
-
-
-
-Value
-Description
-
-
-
-
-expired_key
-The key that made the signature is expired.
-
-
-not_signing_key
-The "signing" flag is not among the usage flags in the GPG key that made the signature.
-
-
-gpgverify_error
-There was an error communicating with the signature verification service.
-
-
-gpgverify_unavailable
-The signature verification service is currently unavailable.
-
-
-unsigned
-The object does not include a signature.
-
-
-unknown_signature_type
-A non-PGP signature was found in the commit.
-
-
-no_user
-No user was associated with the committer
email address in the commit.
-
-
-unverified_email
-The committer
email address in the commit was associated with a user, but the email address is not verified on her/his account.
-
-
-bad_email
-The committer
email address in the commit is not included in the identities of the PGP key that made the signature.
-
-
-unknown_key
-The key that made the signature has not been registered with any user's account.
-
-
-malformed_signature
-There was an error parsing the signature.
-
-
-invalid
-The signature could not be cryptographically verified using the key whose key-id was found in the signature.
-
-
-valid
-None of the above errors applied, so the signature is considered to be verified.
-
-
-
-
-
- Response when retrieving the SHA-1 of a commit referenceStatus: 200 OK
-
-6dcb09b5b57875f334f61aebed695e2e4193db5e
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/commits/index.html b/cache/api.github.com/v3/repos/commits/index.html
index 67f85561b3..a51473259e 100644
--- a/cache/api.github.com/v3/repos/commits/index.html
+++ b/cache/api.github.com/v3/repos/commits/index.html
@@ -367,17 +367,17 @@
Commits
-- List commits on a repository
-- Get a single commit
+- List commits
+- Get a commit
- Compare two commits
- List branches for HEAD commit
-- List pull requests associated with commit
+- List pull requests associated with a commit
The Repo Commits API supports listing, viewing, and comparing commits in a repository.
-
+ List commits
List commits on a repositoryGET /repos/:owner/:repo/commits
@@ -618,7 +618,7 @@
-
+ Get a commit
Get a single commit
Returns the contents of a single commit reference. You must have read
access for the repository to use this endpoint.
@@ -864,7 +864,7 @@
- Working with large comparisons
The response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the Commit List API to enumerate all commits in the range.
+The response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the List commits to enumerate all commits in the range.
For comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long to generate. You can typically resolve this error by using a smaller commit range.
@@ -1294,7 +1294,7 @@
-
+ List pull requests associated with a commit
List pull requests associated with commit
diff --git a/cache/api.github.com/v3/repos/commits/list-commits-on-a-repository.html b/cache/api.github.com/v3/repos/commits/list-commits-on-a-repository.html
deleted file mode 100644
index 57c0a613eb..0000000000
--- a/cache/api.github.com/v3/repos/commits/list-commits-on-a-repository.html
+++ /dev/null
@@ -1,227 +0,0 @@
-
-
-
- List commits on a repositoryGET /repos/:owner/:repo/commits
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-sha
-string
-SHA or branch to start listing commits from. Default: the repository’s default branch (usually master
).
-
-
-path
-string
-Only commits containing this file path will be returned.
-
-
-author
-string
-GitHub login or email address by which to filter by commit author.
-
-
-since
-string
-Only commits after this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
-
-
-until
-string
-Only commits before this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
-
-
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==",
- "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments",
- "commit": {
- "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "author": {
- "name": "Monalisa Octocat",
- "email": "support@github.com",
- "date": "2011-04-14T16:00:49Z"
- },
- "committer": {
- "name": "Monalisa Octocat",
- "email": "support@github.com",
- "date": "2011-04-14T16:00:49Z"
- },
- "message": "Fix all the bugs",
- "tree": {
- "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
- },
- "comment_count": 0,
- "verification": {
- "verified": false,
- "reason": "unsigned",
- "signature": null,
- "payload": null
- }
- },
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "committer": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "parents": [
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
- }
- ]
- }
-]
-
-
-
- Signature verification objectThe response will include a verification
object that describes the result of verifying the commit's signature. The following fields are included in the verification
object:
-
-
-
-Name
-Type
-Description
-
-
-
-
-verified
-boolean
-Indicates whether GitHub considers the signature in this commit to be verified.
-
-
-reason
-string
-The reason for verified
value. Possible values and their meanings are enumerated in table below.
-
-
-signature
-string
-The signature that was extracted from the commit.
-
-
-payload
-string
-The value that was signed.
-
-
-
-These are the possible values for reason
in the verification
object:
-
-
-
-Value
-Description
-
-
-
-
-expired_key
-The key that made the signature is expired.
-
-
-not_signing_key
-The "signing" flag is not among the usage flags in the GPG key that made the signature.
-
-
-gpgverify_error
-There was an error communicating with the signature verification service.
-
-
-gpgverify_unavailable
-The signature verification service is currently unavailable.
-
-
-unsigned
-The object does not include a signature.
-
-
-unknown_signature_type
-A non-PGP signature was found in the commit.
-
-
-no_user
-No user was associated with the committer
email address in the commit.
-
-
-unverified_email
-The committer
email address in the commit was associated with a user, but the email address is not verified on her/his account.
-
-
-bad_email
-The committer
email address in the commit is not included in the identities of the PGP key that made the signature.
-
-
-unknown_key
-The key that made the signature has not been registered with any user's account.
-
-
-malformed_signature
-There was an error parsing the signature.
-
-
-invalid
-The signature could not be cryptographically verified using the key whose key-id was found in the signature.
-
-
-valid
-None of the above errors applied, so the signature is considered to be verified.
-
-
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/commits/list-commits.html b/cache/api.github.com/v3/repos/commits/list-commits.html
new file mode 100644
index 0000000000..35369464bc
--- /dev/null
+++ b/cache/api.github.com/v3/repos/commits/list-commits.html
@@ -0,0 +1,227 @@
+
+
+
+ List commitsGET /repos/:owner/:repo/commits
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+sha
+string
+SHA or branch to start listing commits from. Default: the repository’s default branch (usually master
).
+
+
+path
+string
+Only commits containing this file path will be returned.
+
+
+author
+string
+GitHub login or email address by which to filter by commit author.
+
+
+since
+string
+Only commits after this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
+
+
+until
+string
+Only commits before this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
+
+
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==",
+ "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments",
+ "commit": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "author": {
+ "name": "Monalisa Octocat",
+ "email": "support@github.com",
+ "date": "2011-04-14T16:00:49Z"
+ },
+ "committer": {
+ "name": "Monalisa Octocat",
+ "email": "support@github.com",
+ "date": "2011-04-14T16:00:49Z"
+ },
+ "message": "Fix all the bugs",
+ "tree": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ },
+ "comment_count": 0,
+ "verification": {
+ "verified": false,
+ "reason": "unsigned",
+ "signature": null,
+ "payload": null
+ }
+ },
+ "author": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "committer": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "parents": [
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ }
+ ]
+ }
+]
+
+
+
+ Signature verification objectThe response will include a verification
object that describes the result of verifying the commit's signature. The following fields are included in the verification
object:
+
+
+
+Name
+Type
+Description
+
+
+
+
+verified
+boolean
+Indicates whether GitHub considers the signature in this commit to be verified.
+
+
+reason
+string
+The reason for verified
value. Possible values and their meanings are enumerated in table below.
+
+
+signature
+string
+The signature that was extracted from the commit.
+
+
+payload
+string
+The value that was signed.
+
+
+
+These are the possible values for reason
in the verification
object:
+
+
+
+Value
+Description
+
+
+
+
+expired_key
+The key that made the signature is expired.
+
+
+not_signing_key
+The "signing" flag is not among the usage flags in the GPG key that made the signature.
+
+
+gpgverify_error
+There was an error communicating with the signature verification service.
+
+
+gpgverify_unavailable
+The signature verification service is currently unavailable.
+
+
+unsigned
+The object does not include a signature.
+
+
+unknown_signature_type
+A non-PGP signature was found in the commit.
+
+
+no_user
+No user was associated with the committer
email address in the commit.
+
+
+unverified_email
+The committer
email address in the commit was associated with a user, but the email address is not verified on her/his account.
+
+
+bad_email
+The committer
email address in the commit is not included in the identities of the PGP key that made the signature.
+
+
+unknown_key
+The key that made the signature has not been registered with any user's account.
+
+
+malformed_signature
+There was an error parsing the signature.
+
+
+invalid
+The signature could not be cryptographically verified using the key whose key-id was found in the signature.
+
+
+valid
+None of the above errors applied, so the signature is considered to be verified.
+
+
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/commits/list-pull-requests-associated-with-a-commit.html b/cache/api.github.com/v3/repos/commits/list-pull-requests-associated-with-a-commit.html
new file mode 100644
index 0000000000..6211f0ce35
--- /dev/null
+++ b/cache/api.github.com/v3/repos/commits/list-pull-requests-associated-with-a-commit.html
@@ -0,0 +1,519 @@
+
+
+
+ List pull requests associated with a commit
+
+Note: Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the blog post for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.groot-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the List pull requests endpoint.
+GET /repos/:owner/:repo/commits/:commit_sha/pulls
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347",
+ "id": 1,
+ "node_id": "MDExOlB1bGxSZXF1ZXN0MQ==",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1347",
+ "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff",
+ "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch",
+ "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347",
+ "commits_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits",
+ "review_comments_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments",
+ "review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}",
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments",
+ "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "number": 1347,
+ "state": "open",
+ "locked": true,
+ "title": "Amazing new feature",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Please pull these awesome changes in!",
+ "labels": [
+ {
+ "id": 208045946,
+ "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=",
+ "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
+ "name": "bug",
+ "description": "Something isn't working",
+ "color": "f29513",
+ "default": true
+ }
+ ],
+ "milestone": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1",
+ "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0",
+ "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels",
+ "id": 1002604,
+ "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==",
+ "number": 1,
+ "state": "open",
+ "title": "v1.0",
+ "description": "Tracking milestone for version 1.0",
+ "creator": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "open_issues": 4,
+ "closed_issues": 8,
+ "created_at": "2011-04-10T20:09:31Z",
+ "updated_at": "2014-03-03T18:58:10Z",
+ "closed_at": "2013-02-12T13:22:01Z",
+ "due_on": "2012-10-09T23:39:01Z"
+ },
+ "active_lock_reason": "too heated",
+ "created_at": "2011-01-26T19:01:12Z",
+ "updated_at": "2011-01-26T19:01:12Z",
+ "closed_at": "2011-01-26T19:01:12Z",
+ "merged_at": "2011-01-26T19:01:12Z",
+ "merge_commit_sha": "e5bd3914e2e596debea16f433f57875b5b90bcd6",
+ "assignee": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "assignees": [
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ {
+ "login": "hubot",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/hubot_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/hubot",
+ "html_url": "https://github.com/hubot",
+ "followers_url": "https://api.github.com/users/hubot/followers",
+ "following_url": "https://api.github.com/users/hubot/following{/other_user}",
+ "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/hubot/subscriptions",
+ "organizations_url": "https://api.github.com/users/hubot/orgs",
+ "repos_url": "https://api.github.com/users/hubot/repos",
+ "events_url": "https://api.github.com/users/hubot/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/hubot/received_events",
+ "type": "User",
+ "site_admin": true
+ }
+ ],
+ "requested_reviewers": [
+ {
+ "login": "other_user",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/other_user_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/other_user",
+ "html_url": "https://github.com/other_user",
+ "followers_url": "https://api.github.com/users/other_user/followers",
+ "following_url": "https://api.github.com/users/other_user/following{/other_user}",
+ "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/other_user/subscriptions",
+ "organizations_url": "https://api.github.com/users/other_user/orgs",
+ "repos_url": "https://api.github.com/users/other_user/repos",
+ "events_url": "https://api.github.com/users/other_user/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/other_user/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ ],
+ "requested_teams": [
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+ ],
+ "head": {
+ "label": "octocat:new-topic",
+ "ref": "new-topic",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "repo": {
+ "id": 1296269,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
+ "name": "Hello-World",
+ "full_name": "octocat/Hello-World",
+ "owner": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/octocat/Hello-World",
+ "description": "This your first repo!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octocat/Hello-World",
+ "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
+ "clone_url": "https://github.com/octocat/Hello-World.git",
+ "mirror_url": "git:git.example.com/octocat/Hello-World",
+ "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks",
+ "svn_url": "https://svn.github.com/octocat/Hello-World",
+ "homepage": "https://github.com",
+ "language": null,
+ "forks_count": 9,
+ "stargazers_count": 80,
+ "watchers_count": 80,
+ "size": 108,
+ "default_branch": "master",
+ "open_issues_count": 0,
+ "is_template": true,
+ "topics": [
+ "octocat",
+ "atom",
+ "electron",
+ "api"
+ ],
+ "has_issues": true,
+ "has_projects": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "has_downloads": true,
+ "archived": false,
+ "disabled": false,
+ "visibility": "public",
+ "pushed_at": "2011-01-26T19:06:43Z",
+ "created_at": "2011-01-26T19:01:12Z",
+ "updated_at": "2011-01-26T19:14:43Z",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "allow_rebase_merge": true,
+ "template_repository": null,
+ "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
+ "allow_squash_merge": true,
+ "allow_merge_commit": true,
+ "subscribers_count": 42,
+ "network_count": 0
+ }
+ },
+ "base": {
+ "label": "octocat:master",
+ "ref": "master",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "repo": {
+ "id": 1296269,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
+ "name": "Hello-World",
+ "full_name": "octocat/Hello-World",
+ "owner": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/octocat/Hello-World",
+ "description": "This your first repo!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octocat/Hello-World",
+ "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
+ "clone_url": "https://github.com/octocat/Hello-World.git",
+ "mirror_url": "git:git.example.com/octocat/Hello-World",
+ "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks",
+ "svn_url": "https://svn.github.com/octocat/Hello-World",
+ "homepage": "https://github.com",
+ "language": null,
+ "forks_count": 9,
+ "stargazers_count": 80,
+ "watchers_count": 80,
+ "size": 108,
+ "default_branch": "master",
+ "open_issues_count": 0,
+ "is_template": true,
+ "topics": [
+ "octocat",
+ "atom",
+ "electron",
+ "api"
+ ],
+ "has_issues": true,
+ "has_projects": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "has_downloads": true,
+ "archived": false,
+ "disabled": false,
+ "visibility": "public",
+ "pushed_at": "2011-01-26T19:06:43Z",
+ "created_at": "2011-01-26T19:01:12Z",
+ "updated_at": "2011-01-26T19:14:43Z",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "allow_rebase_merge": true,
+ "template_repository": null,
+ "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
+ "allow_squash_merge": true,
+ "allow_merge_commit": true,
+ "subscribers_count": 42,
+ "network_count": 0
+ }
+ },
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1347"
+ },
+ "issue": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347"
+ },
+ "comments": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments"
+ },
+ "review_comments": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments"
+ },
+ "review_comment": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}"
+ },
+ "commits": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits"
+ },
+ "statuses": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ }
+ },
+ "author_association": "OWNER",
+ "draft": false
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/commits/list-pull-requests-associated-with-commit.html b/cache/api.github.com/v3/repos/commits/list-pull-requests-associated-with-commit.html
deleted file mode 100644
index 3ceb9e06a2..0000000000
--- a/cache/api.github.com/v3/repos/commits/list-pull-requests-associated-with-commit.html
+++ /dev/null
@@ -1,519 +0,0 @@
-
-
-
- List pull requests associated with commit
-
-Note: Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the blog post for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.groot-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the List pull requests endpoint.
-GET /repos/:owner/:repo/commits/:commit_sha/pulls
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347",
- "id": 1,
- "node_id": "MDExOlB1bGxSZXF1ZXN0MQ==",
- "html_url": "https://github.com/octocat/Hello-World/pull/1347",
- "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff",
- "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch",
- "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347",
- "commits_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits",
- "review_comments_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments",
- "review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}",
- "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments",
- "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "number": 1347,
- "state": "open",
- "locked": true,
- "title": "Amazing new feature",
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "Please pull these awesome changes in!",
- "labels": [
- {
- "id": 208045946,
- "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=",
- "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
- "name": "bug",
- "description": "Something isn't working",
- "color": "f29513",
- "default": true
- }
- ],
- "milestone": {
- "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1",
- "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0",
- "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels",
- "id": 1002604,
- "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==",
- "number": 1,
- "state": "open",
- "title": "v1.0",
- "description": "Tracking milestone for version 1.0",
- "creator": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "open_issues": 4,
- "closed_issues": 8,
- "created_at": "2011-04-10T20:09:31Z",
- "updated_at": "2014-03-03T18:58:10Z",
- "closed_at": "2013-02-12T13:22:01Z",
- "due_on": "2012-10-09T23:39:01Z"
- },
- "active_lock_reason": "too heated",
- "created_at": "2011-01-26T19:01:12Z",
- "updated_at": "2011-01-26T19:01:12Z",
- "closed_at": "2011-01-26T19:01:12Z",
- "merged_at": "2011-01-26T19:01:12Z",
- "merge_commit_sha": "e5bd3914e2e596debea16f433f57875b5b90bcd6",
- "assignee": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "assignees": [
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- {
- "login": "hubot",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/hubot_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/hubot",
- "html_url": "https://github.com/hubot",
- "followers_url": "https://api.github.com/users/hubot/followers",
- "following_url": "https://api.github.com/users/hubot/following{/other_user}",
- "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/hubot/subscriptions",
- "organizations_url": "https://api.github.com/users/hubot/orgs",
- "repos_url": "https://api.github.com/users/hubot/repos",
- "events_url": "https://api.github.com/users/hubot/events{/privacy}",
- "received_events_url": "https://api.github.com/users/hubot/received_events",
- "type": "User",
- "site_admin": true
- }
- ],
- "requested_reviewers": [
- {
- "login": "other_user",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/other_user_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/other_user",
- "html_url": "https://github.com/other_user",
- "followers_url": "https://api.github.com/users/other_user/followers",
- "following_url": "https://api.github.com/users/other_user/following{/other_user}",
- "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/other_user/subscriptions",
- "organizations_url": "https://api.github.com/users/other_user/orgs",
- "repos_url": "https://api.github.com/users/other_user/repos",
- "events_url": "https://api.github.com/users/other_user/events{/privacy}",
- "received_events_url": "https://api.github.com/users/other_user/received_events",
- "type": "User",
- "site_admin": false
- }
- ],
- "requested_teams": [
- {
- "id": 1,
- "node_id": "MDQ6VGVhbTE=",
- "url": "https://api.github.com/teams/1",
- "html_url": "https://api.github.com/teams/justice-league",
- "name": "Justice League",
- "slug": "justice-league",
- "description": "A great team.",
- "privacy": "closed",
- "permission": "admin",
- "members_url": "https://api.github.com/teams/1/members{/member}",
- "repositories_url": "https://api.github.com/teams/1/repos",
- "parent": null
- }
- ],
- "head": {
- "label": "octocat:new-topic",
- "ref": "new-topic",
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "repo": {
- "id": 1296269,
- "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
- "name": "Hello-World",
- "full_name": "octocat/Hello-World",
- "owner": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "private": false,
- "html_url": "https://github.com/octocat/Hello-World",
- "description": "This your first repo!",
- "fork": false,
- "url": "https://api.github.com/repos/octocat/Hello-World",
- "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
- "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
- "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
- "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
- "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
- "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
- "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
- "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
- "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
- "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
- "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
- "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
- "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
- "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
- "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
- "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
- "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
- "git_url": "git:github.com/octocat/Hello-World.git",
- "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
- "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
- "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
- "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
- "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
- "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
- "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
- "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
- "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
- "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
- "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
- "ssh_url": "git@github.com:octocat/Hello-World.git",
- "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
- "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
- "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
- "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
- "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
- "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
- "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
- "clone_url": "https://github.com/octocat/Hello-World.git",
- "mirror_url": "git:git.example.com/octocat/Hello-World",
- "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks",
- "svn_url": "https://svn.github.com/octocat/Hello-World",
- "homepage": "https://github.com",
- "language": null,
- "forks_count": 9,
- "stargazers_count": 80,
- "watchers_count": 80,
- "size": 108,
- "default_branch": "master",
- "open_issues_count": 0,
- "is_template": true,
- "topics": [
- "octocat",
- "atom",
- "electron",
- "api"
- ],
- "has_issues": true,
- "has_projects": true,
- "has_wiki": true,
- "has_pages": false,
- "has_downloads": true,
- "archived": false,
- "disabled": false,
- "visibility": "public",
- "pushed_at": "2011-01-26T19:06:43Z",
- "created_at": "2011-01-26T19:01:12Z",
- "updated_at": "2011-01-26T19:14:43Z",
- "permissions": {
- "admin": false,
- "push": false,
- "pull": true
- },
- "allow_rebase_merge": true,
- "template_repository": null,
- "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
- "allow_squash_merge": true,
- "allow_merge_commit": true,
- "subscribers_count": 42,
- "network_count": 0
- }
- },
- "base": {
- "label": "octocat:master",
- "ref": "master",
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "repo": {
- "id": 1296269,
- "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
- "name": "Hello-World",
- "full_name": "octocat/Hello-World",
- "owner": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "private": false,
- "html_url": "https://github.com/octocat/Hello-World",
- "description": "This your first repo!",
- "fork": false,
- "url": "https://api.github.com/repos/octocat/Hello-World",
- "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
- "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
- "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
- "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
- "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
- "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
- "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
- "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
- "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
- "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
- "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
- "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
- "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
- "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
- "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
- "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
- "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
- "git_url": "git:github.com/octocat/Hello-World.git",
- "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
- "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
- "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
- "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
- "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
- "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
- "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
- "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
- "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
- "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
- "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
- "ssh_url": "git@github.com:octocat/Hello-World.git",
- "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
- "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
- "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
- "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
- "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
- "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
- "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
- "clone_url": "https://github.com/octocat/Hello-World.git",
- "mirror_url": "git:git.example.com/octocat/Hello-World",
- "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks",
- "svn_url": "https://svn.github.com/octocat/Hello-World",
- "homepage": "https://github.com",
- "language": null,
- "forks_count": 9,
- "stargazers_count": 80,
- "watchers_count": 80,
- "size": 108,
- "default_branch": "master",
- "open_issues_count": 0,
- "is_template": true,
- "topics": [
- "octocat",
- "atom",
- "electron",
- "api"
- ],
- "has_issues": true,
- "has_projects": true,
- "has_wiki": true,
- "has_pages": false,
- "has_downloads": true,
- "archived": false,
- "disabled": false,
- "visibility": "public",
- "pushed_at": "2011-01-26T19:06:43Z",
- "created_at": "2011-01-26T19:01:12Z",
- "updated_at": "2011-01-26T19:14:43Z",
- "permissions": {
- "admin": false,
- "push": false,
- "pull": true
- },
- "allow_rebase_merge": true,
- "template_repository": null,
- "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
- "allow_squash_merge": true,
- "allow_merge_commit": true,
- "subscribers_count": 42,
- "network_count": 0
- }
- },
- "_links": {
- "self": {
- "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347"
- },
- "html": {
- "href": "https://github.com/octocat/Hello-World/pull/1347"
- },
- "issue": {
- "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347"
- },
- "comments": {
- "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments"
- },
- "review_comments": {
- "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments"
- },
- "review_comment": {
- "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}"
- },
- "commits": {
- "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits"
- },
- "statuses": {
- "href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e"
- }
- },
- "author_association": "OWNER",
- "draft": false
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/commits/sections.json b/cache/api.github.com/v3/repos/commits/sections.json
index 6e18c5ebce..efd26f652a 100644
--- a/cache/api.github.com/v3/repos/commits/sections.json
+++ b/cache/api.github.com/v3/repos/commits/sections.json
@@ -1,13 +1,13 @@
[
{
- "id": "list-commits-on-a-repository",
- "name": "List commits on a repository",
- "url": "https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository"
+ "id": "list-commits",
+ "name": "List commits",
+ "url": "https://developer.github.com/v3/repos/commits/#list-commits"
},
{
- "id": "get-a-single-commit",
- "name": "Get a single commit",
- "url": "https://developer.github.com/v3/repos/commits/#get-a-single-commit"
+ "id": "get-a-commit",
+ "name": "Get a commit",
+ "url": "https://developer.github.com/v3/repos/commits/#get-a-commit"
},
{
"id": "compare-two-commits",
@@ -20,8 +20,8 @@
"url": "https://developer.github.com/v3/repos/commits/#list-branches-for-head-commit"
},
{
- "id": "list-pull-requests-associated-with-commit",
- "name": "List pull requests associated with commit",
- "url": "https://developer.github.com/v3/repos/commits/#list-pull-requests-associated-with-commit"
+ "id": "list-pull-requests-associated-with-a-commit",
+ "name": "List pull requests associated with a commit",
+ "url": "https://developer.github.com/v3/repos/commits/#list-pull-requests-associated-with-a-commit"
}
]
diff --git a/cache/api.github.com/v3/repos/community/get-community-profile-metrics.html b/cache/api.github.com/v3/repos/community/get-community-profile-metrics.html
new file mode 100644
index 0000000000..af3faca412
--- /dev/null
+++ b/cache/api.github.com/v3/repos/community/get-community-profile-metrics.html
@@ -0,0 +1,48 @@
+
+
+
+ Get community profile metricsGET /repos/:owner/:repo/community/profile
+
+This endpoint will return all community profile metrics, including an overall health score, repository description, the presence of documentation, detected code of conduct, detected license, and the presence of ISSUE_TEMPLATE, PULL_REQUEST_TEMPLATE, README, and CONTRIBUTING files.
+
+
+ ResponseStatus: 200 OK
+
+{
+ "health_percentage": 100,
+ "description": "My first repository on GitHub!",
+ "documentation": true,
+ "files": {
+ "code_of_conduct": {
+ "name": "Contributor Covenant",
+ "key": "contributor_covenant",
+ "url": "https://api.github.com/codes_of_conduct/contributor_covenant",
+ "html_url": "https://github.com/octocat/Hello-World/blob/master/CODE_OF_CONDUCT.md"
+ },
+ "contributing": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/contents/CONTRIBUTING",
+ "html_url": "https://github.com/octocat/Hello-World/blob/master/CONTRIBUTING"
+ },
+ "issue_template": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/contents/ISSUE_TEMPLATE",
+ "html_url": "https://github.com/octocat/Hello-World/blob/master/ISSUE_TEMPLATE"
+ },
+ "pull_request_template": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/contents/PULL_REQUEST_TEMPLATE",
+ "html_url": "https://github.com/octocat/Hello-World/blob/master/PULL_REQUEST_TEMPLATE"
+ },
+ "license": {
+ "name": "MIT License",
+ "key": "mit",
+ "spdx_id": "MIT",
+ "url": "https://api.github.com/licenses/mit",
+ "html_url": "https://github.com/octocat/Hello-World/blob/master/LICENSE"
+ },
+ "readme": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/contents/README.md",
+ "html_url": "https://github.com/octocat/Hello-World/blob/master/README.md"
+ }
+ },
+ "updated_at": "2017-02-28T19:09:29Z"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/community/index.html b/cache/api.github.com/v3/repos/community/index.html
index d3df8f0df0..5bc7e745b8 100644
--- a/cache/api.github.com/v3/repos/community/index.html
+++ b/cache/api.github.com/v3/repos/community/index.html
@@ -380,7 +380,7 @@
-
+ Get community profile metrics
Retrieve community profile metricsGET /repos/:owner/:repo/community/profile
diff --git a/cache/api.github.com/v3/repos/community/retrieve-community-profile-metrics.html b/cache/api.github.com/v3/repos/community/retrieve-community-profile-metrics.html
deleted file mode 100644
index 79329b505c..0000000000
--- a/cache/api.github.com/v3/repos/community/retrieve-community-profile-metrics.html
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
- Retrieve community profile metricsGET /repos/:owner/:repo/community/profile
-
-This endpoint will return all community profile metrics, including an overall health score, repository description, the presence of documentation, detected code of conduct, detected license, and the presence of ISSUE_TEMPLATE, PULL_REQUEST_TEMPLATE, README, and CONTRIBUTING files.
-
-
- ResponseStatus: 200 OK
-
-{
- "health_percentage": 100,
- "description": "My first repository on GitHub!",
- "documentation": true,
- "files": {
- "code_of_conduct": {
- "name": "Contributor Covenant",
- "key": "contributor_covenant",
- "url": "https://api.github.com/codes_of_conduct/contributor_covenant",
- "html_url": "https://github.com/octocat/Hello-World/blob/master/CODE_OF_CONDUCT.md"
- },
- "contributing": {
- "url": "https://api.github.com/repos/octocat/Hello-World/contents/CONTRIBUTING",
- "html_url": "https://github.com/octocat/Hello-World/blob/master/CONTRIBUTING"
- },
- "issue_template": {
- "url": "https://api.github.com/repos/octocat/Hello-World/contents/ISSUE_TEMPLATE",
- "html_url": "https://github.com/octocat/Hello-World/blob/master/ISSUE_TEMPLATE"
- },
- "pull_request_template": {
- "url": "https://api.github.com/repos/octocat/Hello-World/contents/PULL_REQUEST_TEMPLATE",
- "html_url": "https://github.com/octocat/Hello-World/blob/master/PULL_REQUEST_TEMPLATE"
- },
- "license": {
- "name": "MIT License",
- "key": "mit",
- "spdx_id": "MIT",
- "url": "https://api.github.com/licenses/mit",
- "html_url": "https://github.com/octocat/Hello-World/blob/master/LICENSE"
- },
- "readme": {
- "url": "https://api.github.com/repos/octocat/Hello-World/contents/README.md",
- "html_url": "https://github.com/octocat/Hello-World/blob/master/README.md"
- }
- },
- "updated_at": "2017-02-28T19:09:29Z"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/community/sections.json b/cache/api.github.com/v3/repos/community/sections.json
index 339a578e72..c1c13dcd58 100644
--- a/cache/api.github.com/v3/repos/community/sections.json
+++ b/cache/api.github.com/v3/repos/community/sections.json
@@ -1,7 +1,7 @@
[
{
- "id": "retrieve-community-profile-metrics",
- "name": "Retrieve community profile metrics",
- "url": "https://developer.github.com/v3/repos/community/#retrieve-community-profile-metrics"
+ "id": "get-community-profile-metrics",
+ "name": "Get community profile metrics",
+ "url": "https://developer.github.com/v3/repos/community/#get-community-profile-metrics"
}
]
diff --git a/cache/api.github.com/v3/repos/contents/create-or-update-a-file.html b/cache/api.github.com/v3/repos/contents/create-or-update-a-file.html
deleted file mode 100644
index b5a3f705c0..0000000000
--- a/cache/api.github.com/v3/repos/contents/create-or-update-a-file.html
+++ /dev/null
@@ -1,213 +0,0 @@
-
-
-
- Create or update a fileCreates a new file or updates an existing file in a repository.
-PUT /repos/:owner/:repo/contents/:path
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-message
-string
-
-Required. The commit message.
-
-
-content
-string
-
-Required. The new file content, using Base64 encoding.
-
-
-sha
-string
-
-Required if you are updating a file. The blob SHA of the file being replaced.
-
-
-branch
-string
-The branch name. Default: the repository’s default branch (usually master
)
-
-
-committer
-object
-The person that committed the file. Default: the authenticated user.
-
-
-author
-object
-The author of the file. Default: The committer
or the authenticated user if you omit committer
.
-
-
-
-Both the author
and committer
parameters have the same keys:
-
-
-
-Name
-Type
-Description
-
-
-
-
-name
-string
-
-Required. The name of the author or committer of the commit. You'll receive a 422
status code if name
is omitted.
-
-
-email
-string
-
-Required. The email of the author or committer of the commit. You'll receive a 422
status code if email
is omitted.
-
-
-
-
-
- Example for creating a file{
- "message": "my commit message",
- "committer": {
- "name": "Monalisa Octocat",
- "email": "octocat@github.com"
- },
- "content": "bXkgbmV3IGZpbGUgY29udGVudHM="
-}
-
-
-
- ResponseStatus: 201 Created
-
-{
- "content": {
- "name": "hello.txt",
- "path": "notes/hello.txt",
- "sha": "95b966ae1c166bd92f8ae7d1c313e738c731dfc3",
- "size": 9,
- "url": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt",
- "html_url": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt",
- "git_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/95b966ae1c166bd92f8ae7d1c313e738c731dfc3",
- "download_url": "https://raw.githubusercontent.com/octocat/HelloWorld/master/notes/hello.txt",
- "type": "file",
- "_links": {
- "self": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt",
- "git": "https://api.github.com/repos/octocat/Hello-World/git/blobs/95b966ae1c166bd92f8ae7d1c313e738c731dfc3",
- "html": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt"
- }
- },
- "commit": {
- "sha": "7638417db6d59f3c431d3e1f261cc637155684cd",
- "node_id": "MDY6Q29tbWl0NzYzODQxN2RiNmQ1OWYzYzQzMWQzZTFmMjYxY2M2MzcxNTU2ODRjZA==",
- "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd",
- "html_url": "https://github.com/octocat/Hello-World/git/commit/7638417db6d59f3c431d3e1f261cc637155684cd",
- "author": {
- "date": "2014-11-07T22:01:45Z",
- "name": "Monalisa Octocat",
- "email": "octocat@github.com"
- },
- "committer": {
- "date": "2014-11-07T22:01:45Z",
- "name": "Monalisa Octocat",
- "email": "octocat@github.com"
- },
- "message": "my commit message",
- "tree": {
- "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/691272480426f78a0138979dd3ce63b77f706feb",
- "sha": "691272480426f78a0138979dd3ce63b77f706feb"
- },
- "parents": [
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/1acc419d4d6a9ce985db7be48c6349a0475975b5",
- "html_url": "https://github.com/octocat/Hello-World/git/commit/1acc419d4d6a9ce985db7be48c6349a0475975b5",
- "sha": "1acc419d4d6a9ce985db7be48c6349a0475975b5"
- }
- ],
- "verification": {
- "verified": false,
- "reason": "unsigned",
- "signature": null,
- "payload": null
- }
- }
-}
-
-
-
- Example for updating a file{
- "message": "a new commit message",
- "committer": {
- "name": "Monalisa Octocat",
- "email": "octocat@github.com"
- },
- "content": "bXkgdXBkYXRlZCBmaWxlIGNvbnRlbnRz",
- "sha": "95b966ae1c166bd92f8ae7d1c313e738c731dfc3"
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "content": {
- "name": "hello.txt",
- "path": "notes/hello.txt",
- "sha": "a56507ed892d05a37c6d6128c260937ea4d287bd",
- "size": 9,
- "url": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt",
- "html_url": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt",
- "git_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/a56507ed892d05a37c6d6128c260937ea4d287bd",
- "download_url": "https://raw.githubusercontent.com/octocat/HelloWorld/master/notes/hello.txt",
- "type": "file",
- "_links": {
- "self": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt",
- "git": "https://api.github.com/repos/octocat/Hello-World/git/blobs/a56507ed892d05a37c6d6128c260937ea4d287bd",
- "html": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt"
- }
- },
- "commit": {
- "sha": "18a43cd8e1e3a79c786e3d808a73d23b6d212b16",
- "node_id": "MDY6Q29tbWl0MThhNDNjZDhlMWUzYTc5Yzc4NmUzZDgwOGE3M2QyM2I2ZDIxMmIxNg==",
- "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/18a43cd8e1e3a79c786e3d808a73d23b6d212b16",
- "html_url": "https://github.com/octocat/Hello-World/git/commit/18a43cd8e1e3a79c786e3d808a73d23b6d212b16",
- "author": {
- "date": "2014-11-07T22:01:45Z",
- "name": "Monalisa Octocat",
- "email": "octocat@github.com"
- },
- "committer": {
- "date": "2014-11-07T22:01:45Z",
- "name": "Monalisa Octocat",
- "email": "octocat@github.com"
- },
- "message": "my commit message",
- "tree": {
- "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/9a21f8e2018f42ffcf369b24d2cd20bc25c9e66f",
- "sha": "9a21f8e2018f42ffcf369b24d2cd20bc25c9e66f"
- },
- "parents": [
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/da5a433788da5c255edad7979b328b67d79f53f6",
- "html_url": "https://github.com/octocat/Hello-World/git/commit/da5a433788da5c255edad7979b328b67d79f53f6",
- "sha": "da5a433788da5c255edad7979b328b67d79f53f6"
- }
- ],
- "verification": {
- "verified": false,
- "reason": "unsigned",
- "signature": null,
- "payload": null
- }
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/contents/create-or-update-file-contents.html b/cache/api.github.com/v3/repos/contents/create-or-update-file-contents.html
new file mode 100644
index 0000000000..964e1c3406
--- /dev/null
+++ b/cache/api.github.com/v3/repos/contents/create-or-update-file-contents.html
@@ -0,0 +1,213 @@
+
+
+
+ Create or update file contentsCreates a new file or replaces an existing file in a repository.
+PUT /repos/:owner/:repo/contents/:path
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+message
+string
+
+Required. The commit message.
+
+
+content
+string
+
+Required. The new file content, using Base64 encoding.
+
+
+sha
+string
+
+Required if you are updating a file. The blob SHA of the file being replaced.
+
+
+branch
+string
+The branch name. Default: the repository’s default branch (usually master
)
+
+
+committer
+object
+The person that committed the file. Default: the authenticated user.
+
+
+author
+object
+The author of the file. Default: The committer
or the authenticated user if you omit committer
.
+
+
+
+Both the author
and committer
parameters have the same keys:
+
+
+
+Name
+Type
+Description
+
+
+
+
+name
+string
+
+Required. The name of the author or committer of the commit. You'll receive a 422
status code if name
is omitted.
+
+
+email
+string
+
+Required. The email of the author or committer of the commit. You'll receive a 422
status code if email
is omitted.
+
+
+
+
+
+ Example for creating a file{
+ "message": "my commit message",
+ "committer": {
+ "name": "Monalisa Octocat",
+ "email": "octocat@github.com"
+ },
+ "content": "bXkgbmV3IGZpbGUgY29udGVudHM="
+}
+
+
+
+ ResponseStatus: 201 Created
+
+{
+ "content": {
+ "name": "hello.txt",
+ "path": "notes/hello.txt",
+ "sha": "95b966ae1c166bd92f8ae7d1c313e738c731dfc3",
+ "size": 9,
+ "url": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt",
+ "html_url": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt",
+ "git_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/95b966ae1c166bd92f8ae7d1c313e738c731dfc3",
+ "download_url": "https://raw.githubusercontent.com/octocat/HelloWorld/master/notes/hello.txt",
+ "type": "file",
+ "_links": {
+ "self": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt",
+ "git": "https://api.github.com/repos/octocat/Hello-World/git/blobs/95b966ae1c166bd92f8ae7d1c313e738c731dfc3",
+ "html": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt"
+ }
+ },
+ "commit": {
+ "sha": "7638417db6d59f3c431d3e1f261cc637155684cd",
+ "node_id": "MDY6Q29tbWl0NzYzODQxN2RiNmQ1OWYzYzQzMWQzZTFmMjYxY2M2MzcxNTU2ODRjZA==",
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd",
+ "html_url": "https://github.com/octocat/Hello-World/git/commit/7638417db6d59f3c431d3e1f261cc637155684cd",
+ "author": {
+ "date": "2014-11-07T22:01:45Z",
+ "name": "Monalisa Octocat",
+ "email": "octocat@github.com"
+ },
+ "committer": {
+ "date": "2014-11-07T22:01:45Z",
+ "name": "Monalisa Octocat",
+ "email": "octocat@github.com"
+ },
+ "message": "my commit message",
+ "tree": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/691272480426f78a0138979dd3ce63b77f706feb",
+ "sha": "691272480426f78a0138979dd3ce63b77f706feb"
+ },
+ "parents": [
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/1acc419d4d6a9ce985db7be48c6349a0475975b5",
+ "html_url": "https://github.com/octocat/Hello-World/git/commit/1acc419d4d6a9ce985db7be48c6349a0475975b5",
+ "sha": "1acc419d4d6a9ce985db7be48c6349a0475975b5"
+ }
+ ],
+ "verification": {
+ "verified": false,
+ "reason": "unsigned",
+ "signature": null,
+ "payload": null
+ }
+ }
+}
+
+
+
+ Example for updating a file{
+ "message": "a new commit message",
+ "committer": {
+ "name": "Monalisa Octocat",
+ "email": "octocat@github.com"
+ },
+ "content": "bXkgdXBkYXRlZCBmaWxlIGNvbnRlbnRz",
+ "sha": "95b966ae1c166bd92f8ae7d1c313e738c731dfc3"
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "content": {
+ "name": "hello.txt",
+ "path": "notes/hello.txt",
+ "sha": "a56507ed892d05a37c6d6128c260937ea4d287bd",
+ "size": 9,
+ "url": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt",
+ "html_url": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt",
+ "git_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/a56507ed892d05a37c6d6128c260937ea4d287bd",
+ "download_url": "https://raw.githubusercontent.com/octocat/HelloWorld/master/notes/hello.txt",
+ "type": "file",
+ "_links": {
+ "self": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt",
+ "git": "https://api.github.com/repos/octocat/Hello-World/git/blobs/a56507ed892d05a37c6d6128c260937ea4d287bd",
+ "html": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt"
+ }
+ },
+ "commit": {
+ "sha": "18a43cd8e1e3a79c786e3d808a73d23b6d212b16",
+ "node_id": "MDY6Q29tbWl0MThhNDNjZDhlMWUzYTc5Yzc4NmUzZDgwOGE3M2QyM2I2ZDIxMmIxNg==",
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/18a43cd8e1e3a79c786e3d808a73d23b6d212b16",
+ "html_url": "https://github.com/octocat/Hello-World/git/commit/18a43cd8e1e3a79c786e3d808a73d23b6d212b16",
+ "author": {
+ "date": "2014-11-07T22:01:45Z",
+ "name": "Monalisa Octocat",
+ "email": "octocat@github.com"
+ },
+ "committer": {
+ "date": "2014-11-07T22:01:45Z",
+ "name": "Monalisa Octocat",
+ "email": "octocat@github.com"
+ },
+ "message": "my commit message",
+ "tree": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/9a21f8e2018f42ffcf369b24d2cd20bc25c9e66f",
+ "sha": "9a21f8e2018f42ffcf369b24d2cd20bc25c9e66f"
+ },
+ "parents": [
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/da5a433788da5c255edad7979b328b67d79f53f6",
+ "html_url": "https://github.com/octocat/Hello-World/git/commit/da5a433788da5c255edad7979b328b67d79f53f6",
+ "sha": "da5a433788da5c255edad7979b328b67d79f53f6"
+ }
+ ],
+ "verification": {
+ "verified": false,
+ "reason": "unsigned",
+ "signature": null,
+ "payload": null
+ }
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/contents/custom-media-types.html b/cache/api.github.com/v3/repos/contents/custom-media-types.html
index 964222eb30..adf111a81d 100644
--- a/cache/api.github.com/v3/repos/contents/custom-media-types.html
+++ b/cache/api.github.com/v3/repos/contents/custom-media-types.html
@@ -1,12 +1,12 @@
- Custom media typesREADMEs, files, and symlinks support the following custom media types:
+READMEs, files, and symlinks support the following custom media types:
application/vnd.github.VERSION.raw
application/vnd.github.VERSION.html
Use the .raw
media type to retrieve the contents of the file.
For markup files such as Markdown or AsciiDoc, you can retrieve the rendered HTML using the .html
media type. Markup languages are rendered to HTML using our open-source Markup library.
-All objects support the following custom media type:
+All objects support the following custom media type:
application/vnd.github.VERSION.object
Use the object
media type parameter to retrieve the contents in a consistent object format regardless of the content type. For example, instead of an array of objects
diff --git a/cache/api.github.com/v3/repos/contents/download-a-repository-archive.html b/cache/api.github.com/v3/repos/contents/download-a-repository-archive.html
new file mode 100644
index 0000000000..41b49f669c
--- /dev/null
+++ b/cache/api.github.com/v3/repos/contents/download-a-repository-archive.html
@@ -0,0 +1,20 @@
+
+
+
+ Download a repository archiveGets a redirect URL to download an archive for a repository. The :archive_format
can be either tarball
+or zipball
. The :ref
must be a valid Git reference. If you omit :ref
, the repository’s default branch (usually master
) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use the Location
header
+to make a second GET
request.
+Note: For private repositories, these links are temporary and expire after five minutes.
+GET /repos/:owner/:repo/:archive_format/:ref
+
+
+
+ ResponseStatus: 302 Found
+Location: https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires
+
+To follow redirects with curl, use the -L
switch:
+$curl -L https://api.github.com/repos/octokit/octokit.rb/tarball > octokit.tar.gz
+ % Total % Received % Xferd Average Speed Time Time Time Current
+ Dload Upload Total Spent Left Speed
+100 206k 100 206k 0 0 146k 0 0:00:01 0:00:01 --:--:-- 790k
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/contents/get-a-repository-readme.html b/cache/api.github.com/v3/repos/contents/get-a-repository-readme.html
new file mode 100644
index 0000000000..234c5ec7d6
--- /dev/null
+++ b/cache/api.github.com/v3/repos/contents/get-a-repository-readme.html
@@ -0,0 +1,48 @@
+
+
+
+ Get a repository READMEGets the preferred README for a repository.
+GET /repos/:owner/:repo/readme
+
+READMEs support custom media types for retrieving the raw content or rendered HTML.
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+ref
+string
+The name of the commit/branch/tag. Default: the repository’s default branch (usually master
)
+
+
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "type": "file",
+ "encoding": "base64",
+ "size": 5362,
+ "name": "README.md",
+ "path": "README.md",
+ "content": "encoded content ...",
+ "sha": "3d21ec53a331a6f037a91c368710b99387d012c1",
+ "url": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md",
+ "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1",
+ "html_url": "https://github.com/octokit/octokit.rb/blob/master/README.md",
+ "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md",
+ "_links": {
+ "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1",
+ "self": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md",
+ "html": "https://github.com/octokit/octokit.rb/blob/master/README.md"
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/contents/get-archive-link.html b/cache/api.github.com/v3/repos/contents/get-archive-link.html
deleted file mode 100644
index 016140af2d..0000000000
--- a/cache/api.github.com/v3/repos/contents/get-archive-link.html
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- Get archive linkGets a redirect URL to download an archive for a repository. The :archive_format
can be either tarball
-or zipball
. The :ref
must be a valid Git reference. If you omit :ref
, the repository’s default branch (usually master
) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use the Location
header
-to make a second GET
request.
-Note: For private repositories, these links are temporary and expire after five minutes.
-GET /repos/:owner/:repo/:archive_format/:ref
-
-
-
- ResponseStatus: 302 Found
-Location: https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires
-
-To follow redirects with curl, use the -L
switch:
-$curl -L https://api.github.com/repos/octokit/octokit.rb/tarball > octokit.tar.gz
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
-100 206k 100 206k 0 0 146k 0 0:00:01 0:00:01 --:--:-- 790k
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/contents/get-contents.html b/cache/api.github.com/v3/repos/contents/get-contents.html
deleted file mode 100644
index 8bccbea149..0000000000
--- a/cache/api.github.com/v3/repos/contents/get-contents.html
+++ /dev/null
@@ -1,153 +0,0 @@
-
-
-
- Get contentsGets the contents of a file or directory in a repository. Specify the file path or directory in :path
. If you omit :path
, you will receive the contents of all files in the repository.
-GET /repos/:owner/:repo/contents/:path
-
-Files and symlinks support a custom media type for retrieving the raw content or rendered HTML (when supported).
-All content types support a custom media type to ensure the content is returned in a consistent object format.
-
-
-Note:
-
-
-- To get a repository's contents recursively, you can recursively get the tree.
-- This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the Git Trees API.
-- This API supports files up to 1 megabyte in size.
-
-
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-ref
-string
-The name of the commit/branch/tag. Default: the repository’s default branch (usually master
)
-
-
-
-
-
- Response if content is a fileStatus: 200 OK
-
-{
- "type": "file",
- "encoding": "base64",
- "size": 5362,
- "name": "README.md",
- "path": "README.md",
- "content": "encoded content ...",
- "sha": "3d21ec53a331a6f037a91c368710b99387d012c1",
- "url": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md",
- "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1",
- "html_url": "https://github.com/octokit/octokit.rb/blob/master/README.md",
- "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md",
- "_links": {
- "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1",
- "self": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md",
- "html": "https://github.com/octokit/octokit.rb/blob/master/README.md"
- }
-}
-
-
-
- Response if content is a directoryThe response will be an array of objects, one object for each item in the directory.
-When listing the contents of a directory, submodules have their "type"
-specified as "file". Logically, the value should be "submodule". This behavior
-exists in API v3 for backwards compatibility purposes.
-In the next major version of the API, the type will be returned as "submodule".
-Status: 200 OK
-
-[
- {
- "type": "file",
- "size": 625,
- "name": "octokit.rb",
- "path": "lib/octokit.rb",
- "sha": "fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b",
- "url": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit.rb",
- "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b",
- "html_url": "https://github.com/octokit/octokit.rb/blob/master/lib/octokit.rb",
- "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/lib/octokit.rb",
- "_links": {
- "self": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit.rb",
- "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b",
- "html": "https://github.com/octokit/octokit.rb/blob/master/lib/octokit.rb"
- }
- },
- {
- "type": "dir",
- "size": 0,
- "name": "octokit",
- "path": "lib/octokit",
- "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d",
- "url": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit",
- "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/trees/a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d",
- "html_url": "https://github.com/octokit/octokit.rb/tree/master/lib/octokit",
- "download_url": null,
- "_links": {
- "self": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit",
- "git": "https://api.github.com/repos/octokit/octokit.rb/git/trees/a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d",
- "html": "https://github.com/octokit/octokit.rb/tree/master/lib/octokit"
- }
- }
-]
-
-
-
- Response if content is a symlinkIf the requested :path
points to a symlink, and the symlink's target is a normal file in the repository, then the API responds with the content of the file (in the format shown above).
-Otherwise, the API responds with an object describing the symlink itself:
-Status: 200 OK
-
-{
- "type": "symlink",
- "target": "/path/to/symlink/target",
- "size": 23,
- "name": "some-symlink",
- "path": "bin/some-symlink",
- "sha": "452a98979c88e093d682cab404a3ec82babebb48",
- "url": "https://api.github.com/repos/octokit/octokit.rb/contents/bin/some-symlink",
- "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/452a98979c88e093d682cab404a3ec82babebb48",
- "html_url": "https://github.com/octokit/octokit.rb/blob/master/bin/some-symlink",
- "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/bin/some-symlink",
- "_links": {
- "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/452a98979c88e093d682cab404a3ec82babebb48",
- "self": "https://api.github.com/repos/octokit/octokit.rb/contents/bin/some-symlink",
- "html": "https://github.com/octokit/octokit.rb/blob/master/bin/some-symlink"
- }
-}
-
-
-
- Response if content is a submoduleThe submodule_git_url
identifies the location of the submodule repository, and the sha
identifies a specific commit within the submodule repository.
-Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit.
-If the submodule repository is not hosted on github.com, the Git URLs (git_url
and _links["git"]
) and the github.com URLs (html_url
and _links["html"]
) will have null values.
-Status: 200 OK
-
-{
- "type": "submodule",
- "submodule_git_url": "git://github.com/jquery/qunit.git",
- "size": 0,
- "name": "qunit",
- "path": "test/qunit",
- "sha": "6ca3721222109997540bd6d9ccd396902e0ad2f9",
- "url": "https://api.github.com/repos/jquery/jquery/contents/test/qunit?ref=master",
- "git_url": "https://api.github.com/repos/jquery/qunit/git/trees/6ca3721222109997540bd6d9ccd396902e0ad2f9",
- "html_url": "https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9",
- "download_url": null,
- "_links": {
- "git": "https://api.github.com/repos/jquery/qunit/git/trees/6ca3721222109997540bd6d9ccd396902e0ad2f9",
- "self": "https://api.github.com/repos/jquery/jquery/contents/test/qunit?ref=master",
- "html": "https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9"
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/contents/get-repository-content.html b/cache/api.github.com/v3/repos/contents/get-repository-content.html
new file mode 100644
index 0000000000..8a9e2f951d
--- /dev/null
+++ b/cache/api.github.com/v3/repos/contents/get-repository-content.html
@@ -0,0 +1,153 @@
+
+
+
+ Get repository contentGets the contents of a file or directory in a repository. Specify the file path or directory in :path
. If you omit :path
, you will receive the contents of all files in the repository.
+GET /repos/:owner/:repo/contents/:path
+
+Files and symlinks support a custom media type for retrieving the raw content or rendered HTML (when supported).
+All content types support a custom media type to ensure the content is returned in a consistent object format.
+
+
+Note:
+
+
+- To get a repository's contents recursively, you can recursively get the tree.
+- This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the Git Trees API.
+- This API supports files up to 1 megabyte in size.
+
+
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+ref
+string
+The name of the commit/branch/tag. Default: the repository’s default branch (usually master
)
+
+
+
+
+
+ Response if content is a fileStatus: 200 OK
+
+{
+ "type": "file",
+ "encoding": "base64",
+ "size": 5362,
+ "name": "README.md",
+ "path": "README.md",
+ "content": "encoded content ...",
+ "sha": "3d21ec53a331a6f037a91c368710b99387d012c1",
+ "url": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md",
+ "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1",
+ "html_url": "https://github.com/octokit/octokit.rb/blob/master/README.md",
+ "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md",
+ "_links": {
+ "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1",
+ "self": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md",
+ "html": "https://github.com/octokit/octokit.rb/blob/master/README.md"
+ }
+}
+
+
+
+ Response if content is a directoryThe response will be an array of objects, one object for each item in the directory.
+When listing the contents of a directory, submodules have their "type"
+specified as "file". Logically, the value should be "submodule". This behavior
+exists in API v3 for backwards compatibility purposes.
+In the next major version of the API, the type will be returned as "submodule".
+Status: 200 OK
+
+[
+ {
+ "type": "file",
+ "size": 625,
+ "name": "octokit.rb",
+ "path": "lib/octokit.rb",
+ "sha": "fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b",
+ "url": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit.rb",
+ "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b",
+ "html_url": "https://github.com/octokit/octokit.rb/blob/master/lib/octokit.rb",
+ "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/lib/octokit.rb",
+ "_links": {
+ "self": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit.rb",
+ "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b",
+ "html": "https://github.com/octokit/octokit.rb/blob/master/lib/octokit.rb"
+ }
+ },
+ {
+ "type": "dir",
+ "size": 0,
+ "name": "octokit",
+ "path": "lib/octokit",
+ "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d",
+ "url": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit",
+ "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/trees/a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d",
+ "html_url": "https://github.com/octokit/octokit.rb/tree/master/lib/octokit",
+ "download_url": null,
+ "_links": {
+ "self": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit",
+ "git": "https://api.github.com/repos/octokit/octokit.rb/git/trees/a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d",
+ "html": "https://github.com/octokit/octokit.rb/tree/master/lib/octokit"
+ }
+ }
+]
+
+
+
+ Response if content is a symlinkIf the requested :path
points to a symlink, and the symlink's target is a normal file in the repository, then the API responds with the content of the file (in the format shown above).
+Otherwise, the API responds with an object describing the symlink itself:
+Status: 200 OK
+
+{
+ "type": "symlink",
+ "target": "/path/to/symlink/target",
+ "size": 23,
+ "name": "some-symlink",
+ "path": "bin/some-symlink",
+ "sha": "452a98979c88e093d682cab404a3ec82babebb48",
+ "url": "https://api.github.com/repos/octokit/octokit.rb/contents/bin/some-symlink",
+ "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/452a98979c88e093d682cab404a3ec82babebb48",
+ "html_url": "https://github.com/octokit/octokit.rb/blob/master/bin/some-symlink",
+ "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/bin/some-symlink",
+ "_links": {
+ "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/452a98979c88e093d682cab404a3ec82babebb48",
+ "self": "https://api.github.com/repos/octokit/octokit.rb/contents/bin/some-symlink",
+ "html": "https://github.com/octokit/octokit.rb/blob/master/bin/some-symlink"
+ }
+}
+
+
+
+ Response if content is a submoduleThe submodule_git_url
identifies the location of the submodule repository, and the sha
identifies a specific commit within the submodule repository.
+Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit.
+If the submodule repository is not hosted on github.com, the Git URLs (git_url
and _links["git"]
) and the github.com URLs (html_url
and _links["html"]
) will have null values.
+Status: 200 OK
+
+{
+ "type": "submodule",
+ "submodule_git_url": "git://github.com/jquery/qunit.git",
+ "size": 0,
+ "name": "qunit",
+ "path": "test/qunit",
+ "sha": "6ca3721222109997540bd6d9ccd396902e0ad2f9",
+ "url": "https://api.github.com/repos/jquery/jquery/contents/test/qunit?ref=master",
+ "git_url": "https://api.github.com/repos/jquery/qunit/git/trees/6ca3721222109997540bd6d9ccd396902e0ad2f9",
+ "html_url": "https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9",
+ "download_url": null,
+ "_links": {
+ "git": "https://api.github.com/repos/jquery/qunit/git/trees/6ca3721222109997540bd6d9ccd396902e0ad2f9",
+ "self": "https://api.github.com/repos/jquery/jquery/contents/test/qunit?ref=master",
+ "html": "https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9"
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/contents/get-the-readme.html b/cache/api.github.com/v3/repos/contents/get-the-readme.html
deleted file mode 100644
index 3caed5748a..0000000000
--- a/cache/api.github.com/v3/repos/contents/get-the-readme.html
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
- Get the READMEGets the preferred README for a repository.
-GET /repos/:owner/:repo/readme
-
-READMEs support custom media types for retrieving the raw content or rendered HTML.
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-ref
-string
-The name of the commit/branch/tag. Default: the repository’s default branch (usually master
)
-
-
-
-
-
- ResponseStatus: 200 OK
-
-{
- "type": "file",
- "encoding": "base64",
- "size": 5362,
- "name": "README.md",
- "path": "README.md",
- "content": "encoded content ...",
- "sha": "3d21ec53a331a6f037a91c368710b99387d012c1",
- "url": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md",
- "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1",
- "html_url": "https://github.com/octokit/octokit.rb/blob/master/README.md",
- "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md",
- "_links": {
- "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1",
- "self": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md",
- "html": "https://github.com/octokit/octokit.rb/blob/master/README.md"
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/contents/index.html b/cache/api.github.com/v3/repos/contents/index.html
index bcfd393cc3..a84b216790 100644
--- a/cache/api.github.com/v3/repos/contents/index.html
+++ b/cache/api.github.com/v3/repos/contents/index.html
@@ -367,18 +367,18 @@
Contents
-- Get the README
-- Get contents
-- Create or update a file
+- Get a repository README
+- Get repository content
+- Create or update file contents
- Delete a file
-- Get archive link
+- Download a repository archive
- Custom media types
-These API endpoints let you create, modify, and delete Base64 encoded content in a repository. See media types for requesting the raw format or rendered HTML (when supported).
+These API endpoints let you create, modify, and delete Base64 encoded content in a repository. See media types for requesting the raw format or rendered HTML (when supported).
-
+ Get a repository README
Get the READMEGets the preferred README for a repository.
@@ -386,7 +386,7 @@
GET /repos/:owner/:repo/readme
-
READMEs support custom media types for retrieving the raw content or rendered HTML.
+READMEs support custom media types for retrieving the raw content or rendered HTML.
@@ -437,7 +437,7 @@ Parameters
-
+ Get repository content
Get contents
Gets the contents of a file or directory in a repository. Specify the file path or directory in :path
. If you omit :path
, you will receive the contents of all files in the repository.
@@ -445,8 +445,8 @@
GET /repos/:owner/:repo/contents/:path
-
Files and symlinks support a custom media type for retrieving the raw content or rendered HTML (when supported).
-All content types support a custom media type to ensure the content is returned in a consistent object format.
+Files and symlinks support a custom media type for retrieving the raw content or rendered HTML (when supported).
+All content types support a custom media type to ensure the content is returned in a consistent object format.
@@ -562,7 +562,7 @@
- Response if content is a symlink
If the requested :path
points to a symlink, and the symlink's target is a normal file in the repository, then the API responds with the content of the file (in the format shown above).
+If the requested :path
points to a symlink, and the symlink's target is a normal file in the repository, then the API responds with the content of the file (in the format shown above).
Otherwise, the API responds with an object describing the symlink itself:
@@ -623,10 +623,10 @@
-
+ Create or update file contents
- Create or update a file
Creates a new file or updates an existing file in a repository.
+Creates a new file or replaces an existing file in a repository.
PUT /repos/:owner/:repo/contents/:path
@@ -999,7 +999,7 @@
-
+ Download a repository archive
Get archive link
Gets a redirect URL to download an archive for a repository. The :archive_format
can be either tarball
@@ -1031,7 +1031,7 @@
- Custom media types
READMEs, files, and symlinks support the following custom media types:
+READMEs, files, and symlinks support the following custom media types:
application/vnd.github.VERSION.raw
application/vnd.github.VERSION.html
@@ -1041,7 +1041,7 @@
For markup files such as Markdown or AsciiDoc, you can retrieve the rendered HTML using the .html
media type. Markup languages are rendered to HTML using our open-source Markup library.
-All objects support the following custom media type:
+All objects support the following custom media type:
application/vnd.github.VERSION.object
diff --git a/cache/api.github.com/v3/repos/contents/sections.json b/cache/api.github.com/v3/repos/contents/sections.json
index 7a46b7cc3e..601c4b83b5 100644
--- a/cache/api.github.com/v3/repos/contents/sections.json
+++ b/cache/api.github.com/v3/repos/contents/sections.json
@@ -1,18 +1,18 @@
[
{
- "id": "get-the-readme",
- "name": "Get the README",
- "url": "https://developer.github.com/v3/repos/contents/#get-the-readme"
+ "id": "get-a-repository-readme",
+ "name": "Get a repository README",
+ "url": "https://developer.github.com/v3/repos/contents/#get-a-repository-readme"
},
{
- "id": "get-contents",
- "name": "Get contents",
- "url": "https://developer.github.com/v3/repos/contents/#get-contents"
+ "id": "get-repository-content",
+ "name": "Get repository content",
+ "url": "https://developer.github.com/v3/repos/contents/#get-repository-content"
},
{
- "id": "create-or-update-a-file",
- "name": "Create or update a file",
- "url": "https://developer.github.com/v3/repos/contents/#create-or-update-a-file"
+ "id": "create-or-update-file-contents",
+ "name": "Create or update file contents",
+ "url": "https://developer.github.com/v3/repos/contents/#create-or-update-file-contents"
},
{
"id": "delete-a-file",
@@ -20,9 +20,9 @@
"url": "https://developer.github.com/v3/repos/contents/#delete-a-file"
},
{
- "id": "get-archive-link",
- "name": "Get archive link",
- "url": "https://developer.github.com/v3/repos/contents/#get-archive-link"
+ "id": "download-a-repository-archive",
+ "name": "Download a repository archive",
+ "url": "https://developer.github.com/v3/repos/contents/#download-a-repository-archive"
},
{
"id": "custom-media-types",
diff --git a/cache/api.github.com/v3/repos/deployments/get-a-deployment-status.html b/cache/api.github.com/v3/repos/deployments/get-a-deployment-status.html
new file mode 100644
index 0000000000..c23d22aa64
--- /dev/null
+++ b/cache/api.github.com/v3/repos/deployments/get-a-deployment-status.html
@@ -0,0 +1,81 @@
+
+
+
+ Get a deployment status
+
+Note: If a deployment is created via a GitHub App, the response will include the performed_via_github_app
object with information about the GitHub App. For more information, see the related blog post.
+
+To receive the performed_via_github_app
object in the response, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.machine-man-preview
+
+
+
+
+
+Note: New features in the Deployments API on GitHub are currently available during a public beta. Please see the blog post for full details.
+
+To access the new environment
parameter, the two new values for the state
parameter (in_progress
and queued
), and use auto_inactive
on production deployments during the public beta period, you must provide the following custom media type in the Accept
header:
+
+application/vnd.github.flash-preview+json
+
+
+
+
+
+Note: The inactive
state and the log_url
, environment_url
, and auto_inactive
parameters are currently available for developers to preview. Please see the blog post for full details.
+
+To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.ant-man-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Users with pull access can view a deployment status for a deployment:
+GET /repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/example/deployments/42/statuses/1",
+ "id": 1,
+ "node_id": "MDE2OkRlcGxveW1lbnRTdGF0dXMx",
+ "state": "success",
+ "creator": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "description": "Deployment finished successfully.",
+ "environment": "production",
+ "target_url": "https://example.com/deployment/42/output",
+ "created_at": "2012-07-20T01:19:13Z",
+ "updated_at": "2012-07-20T01:19:13Z",
+ "deployment_url": "https://api.github.com/repos/octocat/example/deployments/42",
+ "repository_url": "https://api.github.com/repos/octocat/example",
+ "environment_url": "",
+ "log_url": "https://example.com/deployment/42/output"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/deployments/get-a-deployment.html b/cache/api.github.com/v3/repos/deployments/get-a-deployment.html
new file mode 100644
index 0000000000..e92504bb23
--- /dev/null
+++ b/cache/api.github.com/v3/repos/deployments/get-a-deployment.html
@@ -0,0 +1,75 @@
+
+
+
+ Get a deployment
+
+Note: If a deployment is created via a GitHub App, the response will include the performed_via_github_app
object with information about the GitHub App. For more information, see the related blog post.
+
+To receive the performed_via_github_app
object in the response, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.machine-man-preview
+
+
+
+
+
+Note: The transient_environment
and production_environment
parameters are currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details.
+
+To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.ant-man-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+GET /repos/:owner/:repo/deployments/:deployment_id
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/example/deployments/1",
+ "id": 1,
+ "node_id": "MDEwOkRlcGxveW1lbnQx",
+ "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d",
+ "ref": "topic-branch",
+ "task": "deploy",
+ "payload": {
+ "deploy": "migrate"
+ },
+ "original_environment": "staging",
+ "environment": "production",
+ "description": "Deploy request from hubot",
+ "creator": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "created_at": "2012-07-20T01:19:13Z",
+ "updated_at": "2012-07-20T01:19:13Z",
+ "statuses_url": "https://api.github.com/repos/octocat/example/deployments/1/statuses",
+ "repository_url": "https://api.github.com/repos/octocat/example",
+ "transient_environment": false,
+ "production_environment": true
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/deployments/get-a-single-deployment-status.html b/cache/api.github.com/v3/repos/deployments/get-a-single-deployment-status.html
deleted file mode 100644
index 53a9270e15..0000000000
--- a/cache/api.github.com/v3/repos/deployments/get-a-single-deployment-status.html
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
- Get a single deployment status
-
-Note: If a deployment is created via a GitHub App, the response will include the performed_via_github_app
object with information about the GitHub App. For more information, see the related blog post.
-
-To receive the performed_via_github_app
object in the response, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.machine-man-preview
-
-
-
-
-
-Note: New features in the Deployments API on GitHub are currently available during a public beta. Please see the blog post for full details.
-
-To access the new environment
parameter, the two new values for the state
parameter (in_progress
and queued
), and use auto_inactive
on production deployments during the public beta period, you must provide the following custom media type in the Accept
header:
-
-application/vnd.github.flash-preview+json
-
-
-
-
-
-Note: The inactive
state and the log_url
, environment_url
, and auto_inactive
parameters are currently available for developers to preview. Please see the blog post for full details.
-
-To access the API during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.ant-man-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-Users with pull access can view a deployment status for a deployment:
-GET /repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/example/deployments/42/statuses/1",
- "id": 1,
- "node_id": "MDE2OkRlcGxveW1lbnRTdGF0dXMx",
- "state": "success",
- "creator": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "description": "Deployment finished successfully.",
- "environment": "production",
- "target_url": "https://example.com/deployment/42/output",
- "created_at": "2012-07-20T01:19:13Z",
- "updated_at": "2012-07-20T01:19:13Z",
- "deployment_url": "https://api.github.com/repos/octocat/example/deployments/42",
- "repository_url": "https://api.github.com/repos/octocat/example",
- "environment_url": "",
- "log_url": "https://example.com/deployment/42/output"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/deployments/get-a-single-deployment.html b/cache/api.github.com/v3/repos/deployments/get-a-single-deployment.html
deleted file mode 100644
index 5c96f6cfa8..0000000000
--- a/cache/api.github.com/v3/repos/deployments/get-a-single-deployment.html
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
- Get a single deployment
-
-Note: If a deployment is created via a GitHub App, the response will include the performed_via_github_app
object with information about the GitHub App. For more information, see the related blog post.
-
-To receive the performed_via_github_app
object in the response, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.machine-man-preview
-
-
-
-
-
-Note: The transient_environment
and production_environment
parameters are currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details.
-
-To access the API during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.ant-man-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-GET /repos/:owner/:repo/deployments/:deployment_id
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/example/deployments/1",
- "id": 1,
- "node_id": "MDEwOkRlcGxveW1lbnQx",
- "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d",
- "ref": "topic-branch",
- "task": "deploy",
- "payload": {
- "deploy": "migrate"
- },
- "original_environment": "staging",
- "environment": "production",
- "description": "Deploy request from hubot",
- "creator": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "created_at": "2012-07-20T01:19:13Z",
- "updated_at": "2012-07-20T01:19:13Z",
- "statuses_url": "https://api.github.com/repos/octocat/example/deployments/1/statuses",
- "repository_url": "https://api.github.com/repos/octocat/example",
- "transient_environment": false,
- "production_environment": true
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/deployments/index.html b/cache/api.github.com/v3/repos/deployments/index.html
index f12eb0a8b7..4cd84977ae 100644
--- a/cache/api.github.com/v3/repos/deployments/index.html
+++ b/cache/api.github.com/v3/repos/deployments/index.html
@@ -368,12 +368,12 @@
- List deployments
-- Get a single deployment
+- Get a deployment
- Create a deployment
- Update a deployment
- Delete a deployment
- List deployment statuses
-- Get a single deployment status
+- Get a deployment status
- Create a deployment status
@@ -545,7 +545,7 @@
-
+ Get a deployment
Get a single deployment
@@ -1046,7 +1046,7 @@
-
+ Get a deployment status
Get a single deployment status
diff --git a/cache/api.github.com/v3/repos/deployments/sections.json b/cache/api.github.com/v3/repos/deployments/sections.json
index b4812fef1f..117c252e95 100644
--- a/cache/api.github.com/v3/repos/deployments/sections.json
+++ b/cache/api.github.com/v3/repos/deployments/sections.json
@@ -5,9 +5,9 @@
"url": "https://developer.github.com/v3/repos/deployments/#list-deployments"
},
{
- "id": "get-a-single-deployment",
- "name": "Get a single deployment",
- "url": "https://developer.github.com/v3/repos/deployments/#get-a-single-deployment"
+ "id": "get-a-deployment",
+ "name": "Get a deployment",
+ "url": "https://developer.github.com/v3/repos/deployments/#get-a-deployment"
},
{
"id": "create-a-deployment",
@@ -30,9 +30,9 @@
"url": "https://developer.github.com/v3/repos/deployments/#list-deployment-statuses"
},
{
- "id": "get-a-single-deployment-status",
- "name": "Get a single deployment status",
- "url": "https://developer.github.com/v3/repos/deployments/#get-a-single-deployment-status"
+ "id": "get-a-deployment-status",
+ "name": "Get a deployment status",
+ "url": "https://developer.github.com/v3/repos/deployments/#get-a-deployment-status"
},
{
"id": "create-a-deployment-status",
diff --git a/cache/api.github.com/v3/repos/downloads/index.html b/cache/api.github.com/v3/repos/downloads/index.html
index 372fe4d508..1f7b814ec9 100644
--- a/cache/api.github.com/v3/repos/downloads/index.html
+++ b/cache/api.github.com/v3/repos/downloads/index.html
@@ -384,7 +384,7 @@
The downloads API is for package downloads only. If you want to get
-source tarballs you should use this
+source tarballs you should use Download a repository archive
instead.
diff --git a/cache/api.github.com/v3/repos/hooks/create-a-hook.html b/cache/api.github.com/v3/repos/hooks/create-a-hook.html
deleted file mode 100644
index a684cff8cc..0000000000
--- a/cache/api.github.com/v3/repos/hooks/create-a-hook.html
+++ /dev/null
@@ -1,124 +0,0 @@
-
-
-
- Create a hook
Repositories can have multiple webhooks installed. Each webhook should have a unique config
. Multiple webhooks can share the same config
as long as those webhooks do not have any events
that overlap.
-POST /repos/:owner/:repo/hooks
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-name
-string
-Use web
to create a webhook. Default: web
. This parameter only accepts the value web
.
-
-
-config
-object
-
-Required. Key/value pairs to provide settings for this webhook. These are defined below.
-
-
-events
-array
-Determines what events the hook is triggered for. Default: ["push"]
-
-
-
-active
-boolean
-Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications. Default: true
.
-
-
-
-
-The config
object can accept the following keys:
-
-
-
-Name
-Type
-Description
-
-
-
-
-url
-string
-
-Required. The URL to which the payloads will be delivered.
-
-
-content_type
-string
-The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
-
-
-secret
-string
-If provided, the secret
will be used as the key
to generate the HMAC hex digest value in the X-Hub-Signature
header.
-
-
-insecure_ssl
-string
-Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
-
-
-
-
-
-
- ExampleHere's how you can create a hook that posts payloads in JSON format:
-{
- "name": "web",
- "active": true,
- "events": [
- "push",
- "pull_request"
- ],
- "config": {
- "url": "https://example.com/webhook",
- "content_type": "json",
- "insecure_ssl": "0"
- }
-}
-
-
-
- ResponseStatus: 201 Created
-Location: https://api.github.com/repos/octocat/Hello-World/hooks/12345678
-
-{
- "type": "Repository",
- "id": 12345678,
- "name": "web",
- "active": true,
- "events": [
- "push",
- "pull_request"
- ],
- "config": {
- "content_type": "json",
- "insecure_ssl": "0",
- "url": "https://example.com/webhook"
- },
- "updated_at": "2019-06-03T00:57:16Z",
- "created_at": "2019-06-03T00:57:16Z",
- "url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678",
- "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test",
- "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings",
- "last_response": {
- "code": null,
- "status": "unused",
- "message": null
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/create-a-repository-webhook.html b/cache/api.github.com/v3/repos/hooks/create-a-repository-webhook.html
new file mode 100644
index 0000000000..a267bccefb
--- /dev/null
+++ b/cache/api.github.com/v3/repos/hooks/create-a-repository-webhook.html
@@ -0,0 +1,124 @@
+
+
+
+ Create a repository webhookRepositories can have multiple webhooks installed. Each webhook should have a unique config
. Multiple webhooks can share the same config
as long as those webhooks do not have any events
that overlap.
+POST /repos/:owner/:repo/hooks
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+name
+string
+Use web
to create a webhook. Default: web
. This parameter only accepts the value web
.
+
+
+config
+object
+
+Required. Key/value pairs to provide settings for this webhook. These are defined below.
+
+
+events
+array
+Determines what events the hook is triggered for. Default: ["push"]
+
+
+
+active
+boolean
+Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications. Default: true
.
+
+
+
+
+The config
object can accept the following keys:
+
+
+
+Name
+Type
+Description
+
+
+
+
+url
+string
+
+Required. The URL to which the payloads will be delivered.
+
+
+content_type
+string
+The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
+
+
+secret
+string
+If provided, the secret
will be used as the key
to generate the HMAC hex digest value in the X-Hub-Signature
header.
+
+
+insecure_ssl
+string
+Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
+
+
+
+
+
+
+ ExampleHere's how you can create a hook that posts payloads in JSON format:
+{
+ "name": "web",
+ "active": true,
+ "events": [
+ "push",
+ "pull_request"
+ ],
+ "config": {
+ "url": "https://example.com/webhook",
+ "content_type": "json",
+ "insecure_ssl": "0"
+ }
+}
+
+
+
+ ResponseStatus: 201 Created
+Location: https://api.github.com/repos/octocat/Hello-World/hooks/12345678
+
+{
+ "type": "Repository",
+ "id": 12345678,
+ "name": "web",
+ "active": true,
+ "events": [
+ "push",
+ "pull_request"
+ ],
+ "config": {
+ "content_type": "json",
+ "insecure_ssl": "0",
+ "url": "https://example.com/webhook"
+ },
+ "updated_at": "2019-06-03T00:57:16Z",
+ "created_at": "2019-06-03T00:57:16Z",
+ "url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678",
+ "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test",
+ "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings",
+ "last_response": {
+ "code": null,
+ "status": "unused",
+ "message": null
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/delete-a-hook.html b/cache/api.github.com/v3/repos/hooks/delete-a-hook.html
deleted file mode 100644
index ae7c48c71d..0000000000
--- a/cache/api.github.com/v3/repos/hooks/delete-a-hook.html
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- Delete a hookDELETE /repos/:owner/:repo/hooks/:hook_id
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/delete-a-repository-webhook.html b/cache/api.github.com/v3/repos/hooks/delete-a-repository-webhook.html
new file mode 100644
index 0000000000..0f600f4d03
--- /dev/null
+++ b/cache/api.github.com/v3/repos/hooks/delete-a-repository-webhook.html
@@ -0,0 +1,9 @@
+
+
+
+ Delete a repository webhookDELETE /repos/:owner/:repo/hooks/:hook_id
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/edit-a-hook.html b/cache/api.github.com/v3/repos/hooks/edit-a-hook.html
deleted file mode 100644
index 3b28ed39d4..0000000000
--- a/cache/api.github.com/v3/repos/hooks/edit-a-hook.html
+++ /dev/null
@@ -1,118 +0,0 @@
-
-
-
- Edit a hookPATCH /repos/:owner/:repo/hooks/:hook_id
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-config
-object
-Key/value pairs to provide settings for this webhook. These are defined below.
-
-
-events
-array
-Determines what events the hook is triggered for. This replaces the entire array of events. Default: ["push"]
-
-
-
-add_events
-array
-Determines a list of events to be added to the list of events that the Hook triggers for.
-
-
-remove_events
-array
-Determines a list of events to be removed from the list of events that the Hook triggers for.
-
-
-active
-boolean
-Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications. Default: true
.
-
-
-
-
-The config
object can accept the following keys:
-
-
-
-Name
-Type
-Description
-
-
-
-
-url
-string
-
-Required. The URL to which the payloads will be delivered.
-
-
-content_type
-string
-The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
-
-
-secret
-string
-If provided, the secret
will be used as the key
to generate the HMAC hex digest value in the X-Hub-Signature
header.
-
-
-insecure_ssl
-string
-Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
-
-
-
-
-
-
- Example{
- "active": true,
- "add_events": [
- "pull_request"
- ]
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "type": "Repository",
- "id": 12345678,
- "name": "web",
- "active": true,
- "events": [
- "push",
- "pull_request"
- ],
- "config": {
- "content_type": "json",
- "insecure_ssl": "0",
- "url": "https://example.com/webhook"
- },
- "updated_at": "2019-06-03T00:57:16Z",
- "created_at": "2019-06-03T00:57:16Z",
- "url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678",
- "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test",
- "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings",
- "last_response": {
- "code": null,
- "status": "unused",
- "message": null
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/get-a-repository-webhook.html b/cache/api.github.com/v3/repos/hooks/get-a-repository-webhook.html
new file mode 100644
index 0000000000..c0438a297b
--- /dev/null
+++ b/cache/api.github.com/v3/repos/hooks/get-a-repository-webhook.html
@@ -0,0 +1,35 @@
+
+
+
+ Get a repository webhookGET /repos/:owner/:repo/hooks/:hook_id
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "type": "Repository",
+ "id": 12345678,
+ "name": "web",
+ "active": true,
+ "events": [
+ "push",
+ "pull_request"
+ ],
+ "config": {
+ "content_type": "json",
+ "insecure_ssl": "0",
+ "url": "https://example.com/webhook"
+ },
+ "updated_at": "2019-06-03T00:57:16Z",
+ "created_at": "2019-06-03T00:57:16Z",
+ "url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678",
+ "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test",
+ "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings",
+ "last_response": {
+ "code": null,
+ "status": "unused",
+ "message": null
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/get-single-hook.html b/cache/api.github.com/v3/repos/hooks/get-single-hook.html
deleted file mode 100644
index fb4c56db72..0000000000
--- a/cache/api.github.com/v3/repos/hooks/get-single-hook.html
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
- Get single hookGET /repos/:owner/:repo/hooks/:hook_id
-
-
-
- ResponseStatus: 200 OK
-
-{
- "type": "Repository",
- "id": 12345678,
- "name": "web",
- "active": true,
- "events": [
- "push",
- "pull_request"
- ],
- "config": {
- "content_type": "json",
- "insecure_ssl": "0",
- "url": "https://example.com/webhook"
- },
- "updated_at": "2019-06-03T00:57:16Z",
- "created_at": "2019-06-03T00:57:16Z",
- "url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678",
- "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test",
- "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings",
- "last_response": {
- "code": null,
- "status": "unused",
- "message": null
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/index.html b/cache/api.github.com/v3/repos/hooks/index.html
index 90c49dbce6..2f3e47ba51 100644
--- a/cache/api.github.com/v3/repos/hooks/index.html
+++ b/cache/api.github.com/v3/repos/hooks/index.html
@@ -367,13 +367,13 @@
Webhooks
-- List hooks
-- Get single hook
-- Create a hook
-- Edit a hook
-- Test a push hook
-- Ping a hook
-- Delete a hook
+- List repository webhooks
+- Get a repository webhook
+- Create a repository webhook
+- Update a repository webhook
+- Test the push repository webhook
+- Ping a repository webhook
+- Delete a repository webhook
- Receiving Webhooks
- PubSubHubbub
@@ -385,7 +385,7 @@
If you would like to set up a single webhook to receive events from all of your organization's repositories, check out our API documentation for Organization Webhooks.
-
+ List repository webhooks
List hooksGET /repos/:owner/:repo/hooks
@@ -431,7 +431,7 @@
-
+ Get a repository webhook
Get single hookGET /repos/:owner/:repo/hooks/:hook_id
@@ -473,7 +473,7 @@
-
+ Create a repository webhook
Create a hook
Repositories can have multiple webhooks installed. Each webhook should have a unique config
. Multiple webhooks can share the same config
as long as those webhooks do not have any events
that overlap.
@@ -613,7 +613,7 @@
-
+ Update a repository webhook
Edit a hookPATCH /repos/:owner/:repo/hooks/:hook_id
@@ -745,7 +745,7 @@
-
+ Test the push repository webhook
Test a push hook
This will trigger the hook with the latest push to the current
@@ -766,7 +766,7 @@
-
+ Ping a repository webhook
Ping a hook
This will trigger a ping event to be sent to the hook.
@@ -782,7 +782,7 @@
-
+ Delete a repository webhook
Delete a hookDELETE /repos/:owner/:repo/hooks/:hook_id
diff --git a/cache/api.github.com/v3/repos/hooks/list-hooks.html b/cache/api.github.com/v3/repos/hooks/list-hooks.html
deleted file mode 100644
index 237a7bc6b8..0000000000
--- a/cache/api.github.com/v3/repos/hooks/list-hooks.html
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
- List hooksGET /repos/:owner/:repo/hooks
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "type": "Repository",
- "id": 12345678,
- "name": "web",
- "active": true,
- "events": [
- "push",
- "pull_request"
- ],
- "config": {
- "content_type": "json",
- "insecure_ssl": "0",
- "url": "https://example.com/webhook"
- },
- "updated_at": "2019-06-03T00:57:16Z",
- "created_at": "2019-06-03T00:57:16Z",
- "url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678",
- "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test",
- "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings",
- "last_response": {
- "code": null,
- "status": "unused",
- "message": null
- }
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/list-repository-webhooks.html b/cache/api.github.com/v3/repos/hooks/list-repository-webhooks.html
new file mode 100644
index 0000000000..a306484cd6
--- /dev/null
+++ b/cache/api.github.com/v3/repos/hooks/list-repository-webhooks.html
@@ -0,0 +1,39 @@
+
+
+
+ List repository webhooksGET /repos/:owner/:repo/hooks
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "type": "Repository",
+ "id": 12345678,
+ "name": "web",
+ "active": true,
+ "events": [
+ "push",
+ "pull_request"
+ ],
+ "config": {
+ "content_type": "json",
+ "insecure_ssl": "0",
+ "url": "https://example.com/webhook"
+ },
+ "updated_at": "2019-06-03T00:57:16Z",
+ "created_at": "2019-06-03T00:57:16Z",
+ "url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678",
+ "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test",
+ "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings",
+ "last_response": {
+ "code": null,
+ "status": "unused",
+ "message": null
+ }
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/ping-a-hook.html b/cache/api.github.com/v3/repos/hooks/ping-a-hook.html
deleted file mode 100644
index 7cf6a105e8..0000000000
--- a/cache/api.github.com/v3/repos/hooks/ping-a-hook.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- Ping a hookThis will trigger a ping event to be sent to the hook.
-POST /repos/:owner/:repo/hooks/:hook_id/pings
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/ping-a-repository-webhook.html b/cache/api.github.com/v3/repos/hooks/ping-a-repository-webhook.html
new file mode 100644
index 0000000000..03131c4031
--- /dev/null
+++ b/cache/api.github.com/v3/repos/hooks/ping-a-repository-webhook.html
@@ -0,0 +1,10 @@
+
+
+
+ Ping a repository webhookThis will trigger a ping event to be sent to the hook.
+POST /repos/:owner/:repo/hooks/:hook_id/pings
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/sections.json b/cache/api.github.com/v3/repos/hooks/sections.json
index eac832aca1..7a90bcf5c3 100644
--- a/cache/api.github.com/v3/repos/hooks/sections.json
+++ b/cache/api.github.com/v3/repos/hooks/sections.json
@@ -1,38 +1,38 @@
[
{
- "id": "list-hooks",
- "name": "List hooks",
- "url": "https://developer.github.com/v3/repos/hooks/#list-hooks"
+ "id": "list-repository-webhooks",
+ "name": "List repository webhooks",
+ "url": "https://developer.github.com/v3/repos/hooks/#list-repository-webhooks"
},
{
- "id": "get-single-hook",
- "name": "Get single hook",
- "url": "https://developer.github.com/v3/repos/hooks/#get-single-hook"
+ "id": "get-a-repository-webhook",
+ "name": "Get a repository webhook",
+ "url": "https://developer.github.com/v3/repos/hooks/#get-a-repository-webhook"
},
{
- "id": "create-a-hook",
- "name": "Create a hook",
- "url": "https://developer.github.com/v3/repos/hooks/#create-a-hook"
+ "id": "create-a-repository-webhook",
+ "name": "Create a repository webhook",
+ "url": "https://developer.github.com/v3/repos/hooks/#create-a-repository-webhook"
},
{
- "id": "edit-a-hook",
- "name": "Edit a hook",
- "url": "https://developer.github.com/v3/repos/hooks/#edit-a-hook"
+ "id": "update-a-repository-webhook",
+ "name": "Update a repository webhook",
+ "url": "https://developer.github.com/v3/repos/hooks/#update-a-repository-webhook"
},
{
- "id": "test-a-push-hook",
- "name": "Test a push hook",
- "url": "https://developer.github.com/v3/repos/hooks/#test-a-push-hook"
+ "id": "test-the-push-repository-webhook",
+ "name": "Test the push repository webhook",
+ "url": "https://developer.github.com/v3/repos/hooks/#test-the-push-repository-webhook"
},
{
- "id": "ping-a-hook",
- "name": "Ping a hook",
- "url": "https://developer.github.com/v3/repos/hooks/#ping-a-hook"
+ "id": "ping-a-repository-webhook",
+ "name": "Ping a repository webhook",
+ "url": "https://developer.github.com/v3/repos/hooks/#ping-a-repository-webhook"
},
{
- "id": "delete-a-hook",
- "name": "Delete a hook",
- "url": "https://developer.github.com/v3/repos/hooks/#delete-a-hook"
+ "id": "delete-a-repository-webhook",
+ "name": "Delete a repository webhook",
+ "url": "https://developer.github.com/v3/repos/hooks/#delete-a-repository-webhook"
},
{
"id": "receiving-webhooks",
diff --git a/cache/api.github.com/v3/repos/hooks/test-a-push-hook.html b/cache/api.github.com/v3/repos/hooks/test-a-push-hook.html
deleted file mode 100644
index cac26cff9f..0000000000
--- a/cache/api.github.com/v3/repos/hooks/test-a-push-hook.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Test a push hookThis will trigger the hook with the latest push to the current
-repository if the hook is subscribed to push
events. If the
-hook is not subscribed to push
events, the server will respond
-with 204 but no test POST will be generated.
-POST /repos/:owner/:repo/hooks/:hook_id/tests
-
-Note: Previously /repos/:owner/:repo/hooks/:hook_id/test
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/test-the-push-repository-webhook.html b/cache/api.github.com/v3/repos/hooks/test-the-push-repository-webhook.html
new file mode 100644
index 0000000000..62811db4ee
--- /dev/null
+++ b/cache/api.github.com/v3/repos/hooks/test-the-push-repository-webhook.html
@@ -0,0 +1,14 @@
+
+
+
+ Test the push repository webhookThis will trigger the hook with the latest push to the current
+repository if the hook is subscribed to push
events. If the
+hook is not subscribed to push
events, the server will respond
+with 204 but no test POST will be generated.
+POST /repos/:owner/:repo/hooks/:hook_id/tests
+
+Note: Previously /repos/:owner/:repo/hooks/:hook_id/test
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/update-a-repository-webhook.html b/cache/api.github.com/v3/repos/hooks/update-a-repository-webhook.html
new file mode 100644
index 0000000000..fc702b1c0b
--- /dev/null
+++ b/cache/api.github.com/v3/repos/hooks/update-a-repository-webhook.html
@@ -0,0 +1,118 @@
+
+
+
+ Update a repository webhookPATCH /repos/:owner/:repo/hooks/:hook_id
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+config
+object
+Key/value pairs to provide settings for this webhook. These are defined below.
+
+
+events
+array
+Determines what events the hook is triggered for. This replaces the entire array of events. Default: ["push"]
+
+
+
+add_events
+array
+Determines a list of events to be added to the list of events that the Hook triggers for.
+
+
+remove_events
+array
+Determines a list of events to be removed from the list of events that the Hook triggers for.
+
+
+active
+boolean
+Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications. Default: true
.
+
+
+
+
+The config
object can accept the following keys:
+
+
+
+Name
+Type
+Description
+
+
+
+
+url
+string
+
+Required. The URL to which the payloads will be delivered.
+
+
+content_type
+string
+The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
+
+
+secret
+string
+If provided, the secret
will be used as the key
to generate the HMAC hex digest value in the X-Hub-Signature
header.
+
+
+insecure_ssl
+string
+Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
+
+
+
+
+
+
+ Example{
+ "active": true,
+ "add_events": [
+ "pull_request"
+ ]
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "type": "Repository",
+ "id": 12345678,
+ "name": "web",
+ "active": true,
+ "events": [
+ "push",
+ "pull_request"
+ ],
+ "config": {
+ "content_type": "json",
+ "insecure_ssl": "0",
+ "url": "https://example.com/webhook"
+ },
+ "updated_at": "2019-06-03T00:57:16Z",
+ "created_at": "2019-06-03T00:57:16Z",
+ "url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678",
+ "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test",
+ "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings",
+ "last_response": {
+ "code": null,
+ "status": "unused",
+ "message": null
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/index.html b/cache/api.github.com/v3/repos/index.html
index 0473b095e9..39bfae27cb 100644
--- a/cache/api.github.com/v3/repos/index.html
+++ b/cache/api.github.com/v3/repos/index.html
@@ -383,10 +383,10 @@
Disable vulnerability alerts
Enable automated security fixes
Disable automated security fixes
-List contributors
-List languages
-List teams
-List tags
+List repository contributors
+List repository languages
+List repository teams
+List repository tags
Delete a repository
Transfer a repository
Create a repository dispatch event
@@ -3041,7 +3041,7 @@
-
+ List repository contributors
List contributors
Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.
@@ -3118,7 +3118,7 @@
-
+ List repository languages
List languages
Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.
@@ -3141,7 +3141,7 @@
-
+ List repository teams
List teamsGET /repos/:owner/:repo/teams
@@ -3176,7 +3176,7 @@
-
+ List repository tags
List tagsGET /repos/:owner/:repo/tags
diff --git a/cache/api.github.com/v3/repos/invitations/index.html b/cache/api.github.com/v3/repos/invitations/index.html
index d7e4cd0420..2474ea4f75 100644
--- a/cache/api.github.com/v3/repos/invitations/index.html
+++ b/cache/api.github.com/v3/repos/invitations/index.html
@@ -368,10 +368,10 @@
- Invite a user to a repository
-- List invitations for a repository
+- List repository invitations
- Delete a repository invitation
- Update a repository invitation
-- List a user's repository invitations
+- List repository invitations for the authenticated user
- Accept a repository invitation
- Decline a repository invitation
@@ -392,7 +392,7 @@
-
+ List repository invitations
List invitations for a repositoryGET /repos/:owner/:repo/invitations
@@ -702,7 +702,7 @@
-
+ List a user's repository invitations List repository invitations for the authenticated user
GET /user/repository_invitations
diff --git a/cache/api.github.com/v3/repos/invitations/list-a-users-repository-invitations.html b/cache/api.github.com/v3/repos/invitations/list-a-users-repository-invitations.html
deleted file mode 100644
index 2b2d96f980..0000000000
--- a/cache/api.github.com/v3/repos/invitations/list-a-users-repository-invitations.html
+++ /dev/null
@@ -1,130 +0,0 @@
-
-
- List a user's repository invitationsGET /user/repository_invitations
-
-When authenticating as a user, this endpoint will list all currently open repository invitations for that user.
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "id": 1,
- "repository": {
- "id": 1296269,
- "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
- "name": "Hello-World",
- "full_name": "octocat/Hello-World",
- "owner": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "private": false,
- "html_url": "https://github.com/octocat/Hello-World",
- "description": "This your first repo!",
- "fork": false,
- "url": "https://api.github.com/repos/octocat/Hello-World",
- "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
- "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
- "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
- "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
- "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
- "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
- "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
- "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
- "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
- "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
- "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
- "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
- "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
- "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
- "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
- "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
- "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
- "git_url": "git:github.com/octocat/Hello-World.git",
- "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
- "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
- "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
- "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
- "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
- "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
- "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
- "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
- "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
- "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
- "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
- "ssh_url": "git@github.com:octocat/Hello-World.git",
- "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
- "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
- "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
- "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
- "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
- "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
- "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "invitee": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "inviter": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "permissions": "write",
- "created_at": "2016-06-13T14:52:50-05:00",
- "url": "https://api.github.com/user/repository_invitations/1296269",
- "html_url": "https://github.com/octocat/Hello-World/invitations"
- }
-]
-
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/invitations/list-invitations-for-a-repository.html b/cache/api.github.com/v3/repos/invitations/list-invitations-for-a-repository.html
deleted file mode 100644
index 94c3b6e79e..0000000000
--- a/cache/api.github.com/v3/repos/invitations/list-invitations-for-a-repository.html
+++ /dev/null
@@ -1,131 +0,0 @@
-
-
-
- List invitations for a repositoryGET /repos/:owner/:repo/invitations
-
-When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "id": 1,
- "repository": {
- "id": 1296269,
- "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
- "name": "Hello-World",
- "full_name": "octocat/Hello-World",
- "owner": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "private": false,
- "html_url": "https://github.com/octocat/Hello-World",
- "description": "This your first repo!",
- "fork": false,
- "url": "https://api.github.com/repos/octocat/Hello-World",
- "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
- "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
- "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
- "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
- "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
- "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
- "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
- "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
- "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
- "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
- "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
- "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
- "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
- "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
- "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
- "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
- "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
- "git_url": "git:github.com/octocat/Hello-World.git",
- "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
- "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
- "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
- "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
- "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
- "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
- "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
- "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
- "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
- "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
- "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
- "ssh_url": "git@github.com:octocat/Hello-World.git",
- "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
- "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
- "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
- "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
- "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
- "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
- "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "invitee": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "inviter": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "permissions": "write",
- "created_at": "2016-06-13T14:52:50-05:00",
- "url": "https://api.github.com/user/repository_invitations/1296269",
- "html_url": "https://github.com/octocat/Hello-World/invitations"
- }
-]
-
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/invitations/list-repository-invitations-for-the-authenticated-user.html b/cache/api.github.com/v3/repos/invitations/list-repository-invitations-for-the-authenticated-user.html
new file mode 100644
index 0000000000..1e22971706
--- /dev/null
+++ b/cache/api.github.com/v3/repos/invitations/list-repository-invitations-for-the-authenticated-user.html
@@ -0,0 +1,130 @@
+
+
+ List repository invitations for the authenticated userGET /user/repository_invitations
+
+When authenticating as a user, this endpoint will list all currently open repository invitations for that user.
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "id": 1,
+ "repository": {
+ "id": 1296269,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
+ "name": "Hello-World",
+ "full_name": "octocat/Hello-World",
+ "owner": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/octocat/Hello-World",
+ "description": "This your first repo!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octocat/Hello-World",
+ "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ },
+ "invitee": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "inviter": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "permissions": "write",
+ "created_at": "2016-06-13T14:52:50-05:00",
+ "url": "https://api.github.com/user/repository_invitations/1296269",
+ "html_url": "https://github.com/octocat/Hello-World/invitations"
+ }
+]
+
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/invitations/list-repository-invitations.html b/cache/api.github.com/v3/repos/invitations/list-repository-invitations.html
new file mode 100644
index 0000000000..87f629c1c2
--- /dev/null
+++ b/cache/api.github.com/v3/repos/invitations/list-repository-invitations.html
@@ -0,0 +1,131 @@
+
+
+
+ List repository invitationsGET /repos/:owner/:repo/invitations
+
+When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "id": 1,
+ "repository": {
+ "id": 1296269,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
+ "name": "Hello-World",
+ "full_name": "octocat/Hello-World",
+ "owner": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/octocat/Hello-World",
+ "description": "This your first repo!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octocat/Hello-World",
+ "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ },
+ "invitee": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "inviter": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "permissions": "write",
+ "created_at": "2016-06-13T14:52:50-05:00",
+ "url": "https://api.github.com/user/repository_invitations/1296269",
+ "html_url": "https://github.com/octocat/Hello-World/invitations"
+ }
+]
+
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/invitations/sections.json b/cache/api.github.com/v3/repos/invitations/sections.json
index 511334d0ab..fc7b672849 100644
--- a/cache/api.github.com/v3/repos/invitations/sections.json
+++ b/cache/api.github.com/v3/repos/invitations/sections.json
@@ -5,9 +5,9 @@
"url": "https://developer.github.com/v3/repos/invitations/#invite-a-user-to-a-repository"
},
{
- "id": "list-invitations-for-a-repository",
- "name": "List invitations for a repository",
- "url": "https://developer.github.com/v3/repos/invitations/#list-invitations-for-a-repository"
+ "id": "list-repository-invitations",
+ "name": "List repository invitations",
+ "url": "https://developer.github.com/v3/repos/invitations/#list-repository-invitations"
},
{
"id": "delete-a-repository-invitation",
@@ -20,9 +20,9 @@
"url": "https://developer.github.com/v3/repos/invitations/#update-a-repository-invitation"
},
{
- "id": "list-a-users-repository-invitations",
- "name": "List a user's repository invitations",
- "url": "https://developer.github.com/v3/repos/invitations/#list-a-users-repository-invitations"
+ "id": "list-repository-invitations-for-the-authenticated-user",
+ "name": "List repository invitations for the authenticated user",
+ "url": "https://developer.github.com/v3/repos/invitations/#list-repository-invitations-for-the-authenticated-user"
},
{
"id": "accept-a-repository-invitation",
diff --git a/cache/api.github.com/v3/repos/keys/add-a-new-deploy-key.html b/cache/api.github.com/v3/repos/keys/add-a-new-deploy-key.html
deleted file mode 100644
index 9eca227869..0000000000
--- a/cache/api.github.com/v3/repos/keys/add-a-new-deploy-key.html
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
- Add a new deploy keyPOST /repos/:owner/:repo/keys
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-title
-string
-A name for the key.
-
-
-key
-string
-
-Required. The contents of the key.
-
-
-read_only
-boolean
-If true
, the key will only be able to read repository contents. Otherwise, the key will be able to read and write.
Deploy keys with write access can perform the same actions as an organization member with admin access, or a collaborator on a personal repository. For more information, see "Repository permission levels for an organization" and "Permission levels for a user account repository."
-
-
-
-
-
- ExampleHere's how you can create a read-only deploy key:
-{
- "title": "octocat@octomac",
- "key": "ssh-rsa AAA...",
- "read_only": true
-}
-
-
-
- ResponseStatus: 201 Created
-Location: https://api.github.com/repos/octocat/Hello-World/keys/1
-
-{
- "id": 1,
- "key": "ssh-rsa AAA...",
- "url": "https://api.github.com/repos/octocat/Hello-World/keys/1",
- "title": "octocat@octomac",
- "verified": true,
- "created_at": "2014-12-10T15:53:42Z",
- "read_only": true
-}
-
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/keys/create-a-deploy-key.html b/cache/api.github.com/v3/repos/keys/create-a-deploy-key.html
new file mode 100644
index 0000000000..4aa5443e45
--- /dev/null
+++ b/cache/api.github.com/v3/repos/keys/create-a-deploy-key.html
@@ -0,0 +1,59 @@
+
+
+
+ Create a deploy keyPOST /repos/:owner/:repo/keys
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+title
+string
+A name for the key.
+
+
+key
+string
+
+Required. The contents of the key.
+
+
+read_only
+boolean
+If true
, the key will only be able to read repository contents. Otherwise, the key will be able to read and write.
Deploy keys with write access can perform the same actions as an organization member with admin access, or a collaborator on a personal repository. For more information, see "Repository permission levels for an organization" and "Permission levels for a user account repository."
+
+
+
+
+
+ ExampleHere's how you can create a read-only deploy key:
+{
+ "title": "octocat@octomac",
+ "key": "ssh-rsa AAA...",
+ "read_only": true
+}
+
+
+
+ ResponseStatus: 201 Created
+Location: https://api.github.com/repos/octocat/Hello-World/keys/1
+
+{
+ "id": 1,
+ "key": "ssh-rsa AAA...",
+ "url": "https://api.github.com/repos/octocat/Hello-World/keys/1",
+ "title": "octocat@octomac",
+ "verified": true,
+ "created_at": "2014-12-10T15:53:42Z",
+ "read_only": true
+}
+
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/keys/delete-a-deploy-key.html b/cache/api.github.com/v3/repos/keys/delete-a-deploy-key.html
new file mode 100644
index 0000000000..5aa8128795
--- /dev/null
+++ b/cache/api.github.com/v3/repos/keys/delete-a-deploy-key.html
@@ -0,0 +1,9 @@
+
+
+
+ Delete a deploy keyDELETE /repos/:owner/:repo/keys/:key_id
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/keys/edit-a-deploy-key.html b/cache/api.github.com/v3/repos/keys/edit-a-deploy-key.html
index 05ecaaae53..8862e4ef9a 100644
--- a/cache/api.github.com/v3/repos/keys/edit-a-deploy-key.html
+++ b/cache/api.github.com/v3/repos/keys/edit-a-deploy-key.html
@@ -1,5 +1,5 @@
- Edit a deploy keyDeploy keys are immutable. If you need to update a key, remove the
-key and create a new one instead.
+Deploy keys are immutable. If you need to update a key, remove the
+key and create a new one instead.
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/keys/index.html b/cache/api.github.com/v3/repos/keys/index.html
index ffc5a58dd0..4c945697a4 100644
--- a/cache/api.github.com/v3/repos/keys/index.html
+++ b/cache/api.github.com/v3/repos/keys/index.html
@@ -369,9 +369,9 @@
You can launch projects from a GitHub repository to your server by using a deploy key, which is an SSH key that grants access to a single repository. GitHub attaches the public part of the key directly to your repository instead of a personal user account, and the private part of the key remains on your server. For more information, see "Delivering deployments."
@@ -441,7 +441,7 @@
-
+ Create a deploy key
Add a new deploy keyPOST /repos/:owner/:repo/keys
@@ -516,13 +516,13 @@
- Edit a deploy key
Deploy keys are immutable. If you need to update a key, remove the
-key and create a new one instead.
+Deploy keys are immutable. If you need to update a key, remove the
+key and create a new one instead.
-
+ Delete a deploy key
Remove a deploy keyDELETE /repos/:owner/:repo/keys/:key_id
diff --git a/cache/api.github.com/v3/repos/keys/remove-a-deploy-key.html b/cache/api.github.com/v3/repos/keys/remove-a-deploy-key.html
deleted file mode 100644
index bf5959d697..0000000000
--- a/cache/api.github.com/v3/repos/keys/remove-a-deploy-key.html
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- Remove a deploy keyDELETE /repos/:owner/:repo/keys/:key_id
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/keys/sections.json b/cache/api.github.com/v3/repos/keys/sections.json
index 9dfe997b64..e2cc9b3a35 100644
--- a/cache/api.github.com/v3/repos/keys/sections.json
+++ b/cache/api.github.com/v3/repos/keys/sections.json
@@ -10,9 +10,9 @@
"url": "https://developer.github.com/v3/repos/keys/#get-a-deploy-key"
},
{
- "id": "add-a-new-deploy-key",
- "name": "Add a new deploy key",
- "url": "https://developer.github.com/v3/repos/keys/#add-a-new-deploy-key"
+ "id": "create-a-deploy-key",
+ "name": "Create a deploy key",
+ "url": "https://developer.github.com/v3/repos/keys/#create-a-deploy-key"
},
{
"id": "edit-a-deploy-key",
@@ -20,8 +20,8 @@
"url": "https://developer.github.com/v3/repos/keys/#edit-a-deploy-key"
},
{
- "id": "remove-a-deploy-key",
- "name": "Remove a deploy key",
- "url": "https://developer.github.com/v3/repos/keys/#remove-a-deploy-key"
+ "id": "delete-a-deploy-key",
+ "name": "Delete a deploy key",
+ "url": "https://developer.github.com/v3/repos/keys/#delete-a-deploy-key"
}
]
diff --git a/cache/api.github.com/v3/repos/list-contributors.html b/cache/api.github.com/v3/repos/list-contributors.html
deleted file mode 100644
index 58596c3838..0000000000
--- a/cache/api.github.com/v3/repos/list-contributors.html
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
- List contributorsLists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.
-
-
-GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.
-
-
-GET /repos/:owner/:repo/contributors
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-anon
-string
-Set to 1
or true
to include anonymous contributors in results.
-
-
-
-
-
- Response if repository is emptyStatus: 204 No Content
-
-
-
- Response if repository contains contentStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false,
- "contributions": 32
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/list-languages.html b/cache/api.github.com/v3/repos/list-languages.html
deleted file mode 100644
index 1ce15a8415..0000000000
--- a/cache/api.github.com/v3/repos/list-languages.html
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
- List languagesLists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.
-GET /repos/:owner/:repo/languages
-
-
-
- ResponseStatus: 200 OK
-
-{
- "C": 78769,
- "Python": 7769
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/list-repository-contributors.html b/cache/api.github.com/v3/repos/list-repository-contributors.html
new file mode 100644
index 0000000000..922fba9074
--- /dev/null
+++ b/cache/api.github.com/v3/repos/list-repository-contributors.html
@@ -0,0 +1,63 @@
+
+
+
+ List repository contributorsLists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.
+
+
+GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.
+
+
+GET /repos/:owner/:repo/contributors
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+anon
+string
+Set to 1
or true
to include anonymous contributors in results.
+
+
+
+
+
+ Response if repository is emptyStatus: 204 No Content
+
+
+
+ Response if repository contains contentStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false,
+ "contributions": 32
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/list-repository-languages.html b/cache/api.github.com/v3/repos/list-repository-languages.html
new file mode 100644
index 0000000000..629a9bbaaf
--- /dev/null
+++ b/cache/api.github.com/v3/repos/list-repository-languages.html
@@ -0,0 +1,15 @@
+
+
+
+ List repository languagesLists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.
+GET /repos/:owner/:repo/languages
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "C": 78769,
+ "Python": 7769
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/list-repository-tags.html b/cache/api.github.com/v3/repos/list-repository-tags.html
new file mode 100644
index 0000000000..083ab16b17
--- /dev/null
+++ b/cache/api.github.com/v3/repos/list-repository-tags.html
@@ -0,0 +1,23 @@
+
+
+
+ List repository tagsGET /repos/:owner/:repo/tags
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "name": "v0.1",
+ "commit": {
+ "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc",
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc"
+ },
+ "zipball_url": "https://github.com/octocat/Hello-World/zipball/v0.1",
+ "tarball_url": "https://github.com/octocat/Hello-World/tarball/v0.1"
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/list-repository-teams.html b/cache/api.github.com/v3/repos/list-repository-teams.html
new file mode 100644
index 0000000000..d5362b4b80
--- /dev/null
+++ b/cache/api.github.com/v3/repos/list-repository-teams.html
@@ -0,0 +1,28 @@
+
+
+
+ List repository teamsGET /repos/:owner/:repo/teams
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/list-tags.html b/cache/api.github.com/v3/repos/list-tags.html
deleted file mode 100644
index 779784e204..0000000000
--- a/cache/api.github.com/v3/repos/list-tags.html
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
- List tagsGET /repos/:owner/:repo/tags
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "name": "v0.1",
- "commit": {
- "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc",
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc"
- },
- "zipball_url": "https://github.com/octocat/Hello-World/zipball/v0.1",
- "tarball_url": "https://github.com/octocat/Hello-World/tarball/v0.1"
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/list-teams.html b/cache/api.github.com/v3/repos/list-teams.html
deleted file mode 100644
index 0e04b675f5..0000000000
--- a/cache/api.github.com/v3/repos/list-teams.html
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
- List teamsGET /repos/:owner/:repo/teams
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "id": 1,
- "node_id": "MDQ6VGVhbTE=",
- "url": "https://api.github.com/teams/1",
- "html_url": "https://api.github.com/teams/justice-league",
- "name": "Justice League",
- "slug": "justice-league",
- "description": "A great team.",
- "privacy": "closed",
- "permission": "admin",
- "members_url": "https://api.github.com/teams/1/members{/member}",
- "repositories_url": "https://api.github.com/teams/1/repos",
- "parent": null
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/merging/index.html b/cache/api.github.com/v3/repos/merging/index.html
index 7d11402160..92541debef 100644
--- a/cache/api.github.com/v3/repos/merging/index.html
+++ b/cache/api.github.com/v3/repos/merging/index.html
@@ -367,7 +367,7 @@
Merging
The Repo Merging API supports merging branches in a repository. This accomplishes
@@ -379,7 +379,7 @@
The authenticated user will be the author of any merges done through this endpoint.
-
+ Merge a branch
Perform a mergePOST /repos/:owner/:repo/merges
diff --git a/cache/api.github.com/v3/repos/merging/merge-a-branch.html b/cache/api.github.com/v3/repos/merging/merge-a-branch.html
new file mode 100644
index 0000000000..1207708560
--- /dev/null
+++ b/cache/api.github.com/v3/repos/merging/merge-a-branch.html
@@ -0,0 +1,157 @@
+
+
+
+ Merge a branchPOST /repos/:owner/:repo/merges
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+base
+string
+
+Required. The name of the base branch that the head will be merged into.
+
+
+head
+string
+
+Required. The head to merge. This can be a branch name or a commit SHA1.
+
+
+commit_message
+string
+Commit message to use for the merge commit. If omitted, a default message will be used.
+
+
+
+{
+ "base": "master",
+ "head": "cool_feature",
+ "commit_message": "Shipped cool_feature!"
+}
+
+
+
+ Successful Response (The resulting merge commit)
+Status: 201 Created
+
+{
+ "sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
+ "node_id": "MDY6Q29tbWl0N2ZkMWE2MGIwMWY5MWIzMTRmNTk5NTVhNGU0ZDRlODBkOGVkZjExZA==",
+ "commit": {
+ "author": {
+ "name": "The Octocat",
+ "date": "2012-03-06T15:06:50-08:00",
+ "email": "octocat@nowhere.com"
+ },
+ "committer": {
+ "name": "The Octocat",
+ "date": "2012-03-06T15:06:50-08:00",
+ "email": "octocat@nowhere.com"
+ },
+ "message": "Shipped cool_feature!",
+ "tree": {
+ "sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
+ },
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
+ "comment_count": 0,
+ "verification": {
+ "verified": false,
+ "reason": "unsigned",
+ "signature": null,
+ "payload": null
+ }
+ },
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
+ "html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments",
+ "author": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "committer": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "parents": [
+ {
+ "sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
+ },
+ {
+ "sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303"
+ }
+ ]
+}
+
+
+
+ No-op response (base already contains the head, nothing to merge)Status: 204 No Content
+
+
+
+ Merge conflict responseStatus: 409 Conflict
+
+{
+ "message": "Merge Conflict"
+}
+
+
+
+ Missing base responseStatus: 404 Not Found
+
+{
+ "message": "Base does not exist"
+}
+
+
+
+ Missing head responseStatus: 404 Not Found
+
+{
+ "message": "Head does not exist"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/merging/perform-a-merge.html b/cache/api.github.com/v3/repos/merging/perform-a-merge.html
deleted file mode 100644
index a38cbbd5d7..0000000000
--- a/cache/api.github.com/v3/repos/merging/perform-a-merge.html
+++ /dev/null
@@ -1,157 +0,0 @@
-
-
-
- Perform a mergePOST /repos/:owner/:repo/merges
-
-
-
- Input
-
-
-Name
-Type
-Description
-
-
-
-
-base
-string
-
-Required. The name of the base branch that the head will be merged into.
-
-
-head
-string
-
-Required. The head to merge. This can be a branch name or a commit SHA1.
-
-
-commit_message
-string
-Commit message to use for the merge commit. If omitted, a default message will be used.
-
-
-
-{
- "base": "master",
- "head": "cool_feature",
- "commit_message": "Shipped cool_feature!"
-}
-
-
-
- Successful Response (The resulting merge commit)
-Status: 201 Created
-
-{
- "sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
- "node_id": "MDY6Q29tbWl0N2ZkMWE2MGIwMWY5MWIzMTRmNTk5NTVhNGU0ZDRlODBkOGVkZjExZA==",
- "commit": {
- "author": {
- "name": "The Octocat",
- "date": "2012-03-06T15:06:50-08:00",
- "email": "octocat@nowhere.com"
- },
- "committer": {
- "name": "The Octocat",
- "date": "2012-03-06T15:06:50-08:00",
- "email": "octocat@nowhere.com"
- },
- "message": "Shipped cool_feature!",
- "tree": {
- "sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
- "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
- },
- "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
- "comment_count": 0,
- "verification": {
- "verified": false,
- "reason": "unsigned",
- "signature": null,
- "payload": null
- }
- },
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
- "html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
- "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments",
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "committer": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "parents": [
- {
- "sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
- },
- {
- "sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303"
- }
- ]
-}
-
-
-
- No-op response (base already contains the head, nothing to merge)Status: 204 No Content
-
-
-
- Merge conflict responseStatus: 409 Conflict
-
-{
- "message": "Merge Conflict"
-}
-
-
-
- Missing base responseStatus: 404 Not Found
-
-{
- "message": "Base does not exist"
-}
-
-
-
- Missing head responseStatus: 404 Not Found
-
-{
- "message": "Head does not exist"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/merging/sections.json b/cache/api.github.com/v3/repos/merging/sections.json
index 9af081da7b..d46f76aa07 100644
--- a/cache/api.github.com/v3/repos/merging/sections.json
+++ b/cache/api.github.com/v3/repos/merging/sections.json
@@ -1,7 +1,7 @@
[
{
- "id": "perform-a-merge",
- "name": "Perform a merge",
- "url": "https://developer.github.com/v3/repos/merging/#perform-a-merge"
+ "id": "merge-a-branch",
+ "name": "Merge a branch",
+ "url": "https://developer.github.com/v3/repos/merging/#merge-a-branch"
}
]
diff --git a/cache/api.github.com/v3/repos/pages/create-a-github-pages-site.html b/cache/api.github.com/v3/repos/pages/create-a-github-pages-site.html
new file mode 100644
index 0000000000..f58104b383
--- /dev/null
+++ b/cache/api.github.com/v3/repos/pages/create-a-github-pages-site.html
@@ -0,0 +1,66 @@
+
+
+
+ Create a GitHub Pages site
+
+Note: Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the blog post preview for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.switcheroo-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+POST /repos/:owner/:repo/pages
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+source[branch]
+string
+The repository branch used to publish your site's source files. Can be either master
or gh-pages
.
+
+
+source[path]
+string
+The repository directory that includes the source files for the Pages site. When branch
is master
, you can change path
to /docs
. When branch
is gh-pages
, you are unable to specify a path
other than /
.
+
+
+
+
+
+ Example{
+ "source": {
+ "branch": "master",
+ "path": "/docs"
+ }
+}
+
+
+
+ ResponseStatus: 201 Created
+
+{
+ "url": "https://api.github.com/repos/github/developer.github.com/pages",
+ "status": "built",
+ "cname": "developer.github.com",
+ "custom_404": false,
+ "html_url": "https://developer.github.com",
+ "source": {
+ "branch": "master",
+ "directory": "/"
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/delete-a-github-pages-site.html b/cache/api.github.com/v3/repos/pages/delete-a-github-pages-site.html
new file mode 100644
index 0000000000..74234debb6
--- /dev/null
+++ b/cache/api.github.com/v3/repos/pages/delete-a-github-pages-site.html
@@ -0,0 +1,22 @@
+
+
+
+ Delete a GitHub Pages site
+
+Note: Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the blog post preview for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.switcheroo-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+DELETE /repos/:owner/:repo/pages
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/disable-a-pages-site.html b/cache/api.github.com/v3/repos/pages/disable-a-pages-site.html
deleted file mode 100644
index e00c4f34e8..0000000000
--- a/cache/api.github.com/v3/repos/pages/disable-a-pages-site.html
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
- Disable a Pages site
-
-Note: Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the blog post preview for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.switcheroo-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-DELETE /repos/:owner/:repo/pages
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/enable-a-pages-site.html b/cache/api.github.com/v3/repos/pages/enable-a-pages-site.html
deleted file mode 100644
index c16649da71..0000000000
--- a/cache/api.github.com/v3/repos/pages/enable-a-pages-site.html
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
- Enable a Pages site
-
-Note: Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the blog post preview for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.switcheroo-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-POST /repos/:owner/:repo/pages
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-source[branch]
-string
-The repository branch used to publish your site's source files. Can be either master
or gh-pages
.
-
-
-source[path]
-string
-The repository directory that includes the source files for the Pages site. When branch
is master
, you can change path
to /docs
. When branch
is gh-pages
, you are unable to specify a path
other than /
.
-
-
-
-
-
- Example{
- "source": {
- "branch": "master",
- "path": "/docs"
- }
-}
-
-
-
- ResponseStatus: 201 Created
-
-{
- "url": "https://api.github.com/repos/github/developer.github.com/pages",
- "status": "built",
- "cname": "developer.github.com",
- "custom_404": false,
- "html_url": "https://developer.github.com",
- "source": {
- "branch": "master",
- "directory": "/"
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/get-a-github-pages-site.html b/cache/api.github.com/v3/repos/pages/get-a-github-pages-site.html
new file mode 100644
index 0000000000..7b16ef0ec5
--- /dev/null
+++ b/cache/api.github.com/v3/repos/pages/get-a-github-pages-site.html
@@ -0,0 +1,21 @@
+
+
+
+ Get a GitHub Pages siteGET /repos/:owner/:repo/pages
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/github/developer.github.com/pages",
+ "status": "built",
+ "cname": "developer.github.com",
+ "custom_404": false,
+ "html_url": "https://developer.github.com",
+ "source": {
+ "branch": "master",
+ "directory": "/"
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/get-a-specific-pages-build.html b/cache/api.github.com/v3/repos/pages/get-a-specific-pages-build.html
deleted file mode 100644
index 51c4695e4e..0000000000
--- a/cache/api.github.com/v3/repos/pages/get-a-specific-pages-build.html
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
- Get a specific Pages buildGET /repos/:owner/:repo/pages/builds/:build_id
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/github/developer.github.com/pages/builds/5472601",
- "status": "built",
- "error": {
- "message": null
- },
- "pusher": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "commit": "351391cdcb88ffae71ec3028c91f375a8036a26b",
- "duration": 2104,
- "created_at": "2014-02-10T19:00:49Z",
- "updated_at": "2014-02-10T19:00:51Z"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/get-github-pages-build.html b/cache/api.github.com/v3/repos/pages/get-github-pages-build.html
new file mode 100644
index 0000000000..774d300397
--- /dev/null
+++ b/cache/api.github.com/v3/repos/pages/get-github-pages-build.html
@@ -0,0 +1,41 @@
+
+
+
+ Get GitHub Pages buildGET /repos/:owner/:repo/pages/builds/:build_id
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/github/developer.github.com/pages/builds/5472601",
+ "status": "built",
+ "error": {
+ "message": null
+ },
+ "pusher": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "commit": "351391cdcb88ffae71ec3028c91f375a8036a26b",
+ "duration": 2104,
+ "created_at": "2014-02-10T19:00:49Z",
+ "updated_at": "2014-02-10T19:00:51Z"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/get-information-about-a-pages-site.html b/cache/api.github.com/v3/repos/pages/get-information-about-a-pages-site.html
deleted file mode 100644
index bbe1a072ac..0000000000
--- a/cache/api.github.com/v3/repos/pages/get-information-about-a-pages-site.html
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
- Get information about a Pages siteGET /repos/:owner/:repo/pages
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/github/developer.github.com/pages",
- "status": "built",
- "cname": "developer.github.com",
- "custom_404": false,
- "html_url": "https://developer.github.com",
- "source": {
- "branch": "master",
- "directory": "/"
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/index.html b/cache/api.github.com/v3/repos/pages/index.html
index b6c6ffbd49..42af512408 100644
--- a/cache/api.github.com/v3/repos/pages/index.html
+++ b/cache/api.github.com/v3/repos/pages/index.html
@@ -367,14 +367,14 @@
Pages
-- Get information about a Pages site
-- Enable a Pages site
-- Disable a Pages site
-- Update information about a Pages site
-- Request a page build
-- List Pages builds
+- Get a GitHub Pages site
+- Create a GitHub Pages site
+- Delete a GitHub Pages site
+- Update information about a GitHub Pages site
+- Request a GitHub Pages build
+- List GitHub Pages builds
- Get latest Pages build
-- Get a specific Pages build
+- Get GitHub Pages build
The GitHub Pages API retrieves information about your GitHub Pages configuration, and the statuses of your builds. Information about the site and the builds can only be accessed by authenticated owners, even though the websites are public. For more information, see "About GitHub Pages."
@@ -412,7 +412,7 @@
-
+ Get a GitHub Pages site
Get information about a Pages siteGET /repos/:owner/:repo/pages
@@ -440,7 +440,7 @@
-
+ Create a GitHub Pages site
Enable a Pages site
@@ -520,7 +520,7 @@
-
+ Delete a GitHub Pages site
Disable a Pages site
@@ -549,7 +549,7 @@
-
+ Update information about a GitHub Pages site
Update information about a Pages sitePUT /repos/:owner/:repo/pages
@@ -598,7 +598,7 @@
-
+ Request a GitHub Pages build
Request a page build
You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.
@@ -623,7 +623,7 @@
-
+ List GitHub Pages builds
List Pages buildsGET /repos/:owner/:repo/pages/builds
@@ -723,7 +723,7 @@
-
+ Get GitHub Pages build
Get a specific Pages buildGET /repos/:owner/:repo/pages/builds/:build_id
diff --git a/cache/api.github.com/v3/repos/pages/list-github-pages-builds.html b/cache/api.github.com/v3/repos/pages/list-github-pages-builds.html
new file mode 100644
index 0000000000..5156a5918f
--- /dev/null
+++ b/cache/api.github.com/v3/repos/pages/list-github-pages-builds.html
@@ -0,0 +1,45 @@
+
+
+
+ List GitHub Pages buildsGET /repos/:owner/:repo/pages/builds
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/repos/github/developer.github.com/pages/builds/5472601",
+ "status": "built",
+ "error": {
+ "message": null
+ },
+ "pusher": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "commit": "351391cdcb88ffae71ec3028c91f375a8036a26b",
+ "duration": 2104,
+ "created_at": "2014-02-10T19:00:49Z",
+ "updated_at": "2014-02-10T19:00:51Z"
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/list-pages-builds.html b/cache/api.github.com/v3/repos/pages/list-pages-builds.html
deleted file mode 100644
index ea82a302ff..0000000000
--- a/cache/api.github.com/v3/repos/pages/list-pages-builds.html
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
- List Pages buildsGET /repos/:owner/:repo/pages/builds
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "url": "https://api.github.com/repos/github/developer.github.com/pages/builds/5472601",
- "status": "built",
- "error": {
- "message": null
- },
- "pusher": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "commit": "351391cdcb88ffae71ec3028c91f375a8036a26b",
- "duration": 2104,
- "created_at": "2014-02-10T19:00:49Z",
- "updated_at": "2014-02-10T19:00:51Z"
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/request-a-github-pages-build.html b/cache/api.github.com/v3/repos/pages/request-a-github-pages-build.html
new file mode 100644
index 0000000000..f6d7de907b
--- /dev/null
+++ b/cache/api.github.com/v3/repos/pages/request-a-github-pages-build.html
@@ -0,0 +1,16 @@
+
+
+
+ Request a GitHub Pages buildYou can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.
+Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.
+POST /repos/:owner/:repo/pages/builds
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/github/developer.github.com/pages/builds/latest",
+ "status": "queued"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/request-a-page-build.html b/cache/api.github.com/v3/repos/pages/request-a-page-build.html
deleted file mode 100644
index 5b7cc56c0a..0000000000
--- a/cache/api.github.com/v3/repos/pages/request-a-page-build.html
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
- Request a page buildYou can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.
-Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.
-POST /repos/:owner/:repo/pages/builds
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/github/developer.github.com/pages/builds/latest",
- "status": "queued"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/sections.json b/cache/api.github.com/v3/repos/pages/sections.json
index 9b2df5cd48..8c1f9f2aa4 100644
--- a/cache/api.github.com/v3/repos/pages/sections.json
+++ b/cache/api.github.com/v3/repos/pages/sections.json
@@ -1,33 +1,33 @@
[
{
- "id": "get-information-about-a-pages-site",
- "name": "Get information about a Pages site",
- "url": "https://developer.github.com/v3/repos/pages/#get-information-about-a-pages-site"
+ "id": "get-a-github-pages-site",
+ "name": "Get a GitHub Pages site",
+ "url": "https://developer.github.com/v3/repos/pages/#get-a-github-pages-site"
},
{
- "id": "enable-a-pages-site",
- "name": "Enable a Pages site",
- "url": "https://developer.github.com/v3/repos/pages/#enable-a-pages-site"
+ "id": "create-a-github-pages-site",
+ "name": "Create a GitHub Pages site",
+ "url": "https://developer.github.com/v3/repos/pages/#create-a-github-pages-site"
},
{
- "id": "disable-a-pages-site",
- "name": "Disable a Pages site",
- "url": "https://developer.github.com/v3/repos/pages/#disable-a-pages-site"
+ "id": "delete-a-github-pages-site",
+ "name": "Delete a GitHub Pages site",
+ "url": "https://developer.github.com/v3/repos/pages/#delete-a-github-pages-site"
},
{
- "id": "update-information-about-a-pages-site",
- "name": "Update information about a Pages site",
- "url": "https://developer.github.com/v3/repos/pages/#update-information-about-a-pages-site"
+ "id": "update-information-about-a-github-pages-site",
+ "name": "Update information about a GitHub Pages site",
+ "url": "https://developer.github.com/v3/repos/pages/#update-information-about-a-github-pages-site"
},
{
- "id": "request-a-page-build",
- "name": "Request a page build",
- "url": "https://developer.github.com/v3/repos/pages/#request-a-page-build"
+ "id": "request-a-github-pages-build",
+ "name": "Request a GitHub Pages build",
+ "url": "https://developer.github.com/v3/repos/pages/#request-a-github-pages-build"
},
{
- "id": "list-pages-builds",
- "name": "List Pages builds",
- "url": "https://developer.github.com/v3/repos/pages/#list-pages-builds"
+ "id": "list-github-pages-builds",
+ "name": "List GitHub Pages builds",
+ "url": "https://developer.github.com/v3/repos/pages/#list-github-pages-builds"
},
{
"id": "get-latest-pages-build",
@@ -35,8 +35,8 @@
"url": "https://developer.github.com/v3/repos/pages/#get-latest-pages-build"
},
{
- "id": "get-a-specific-pages-build",
- "name": "Get a specific Pages build",
- "url": "https://developer.github.com/v3/repos/pages/#get-a-specific-pages-build"
+ "id": "get-github-pages-build",
+ "name": "Get GitHub Pages build",
+ "url": "https://developer.github.com/v3/repos/pages/#get-github-pages-build"
}
]
diff --git a/cache/api.github.com/v3/repos/pages/update-information-about-a-github-pages-site.html b/cache/api.github.com/v3/repos/pages/update-information-about-a-github-pages-site.html
new file mode 100644
index 0000000000..182d30f1bc
--- /dev/null
+++ b/cache/api.github.com/v3/repos/pages/update-information-about-a-github-pages-site.html
@@ -0,0 +1,39 @@
+
+
+
+ Update information about a GitHub Pages sitePUT /repos/:owner/:repo/pages
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+cname
+string
+Specify a custom domain for the repository. Sending a null
value will remove the custom domain. For more about custom domains, see "Using a custom domain with GitHub Pages."
+
+
+source
+string
+Update the source for the repository. Must include the branch name, and may optionally specify the subdirectory /docs
. Possible values are "gh-pages"
, "master"
, and "master /docs"
.
+
+
+
+
+
+ Example{
+ "cname": "octocatblog.com",
+ "source": "master /docs"
+}
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/update-information-about-a-pages-site.html b/cache/api.github.com/v3/repos/pages/update-information-about-a-pages-site.html
deleted file mode 100644
index a4b81a8a5b..0000000000
--- a/cache/api.github.com/v3/repos/pages/update-information-about-a-pages-site.html
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
- Update information about a Pages sitePUT /repos/:owner/:repo/pages
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-cname
-string
-Specify a custom domain for the repository. Sending a null
value will remove the custom domain. For more about custom domains, see "Using a custom domain with GitHub Pages."
-
-
-source
-string
-Update the source for the repository. Must include the branch name, and may optionally specify the subdirectory /docs
. Possible values are "gh-pages"
, "master"
, and "master /docs"
.
-
-
-
-
-
- Example{
- "cname": "octocatblog.com",
- "source": "master /docs"
-}
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/edit-a-release-asset.html b/cache/api.github.com/v3/repos/releases/edit-a-release-asset.html
deleted file mode 100644
index ca2b8fc5d2..0000000000
--- a/cache/api.github.com/v3/repos/releases/edit-a-release-asset.html
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
- Edit a release assetUsers with push access to the repository can edit a release asset.
-PATCH /repos/:owner/:repo/releases/assets/:asset_id
-
-
-
- Input
-
-
-Name
-Type
-Description
-
-
-
-
-name
-string
-The file name of the asset.
-
-
-label
-string
-An alternate short description of the asset. Used in place of the filename.
-
-
-
-
-
- Example{
- "name": "foo-1.0.0-osx.zip",
- "label": "Mac binary"
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
- "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
- "id": 1,
- "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
- "name": "example.zip",
- "label": "short description",
- "state": "uploaded",
- "content_type": "application/zip",
- "size": 1024,
- "download_count": 42,
- "created_at": "2013-02-27T19:35:32Z",
- "updated_at": "2013-02-27T19:35:32Z",
- "uploader": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/edit-a-release.html b/cache/api.github.com/v3/repos/releases/edit-a-release.html
deleted file mode 100644
index bf0caebf85..0000000000
--- a/cache/api.github.com/v3/repos/releases/edit-a-release.html
+++ /dev/null
@@ -1,141 +0,0 @@
-
-
-
- Edit a releaseUsers with push access to the repository can edit a release.
-PATCH /repos/:owner/:repo/releases/:release_id
-
-
-
- Input
-
-
-Name
-Type
-Description
-
-
-
-
-tag_name
-string
-The name of the tag.
-
-
-target_commitish
-string
-Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually master
).
-
-
-name
-string
-The name of the release.
-
-
-body
-string
-Text describing the contents of the tag.
-
-
-draft
-boolean
-
-true
makes the release a draft, and false
publishes the release.
-
-
-prerelease
-boolean
-
-true
to identify the release as a prerelease, false
to identify the release as a full release.
-
-
-
-
-
- Example{
- "tag_name": "v1.0.0",
- "target_commitish": "master",
- "name": "v1.0.0",
- "body": "Description of the release",
- "draft": false,
- "prerelease": false
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/releases/1",
- "html_url": "https://github.com/octocat/Hello-World/releases/v1.0.0",
- "assets_url": "https://api.github.com/repos/octocat/Hello-World/releases/1/assets",
- "upload_url": "https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}",
- "tarball_url": "https://api.github.com/repos/octocat/Hello-World/tarball/v1.0.0",
- "zipball_url": "https://api.github.com/repos/octocat/Hello-World/zipball/v1.0.0",
- "id": 1,
- "node_id": "MDc6UmVsZWFzZTE=",
- "tag_name": "v1.0.0",
- "target_commitish": "master",
- "name": "v1.0.0",
- "body": "Description of the release",
- "draft": false,
- "prerelease": false,
- "created_at": "2013-02-27T19:35:32Z",
- "published_at": "2013-02-27T19:35:32Z",
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "assets": [
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
- "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
- "id": 1,
- "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
- "name": "example.zip",
- "label": "short description",
- "state": "uploaded",
- "content_type": "application/zip",
- "size": 1024,
- "download_count": 42,
- "created_at": "2013-02-27T19:35:32Z",
- "updated_at": "2013-02-27T19:35:32Z",
- "uploader": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
- }
- ]
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/get-a-release-asset.html b/cache/api.github.com/v3/repos/releases/get-a-release-asset.html
new file mode 100644
index 0000000000..7eea135a7d
--- /dev/null
+++ b/cache/api.github.com/v3/repos/releases/get-a-release-asset.html
@@ -0,0 +1,51 @@
+
+
+
+ Get a release assetGET /repos/:owner/:repo/releases/assets/:asset_id
+
+
+
+ Response
+
+To download the asset's binary content, set the Accept
header of the request to application/octet-stream
.
+The API will either redirect the client to the location, or stream it directly if possible.
+API clients should handle both a 200
or 302
response.
+
+
+Status: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
+ "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
+ "id": 1,
+ "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
+ "name": "example.zip",
+ "label": "short description",
+ "state": "uploaded",
+ "content_type": "application/zip",
+ "size": 1024,
+ "download_count": 42,
+ "created_at": "2013-02-27T19:35:32Z",
+ "updated_at": "2013-02-27T19:35:32Z",
+ "uploader": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/get-a-release.html b/cache/api.github.com/v3/repos/releases/get-a-release.html
new file mode 100644
index 0000000000..478f9e92b1
--- /dev/null
+++ b/cache/api.github.com/v3/repos/releases/get-a-release.html
@@ -0,0 +1,91 @@
+
+
+
+ Get a releaseGET /repos/:owner/:repo/releases/:release_id
+
+
+
+ Response
+
+
+
+Note: This returns an upload_url
key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource.
+
+
+Status: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/releases/1",
+ "html_url": "https://github.com/octocat/Hello-World/releases/v1.0.0",
+ "assets_url": "https://api.github.com/repos/octocat/Hello-World/releases/1/assets",
+ "upload_url": "https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}",
+ "tarball_url": "https://api.github.com/repos/octocat/Hello-World/tarball/v1.0.0",
+ "zipball_url": "https://api.github.com/repos/octocat/Hello-World/zipball/v1.0.0",
+ "id": 1,
+ "node_id": "MDc6UmVsZWFzZTE=",
+ "tag_name": "v1.0.0",
+ "target_commitish": "master",
+ "name": "v1.0.0",
+ "body": "Description of the release",
+ "draft": false,
+ "prerelease": false,
+ "created_at": "2013-02-27T19:35:32Z",
+ "published_at": "2013-02-27T19:35:32Z",
+ "author": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "assets": [
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
+ "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
+ "id": 1,
+ "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
+ "name": "example.zip",
+ "label": "short description",
+ "state": "uploaded",
+ "content_type": "application/zip",
+ "size": 1024,
+ "download_count": 42,
+ "created_at": "2013-02-27T19:35:32Z",
+ "updated_at": "2013-02-27T19:35:32Z",
+ "uploader": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ }
+ ]
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/get-a-single-release-asset.html b/cache/api.github.com/v3/repos/releases/get-a-single-release-asset.html
deleted file mode 100644
index a878624d6a..0000000000
--- a/cache/api.github.com/v3/repos/releases/get-a-single-release-asset.html
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
- Get a single release assetGET /repos/:owner/:repo/releases/assets/:asset_id
-
-
-
- Response
-
-To download the asset's binary content, set the Accept
header of the request to application/octet-stream
.
-The API will either redirect the client to the location, or stream it directly if possible.
-API clients should handle both a 200
or 302
response.
-
-
-Status: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
- "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
- "id": 1,
- "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
- "name": "example.zip",
- "label": "short description",
- "state": "uploaded",
- "content_type": "application/zip",
- "size": 1024,
- "download_count": 42,
- "created_at": "2013-02-27T19:35:32Z",
- "updated_at": "2013-02-27T19:35:32Z",
- "uploader": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/get-a-single-release.html b/cache/api.github.com/v3/repos/releases/get-a-single-release.html
deleted file mode 100644
index bb348a104e..0000000000
--- a/cache/api.github.com/v3/repos/releases/get-a-single-release.html
+++ /dev/null
@@ -1,91 +0,0 @@
-
-
-
- Get a single releaseGET /repos/:owner/:repo/releases/:release_id
-
-
-
- Response
-
-
-
-Note: This returns an upload_url
key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource.
-
-
-Status: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/releases/1",
- "html_url": "https://github.com/octocat/Hello-World/releases/v1.0.0",
- "assets_url": "https://api.github.com/repos/octocat/Hello-World/releases/1/assets",
- "upload_url": "https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}",
- "tarball_url": "https://api.github.com/repos/octocat/Hello-World/tarball/v1.0.0",
- "zipball_url": "https://api.github.com/repos/octocat/Hello-World/zipball/v1.0.0",
- "id": 1,
- "node_id": "MDc6UmVsZWFzZTE=",
- "tag_name": "v1.0.0",
- "target_commitish": "master",
- "name": "v1.0.0",
- "body": "Description of the release",
- "draft": false,
- "prerelease": false,
- "created_at": "2013-02-27T19:35:32Z",
- "published_at": "2013-02-27T19:35:32Z",
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "assets": [
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
- "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
- "id": 1,
- "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
- "name": "example.zip",
- "label": "short description",
- "state": "uploaded",
- "content_type": "application/zip",
- "size": 1024,
- "download_count": 42,
- "created_at": "2013-02-27T19:35:32Z",
- "updated_at": "2013-02-27T19:35:32Z",
- "uploader": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
- }
- ]
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/index.html b/cache/api.github.com/v3/repos/releases/index.html
index aeacbd7d57..1a4f03e627 100644
--- a/cache/api.github.com/v3/repos/releases/index.html
+++ b/cache/api.github.com/v3/repos/releases/index.html
@@ -367,29 +367,29 @@
Releases
-- List releases for a repository
-- Get a single release
+- List releases
+- Get a release
- Get the latest release
- Get a release by tag name
- Create a release
-- Edit a release
+- Update a release
- Delete a release
-- List assets for a release
+- List release assets
- Upload a release asset
-- Get a single release asset
-- Edit a release asset
+- Get a release asset
+- Update a release asset
- Delete a release asset
-
+ List releases
List releases for a repository
This returns a list of releases, which does not include regular
Git tags that have not been associated with a release.
-To get a list of Git tags, use the Repository Tags API.
+To get a list of Git tags, use the Repository Tags API.
@@ -488,7 +488,7 @@
-
+ Get a release
Get a single releaseGET /repos/:owner/:repo/releases/:release_id
@@ -902,7 +902,7 @@
-
+ Update a release
Edit a release
Users with push access to the repository can edit a release.
@@ -1072,7 +1072,7 @@
-
+ List release assets
List assets for a releaseGET /repos/:owner/:repo/releases/:release_id/assets
@@ -1130,7 +1130,7 @@
- Upload a release assetThis endpoint makes use of a Hypermedia relation to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the upload_url
returned in the response of the Create a release endpoint to upload a release asset.
+This endpoint makes use of a Hypermedia relation to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the upload_url
returned in the response of the Create a release endpoint to upload a release asset.
You need to use an HTTP client which supports
SNI to make calls to this endpoint.
@@ -1149,7 +1149,7 @@
Notes:
-- GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The "List assets for a release" endpoint lists the renamed filenames. For more information and help, contact GitHub Support.
+- GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The "List assets for a release" endpoint lists the renamed filenames. For more information and help, contact GitHub Support.
- If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.
@@ -1243,7 +1243,7 @@
-
+ Get a release asset
Get a single release assetGET /repos/:owner/:repo/releases/assets/:asset_id
@@ -1302,7 +1302,7 @@
-
+ Update a release asset
Edit a release asset
Users with push access to the repository can edit a release asset.
diff --git a/cache/api.github.com/v3/repos/releases/list-assets-for-a-release.html b/cache/api.github.com/v3/repos/releases/list-assets-for-a-release.html
deleted file mode 100644
index bf2c92968f..0000000000
--- a/cache/api.github.com/v3/repos/releases/list-assets-for-a-release.html
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
- List assets for a releaseGET /repos/:owner/:repo/releases/:release_id/assets
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
- "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
- "id": 1,
- "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
- "name": "example.zip",
- "label": "short description",
- "state": "uploaded",
- "content_type": "application/zip",
- "size": 1024,
- "download_count": 42,
- "created_at": "2013-02-27T19:35:32Z",
- "updated_at": "2013-02-27T19:35:32Z",
- "uploader": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/list-release-assets.html b/cache/api.github.com/v3/repos/releases/list-release-assets.html
new file mode 100644
index 0000000000..f28ca31d3b
--- /dev/null
+++ b/cache/api.github.com/v3/repos/releases/list-release-assets.html
@@ -0,0 +1,48 @@
+
+
+
+ List release assetsGET /repos/:owner/:repo/releases/:release_id/assets
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
+ "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
+ "id": 1,
+ "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
+ "name": "example.zip",
+ "label": "short description",
+ "state": "uploaded",
+ "content_type": "application/zip",
+ "size": 1024,
+ "download_count": 42,
+ "created_at": "2013-02-27T19:35:32Z",
+ "updated_at": "2013-02-27T19:35:32Z",
+ "uploader": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/list-releases-for-a-repository.html b/cache/api.github.com/v3/repos/releases/list-releases-for-a-repository.html
deleted file mode 100644
index 135b3b571e..0000000000
--- a/cache/api.github.com/v3/repos/releases/list-releases-for-a-repository.html
+++ /dev/null
@@ -1,97 +0,0 @@
-
-
-
- List releases for a repository
-
-This returns a list of releases, which does not include regular
-Git tags that have not been associated with a release.
-To get a list of Git tags, use the Repository Tags API.
-
-
-Information about published releases are available to everyone.
-Only users with push access will receive listings for draft releases.
-GET /repos/:owner/:repo/releases
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/releases/1",
- "html_url": "https://github.com/octocat/Hello-World/releases/v1.0.0",
- "assets_url": "https://api.github.com/repos/octocat/Hello-World/releases/1/assets",
- "upload_url": "https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}",
- "tarball_url": "https://api.github.com/repos/octocat/Hello-World/tarball/v1.0.0",
- "zipball_url": "https://api.github.com/repos/octocat/Hello-World/zipball/v1.0.0",
- "id": 1,
- "node_id": "MDc6UmVsZWFzZTE=",
- "tag_name": "v1.0.0",
- "target_commitish": "master",
- "name": "v1.0.0",
- "body": "Description of the release",
- "draft": false,
- "prerelease": false,
- "created_at": "2013-02-27T19:35:32Z",
- "published_at": "2013-02-27T19:35:32Z",
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "assets": [
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
- "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
- "id": 1,
- "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
- "name": "example.zip",
- "label": "short description",
- "state": "uploaded",
- "content_type": "application/zip",
- "size": 1024,
- "download_count": 42,
- "created_at": "2013-02-27T19:35:32Z",
- "updated_at": "2013-02-27T19:35:32Z",
- "uploader": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
- }
- ]
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/list-releases.html b/cache/api.github.com/v3/repos/releases/list-releases.html
new file mode 100644
index 0000000000..822fcfaf51
--- /dev/null
+++ b/cache/api.github.com/v3/repos/releases/list-releases.html
@@ -0,0 +1,97 @@
+
+
+
+ List releases
+
+This returns a list of releases, which does not include regular
+Git tags that have not been associated with a release.
+To get a list of Git tags, use the Repository Tags API.
+
+
+Information about published releases are available to everyone.
+Only users with push access will receive listings for draft releases.
+GET /repos/:owner/:repo/releases
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/releases/1",
+ "html_url": "https://github.com/octocat/Hello-World/releases/v1.0.0",
+ "assets_url": "https://api.github.com/repos/octocat/Hello-World/releases/1/assets",
+ "upload_url": "https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}",
+ "tarball_url": "https://api.github.com/repos/octocat/Hello-World/tarball/v1.0.0",
+ "zipball_url": "https://api.github.com/repos/octocat/Hello-World/zipball/v1.0.0",
+ "id": 1,
+ "node_id": "MDc6UmVsZWFzZTE=",
+ "tag_name": "v1.0.0",
+ "target_commitish": "master",
+ "name": "v1.0.0",
+ "body": "Description of the release",
+ "draft": false,
+ "prerelease": false,
+ "created_at": "2013-02-27T19:35:32Z",
+ "published_at": "2013-02-27T19:35:32Z",
+ "author": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "assets": [
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
+ "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
+ "id": 1,
+ "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
+ "name": "example.zip",
+ "label": "short description",
+ "state": "uploaded",
+ "content_type": "application/zip",
+ "size": 1024,
+ "download_count": 42,
+ "created_at": "2013-02-27T19:35:32Z",
+ "updated_at": "2013-02-27T19:35:32Z",
+ "uploader": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ }
+ ]
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/sections.json b/cache/api.github.com/v3/repos/releases/sections.json
index a4ff81916a..fb0ec45dd4 100644
--- a/cache/api.github.com/v3/repos/releases/sections.json
+++ b/cache/api.github.com/v3/repos/releases/sections.json
@@ -1,13 +1,13 @@
[
{
- "id": "list-releases-for-a-repository",
- "name": "List releases for a repository",
- "url": "https://developer.github.com/v3/repos/releases/#list-releases-for-a-repository"
+ "id": "list-releases",
+ "name": "List releases",
+ "url": "https://developer.github.com/v3/repos/releases/#list-releases"
},
{
- "id": "get-a-single-release",
- "name": "Get a single release",
- "url": "https://developer.github.com/v3/repos/releases/#get-a-single-release"
+ "id": "get-a-release",
+ "name": "Get a release",
+ "url": "https://developer.github.com/v3/repos/releases/#get-a-release"
},
{
"id": "get-the-latest-release",
@@ -25,9 +25,9 @@
"url": "https://developer.github.com/v3/repos/releases/#create-a-release"
},
{
- "id": "edit-a-release",
- "name": "Edit a release",
- "url": "https://developer.github.com/v3/repos/releases/#edit-a-release"
+ "id": "update-a-release",
+ "name": "Update a release",
+ "url": "https://developer.github.com/v3/repos/releases/#update-a-release"
},
{
"id": "delete-a-release",
@@ -35,9 +35,9 @@
"url": "https://developer.github.com/v3/repos/releases/#delete-a-release"
},
{
- "id": "list-assets-for-a-release",
- "name": "List assets for a release",
- "url": "https://developer.github.com/v3/repos/releases/#list-assets-for-a-release"
+ "id": "list-release-assets",
+ "name": "List release assets",
+ "url": "https://developer.github.com/v3/repos/releases/#list-release-assets"
},
{
"id": "upload-a-release-asset",
@@ -45,14 +45,14 @@
"url": "https://developer.github.com/v3/repos/releases/#upload-a-release-asset"
},
{
- "id": "get-a-single-release-asset",
- "name": "Get a single release asset",
- "url": "https://developer.github.com/v3/repos/releases/#get-a-single-release-asset"
+ "id": "get-a-release-asset",
+ "name": "Get a release asset",
+ "url": "https://developer.github.com/v3/repos/releases/#get-a-release-asset"
},
{
- "id": "edit-a-release-asset",
- "name": "Edit a release asset",
- "url": "https://developer.github.com/v3/repos/releases/#edit-a-release-asset"
+ "id": "update-a-release-asset",
+ "name": "Update a release asset",
+ "url": "https://developer.github.com/v3/repos/releases/#update-a-release-asset"
},
{
"id": "delete-a-release-asset",
diff --git a/cache/api.github.com/v3/repos/releases/update-a-release-asset.html b/cache/api.github.com/v3/repos/releases/update-a-release-asset.html
new file mode 100644
index 0000000000..02cd57ac63
--- /dev/null
+++ b/cache/api.github.com/v3/repos/releases/update-a-release-asset.html
@@ -0,0 +1,75 @@
+
+
+
+ Update a release assetUsers with push access to the repository can edit a release asset.
+PATCH /repos/:owner/:repo/releases/assets/:asset_id
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+name
+string
+The file name of the asset.
+
+
+label
+string
+An alternate short description of the asset. Used in place of the filename.
+
+
+
+
+
+ Example{
+ "name": "foo-1.0.0-osx.zip",
+ "label": "Mac binary"
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
+ "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
+ "id": 1,
+ "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
+ "name": "example.zip",
+ "label": "short description",
+ "state": "uploaded",
+ "content_type": "application/zip",
+ "size": 1024,
+ "download_count": 42,
+ "created_at": "2013-02-27T19:35:32Z",
+ "updated_at": "2013-02-27T19:35:32Z",
+ "uploader": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/update-a-release.html b/cache/api.github.com/v3/repos/releases/update-a-release.html
new file mode 100644
index 0000000000..5aea81c164
--- /dev/null
+++ b/cache/api.github.com/v3/repos/releases/update-a-release.html
@@ -0,0 +1,141 @@
+
+
+
+ Update a releaseUsers with push access to the repository can edit a release.
+PATCH /repos/:owner/:repo/releases/:release_id
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+tag_name
+string
+The name of the tag.
+
+
+target_commitish
+string
+Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually master
).
+
+
+name
+string
+The name of the release.
+
+
+body
+string
+Text describing the contents of the tag.
+
+
+draft
+boolean
+
+true
makes the release a draft, and false
publishes the release.
+
+
+prerelease
+boolean
+
+true
to identify the release as a prerelease, false
to identify the release as a full release.
+
+
+
+
+
+ Example{
+ "tag_name": "v1.0.0",
+ "target_commitish": "master",
+ "name": "v1.0.0",
+ "body": "Description of the release",
+ "draft": false,
+ "prerelease": false
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/releases/1",
+ "html_url": "https://github.com/octocat/Hello-World/releases/v1.0.0",
+ "assets_url": "https://api.github.com/repos/octocat/Hello-World/releases/1/assets",
+ "upload_url": "https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}",
+ "tarball_url": "https://api.github.com/repos/octocat/Hello-World/tarball/v1.0.0",
+ "zipball_url": "https://api.github.com/repos/octocat/Hello-World/zipball/v1.0.0",
+ "id": 1,
+ "node_id": "MDc6UmVsZWFzZTE=",
+ "tag_name": "v1.0.0",
+ "target_commitish": "master",
+ "name": "v1.0.0",
+ "body": "Description of the release",
+ "draft": false,
+ "prerelease": false,
+ "created_at": "2013-02-27T19:35:32Z",
+ "published_at": "2013-02-27T19:35:32Z",
+ "author": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "assets": [
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
+ "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
+ "id": 1,
+ "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
+ "name": "example.zip",
+ "label": "short description",
+ "state": "uploaded",
+ "content_type": "application/zip",
+ "size": 1024,
+ "download_count": 42,
+ "created_at": "2013-02-27T19:35:32Z",
+ "updated_at": "2013-02-27T19:35:32Z",
+ "uploader": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ }
+ ]
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/sections.json b/cache/api.github.com/v3/repos/sections.json
index 5666474310..b488f8e6b7 100644
--- a/cache/api.github.com/v3/repos/sections.json
+++ b/cache/api.github.com/v3/repos/sections.json
@@ -80,24 +80,24 @@
"url": "https://developer.github.com/v3/repos/#disable-automated-security-fixes"
},
{
- "id": "list-contributors",
- "name": "List contributors",
- "url": "https://developer.github.com/v3/repos/#list-contributors"
+ "id": "list-repository-contributors",
+ "name": "List repository contributors",
+ "url": "https://developer.github.com/v3/repos/#list-repository-contributors"
},
{
- "id": "list-languages",
- "name": "List languages",
- "url": "https://developer.github.com/v3/repos/#list-languages"
+ "id": "list-repository-languages",
+ "name": "List repository languages",
+ "url": "https://developer.github.com/v3/repos/#list-repository-languages"
},
{
- "id": "list-teams",
- "name": "List teams",
- "url": "https://developer.github.com/v3/repos/#list-teams"
+ "id": "list-repository-teams",
+ "name": "List repository teams",
+ "url": "https://developer.github.com/v3/repos/#list-repository-teams"
},
{
- "id": "list-tags",
- "name": "List tags",
- "url": "https://developer.github.com/v3/repos/#list-tags"
+ "id": "list-repository-tags",
+ "name": "List repository tags",
+ "url": "https://developer.github.com/v3/repos/#list-repository-tags"
},
{
"id": "delete-a-repository",
diff --git a/cache/api.github.com/v3/repos/statistics/get-all-contributor-commit-activity.html b/cache/api.github.com/v3/repos/statistics/get-all-contributor-commit-activity.html
new file mode 100644
index 0000000000..5e164e358a
--- /dev/null
+++ b/cache/api.github.com/v3/repos/statistics/get-all-contributor-commit-activity.html
@@ -0,0 +1,59 @@
+
+
+
+ Get all contributor commit activityGET /repos/:owner/:repo/stats/contributors
+
+
+
+ Response
+-
+
total
- The Total number of commits authored by the contributor.
+
+Weekly Hash (weeks
array):
+
+-
+
w
- Start of the week, given as a Unix timestamp.
+-
+
a
- Number of additions
+-
+
d
- Number of deletions
+-
+
c
- Number of commits
+
+Status: 200 OK
+
+[
+ {
+ "author": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "total": 135,
+ "weeks": [
+ {
+ "w": "1367712000",
+ "a": 6898,
+ "d": 77,
+ "c": 10
+ }
+ ]
+ }
+]
+
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statistics/get-contributors-list-with-additions-deletions-and-commit-counts.html b/cache/api.github.com/v3/repos/statistics/get-contributors-list-with-additions-deletions-and-commit-counts.html
deleted file mode 100644
index 465d204a03..0000000000
--- a/cache/api.github.com/v3/repos/statistics/get-contributors-list-with-additions-deletions-and-commit-counts.html
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
- Get contributors list with additions, deletions, and commit countsGET /repos/:owner/:repo/stats/contributors
-
-
-
- Response
--
-
total
- The Total number of commits authored by the contributor.
-
-Weekly Hash (weeks
array):
-
--
-
w
- Start of the week, given as a Unix timestamp.
--
-
a
- Number of additions
--
-
d
- Number of deletions
--
-
c
- Number of commits
-
-Status: 200 OK
-
-[
- {
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "total": 135,
- "weeks": [
- {
- "w": "1367712000",
- "a": 6898,
- "d": 77,
- "c": 10
- }
- ]
- }
-]
-
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statistics/get-the-hourly-commit-count-for-each-day.html b/cache/api.github.com/v3/repos/statistics/get-the-hourly-commit-count-for-each-day.html
new file mode 100644
index 0000000000..035b1bdcab
--- /dev/null
+++ b/cache/api.github.com/v3/repos/statistics/get-the-hourly-commit-count-for-each-day.html
@@ -0,0 +1,37 @@
+
+
+
+ Get the hourly commit count for each dayGET /repos/:owner/:repo/stats/punch_card
+
+
+
+ ResponseEach array contains the day number, hour number, and number of commits:
+
+-
+
0-6
: Sunday - Saturday
+-
+
0-23
: Hour of day
+- Number of commits
+
+For example, [2, 14, 25]
indicates that there were 25 total commits, during the
+2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.
+Status: 200 OK
+
+[
+ [
+ 0,
+ 0,
+ 5
+ ],
+ [
+ 0,
+ 1,
+ 43
+ ],
+ [
+ 0,
+ 2,
+ 21
+ ]
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statistics/get-the-last-year-of-commit-activity-data.html b/cache/api.github.com/v3/repos/statistics/get-the-last-year-of-commit-activity-data.html
deleted file mode 100644
index 20c8efb727..0000000000
--- a/cache/api.github.com/v3/repos/statistics/get-the-last-year-of-commit-activity-data.html
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
- Get the last year of commit activity dataReturns the last year of commit activity grouped by week. The days
array
-is a group of commits per day, starting on Sunday
.
-GET /repos/:owner/:repo/stats/commit_activity
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "days": [
- 0,
- 3,
- 26,
- 20,
- 39,
- 1,
- 0
- ],
- "total": 89,
- "week": 1336280400
- }
-]
-
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statistics/get-the-last-year-of-commit-activity.html b/cache/api.github.com/v3/repos/statistics/get-the-last-year-of-commit-activity.html
new file mode 100644
index 0000000000..476bfd7d0b
--- /dev/null
+++ b/cache/api.github.com/v3/repos/statistics/get-the-last-year-of-commit-activity.html
@@ -0,0 +1,28 @@
+
+
+
+ Get the last year of commit activityReturns the last year of commit activity grouped by week. The days
array
+is a group of commits per day, starting on Sunday
.
+GET /repos/:owner/:repo/stats/commit_activity
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "days": [
+ 0,
+ 3,
+ 26,
+ 20,
+ 39,
+ 1,
+ 0
+ ],
+ "total": 89,
+ "week": 1336280400
+ }
+]
+
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statistics/get-the-number-of-additions-and-deletions-per-week.html b/cache/api.github.com/v3/repos/statistics/get-the-number-of-additions-and-deletions-per-week.html
deleted file mode 100644
index 96c29ecbdf..0000000000
--- a/cache/api.github.com/v3/repos/statistics/get-the-number-of-additions-and-deletions-per-week.html
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- Get the number of additions and deletions per weekGET /repos/:owner/:repo/stats/code_frequency
-
-
-
- ResponseReturns a weekly aggregate of the number of additions and deletions pushed
-to a repository.
-Status: 200 OK
-
-[
- [
- 1302998400,
- 1124,
- -435
- ]
-]
-
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statistics/get-the-number-of-commits-per-hour-in-each-day.html b/cache/api.github.com/v3/repos/statistics/get-the-number-of-commits-per-hour-in-each-day.html
deleted file mode 100644
index 3e2c8cd121..0000000000
--- a/cache/api.github.com/v3/repos/statistics/get-the-number-of-commits-per-hour-in-each-day.html
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
- Get the number of commits per hour in each dayGET /repos/:owner/:repo/stats/punch_card
-
-
-
- ResponseEach array contains the day number, hour number, and number of commits:
-
--
-
0-6
: Sunday - Saturday
--
-
0-23
: Hour of day
-- Number of commits
-
-For example, [2, 14, 25]
indicates that there were 25 total commits, during the
-2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.
-Status: 200 OK
-
-[
- [
- 0,
- 0,
- 5
- ],
- [
- 0,
- 1,
- 43
- ],
- [
- 0,
- 2,
- 21
- ]
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statistics/get-the-weekly-commit-activity.html b/cache/api.github.com/v3/repos/statistics/get-the-weekly-commit-activity.html
new file mode 100644
index 0000000000..5dec483ba8
--- /dev/null
+++ b/cache/api.github.com/v3/repos/statistics/get-the-weekly-commit-activity.html
@@ -0,0 +1,20 @@
+
+
+
+ Get the weekly commit activityGET /repos/:owner/:repo/stats/code_frequency
+
+
+
+ ResponseReturns a weekly aggregate of the number of additions and deletions pushed
+to a repository.
+Status: 200 OK
+
+[
+ [
+ 1302998400,
+ 1124,
+ -435
+ ]
+]
+
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statistics/get-the-weekly-commit-count-for-the-repository-owner-and-everyone-else.html b/cache/api.github.com/v3/repos/statistics/get-the-weekly-commit-count-for-the-repository-owner-and-everyone-else.html
deleted file mode 100644
index 7ad8e76312..0000000000
--- a/cache/api.github.com/v3/repos/statistics/get-the-weekly-commit-count-for-the-repository-owner-and-everyone-else.html
+++ /dev/null
@@ -1,125 +0,0 @@
-
-
-
- Get the weekly commit count for the repository owner and everyone elseGET /repos/:owner/:repo/stats/participation
-
-
-
- ResponseReturns the total commit counts for the owner
and total commit counts in all
.
-all
is everyone combined, including the owner
in the last 52 weeks. If you'd like to get the commit
-counts for non-owners, you can subtract owner
from all
.
-The array order is oldest week (index 0) to most recent week.
-Status: 200 OK
-
-{
- "all": [
- 11,
- 21,
- 15,
- 2,
- 8,
- 1,
- 8,
- 23,
- 17,
- 21,
- 11,
- 10,
- 33,
- 91,
- 38,
- 34,
- 22,
- 23,
- 32,
- 3,
- 43,
- 87,
- 71,
- 18,
- 13,
- 5,
- 13,
- 16,
- 66,
- 27,
- 12,
- 45,
- 110,
- 117,
- 13,
- 8,
- 18,
- 9,
- 19,
- 26,
- 39,
- 12,
- 20,
- 31,
- 46,
- 91,
- 45,
- 10,
- 24,
- 9,
- 29,
- 7
- ],
- "owner": [
- 3,
- 2,
- 3,
- 0,
- 2,
- 0,
- 5,
- 14,
- 7,
- 9,
- 1,
- 5,
- 0,
- 48,
- 19,
- 2,
- 0,
- 1,
- 10,
- 2,
- 23,
- 40,
- 35,
- 8,
- 8,
- 2,
- 10,
- 6,
- 30,
- 0,
- 2,
- 9,
- 53,
- 104,
- 3,
- 3,
- 10,
- 4,
- 7,
- 11,
- 21,
- 4,
- 4,
- 22,
- 26,
- 63,
- 11,
- 2,
- 14,
- 1,
- 10,
- 3
- ]
-}
-
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statistics/get-the-weekly-commit-count.html b/cache/api.github.com/v3/repos/statistics/get-the-weekly-commit-count.html
new file mode 100644
index 0000000000..5c07b95ad8
--- /dev/null
+++ b/cache/api.github.com/v3/repos/statistics/get-the-weekly-commit-count.html
@@ -0,0 +1,125 @@
+
+
+
+ Get the weekly commit countGET /repos/:owner/:repo/stats/participation
+
+
+
+ ResponseReturns the total commit counts for the owner
and total commit counts in all
.
+all
is everyone combined, including the owner
in the last 52 weeks. If you'd like to get the commit
+counts for non-owners, you can subtract owner
from all
.
+The array order is oldest week (index 0) to most recent week.
+Status: 200 OK
+
+{
+ "all": [
+ 11,
+ 21,
+ 15,
+ 2,
+ 8,
+ 1,
+ 8,
+ 23,
+ 17,
+ 21,
+ 11,
+ 10,
+ 33,
+ 91,
+ 38,
+ 34,
+ 22,
+ 23,
+ 32,
+ 3,
+ 43,
+ 87,
+ 71,
+ 18,
+ 13,
+ 5,
+ 13,
+ 16,
+ 66,
+ 27,
+ 12,
+ 45,
+ 110,
+ 117,
+ 13,
+ 8,
+ 18,
+ 9,
+ 19,
+ 26,
+ 39,
+ 12,
+ 20,
+ 31,
+ 46,
+ 91,
+ 45,
+ 10,
+ 24,
+ 9,
+ 29,
+ 7
+ ],
+ "owner": [
+ 3,
+ 2,
+ 3,
+ 0,
+ 2,
+ 0,
+ 5,
+ 14,
+ 7,
+ 9,
+ 1,
+ 5,
+ 0,
+ 48,
+ 19,
+ 2,
+ 0,
+ 1,
+ 10,
+ 2,
+ 23,
+ 40,
+ 35,
+ 8,
+ 8,
+ 2,
+ 10,
+ 6,
+ 30,
+ 0,
+ 2,
+ 9,
+ 53,
+ 104,
+ 3,
+ 3,
+ 10,
+ 4,
+ 7,
+ 11,
+ 21,
+ 4,
+ 4,
+ 22,
+ 26,
+ 63,
+ 11,
+ 2,
+ 14,
+ 1,
+ 10,
+ 3
+ ]
+}
+
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statistics/index.html b/cache/api.github.com/v3/repos/statistics/index.html
index 8727c0ff36..f23fd1909c 100644
--- a/cache/api.github.com/v3/repos/statistics/index.html
+++ b/cache/api.github.com/v3/repos/statistics/index.html
@@ -367,11 +367,11 @@
Statistics
-- Get contributors list with additions, deletions, and commit counts
-- Get the last year of commit activity data
-- Get the number of additions and deletions per week
-- Get the weekly commit count for the repository owner and everyone else
-- Get the number of commits per hour in each day
+- Get all contributor commit activity
+- Get the last year of commit activity
+- Get the weekly commit activity
+- Get the weekly commit count
+- Get the hourly commit count for each day
The Repository Statistics API allows you to fetch the data that GitHub uses for visualizing different
@@ -405,7 +405,7 @@
-
+ Get all contributor commit activity
Get contributors list with additions, deletions, and commit countsGET /repos/:owner/:repo/stats/contributors
@@ -475,7 +475,7 @@
-
+ Get the last year of commit activity
Get the last year of commit activity dataReturns the last year of commit activity grouped by week. The days
array
@@ -512,7 +512,7 @@
-
+ Get the weekly commit activity
Get the number of additions and deletions per weekGET /repos/:owner/:repo/stats/code_frequency
@@ -541,7 +541,7 @@
-
+ Get the weekly commit count
Get the weekly commit count for the repository owner and everyone elseGET /repos/:owner/:repo/stats/participation
@@ -676,7 +676,7 @@
-
+ Get the hourly commit count for each day
Get the number of commits per hour in each dayGET /repos/:owner/:repo/stats/punch_card
diff --git a/cache/api.github.com/v3/repos/statistics/sections.json b/cache/api.github.com/v3/repos/statistics/sections.json
index 69f7104a81..5e8a1d4042 100644
--- a/cache/api.github.com/v3/repos/statistics/sections.json
+++ b/cache/api.github.com/v3/repos/statistics/sections.json
@@ -1,27 +1,27 @@
[
{
- "id": "get-contributors-list-with-additions-deletions-and-commit-counts",
- "name": "Get contributors list with additions, deletions, and commit counts",
- "url": "https://developer.github.com/v3/repos/statistics/#get-contributors-list-with-additions-deletions-and-commit-counts"
+ "id": "get-all-contributor-commit-activity",
+ "name": "Get all contributor commit activity",
+ "url": "https://developer.github.com/v3/repos/statistics/#get-all-contributor-commit-activity"
},
{
- "id": "get-the-last-year-of-commit-activity-data",
- "name": "Get the last year of commit activity data",
- "url": "https://developer.github.com/v3/repos/statistics/#get-the-last-year-of-commit-activity-data"
+ "id": "get-the-last-year-of-commit-activity",
+ "name": "Get the last year of commit activity",
+ "url": "https://developer.github.com/v3/repos/statistics/#get-the-last-year-of-commit-activity"
},
{
- "id": "get-the-number-of-additions-and-deletions-per-week",
- "name": "Get the number of additions and deletions per week",
- "url": "https://developer.github.com/v3/repos/statistics/#get-the-number-of-additions-and-deletions-per-week"
+ "id": "get-the-weekly-commit-activity",
+ "name": "Get the weekly commit activity",
+ "url": "https://developer.github.com/v3/repos/statistics/#get-the-weekly-commit-activity"
},
{
- "id": "get-the-weekly-commit-count-for-the-repository-owner-and-everyone-else",
- "name": "Get the weekly commit count for the repository owner and everyone else",
- "url": "https://developer.github.com/v3/repos/statistics/#get-the-weekly-commit-count-for-the-repository-owner-and-everyone-else"
+ "id": "get-the-weekly-commit-count",
+ "name": "Get the weekly commit count",
+ "url": "https://developer.github.com/v3/repos/statistics/#get-the-weekly-commit-count"
},
{
- "id": "get-the-number-of-commits-per-hour-in-each-day",
- "name": "Get the number of commits per hour in each day",
- "url": "https://developer.github.com/v3/repos/statistics/#get-the-number-of-commits-per-hour-in-each-day"
+ "id": "get-the-hourly-commit-count-for-each-day",
+ "name": "Get the hourly commit count for each day",
+ "url": "https://developer.github.com/v3/repos/statistics/#get-the-hourly-commit-count-for-each-day"
}
]
diff --git a/cache/api.github.com/v3/repos/statuses/create-a-commit-status.html b/cache/api.github.com/v3/repos/statuses/create-a-commit-status.html
new file mode 100644
index 0000000000..b6f8ec8f21
--- /dev/null
+++ b/cache/api.github.com/v3/repos/statuses/create-a-commit-status.html
@@ -0,0 +1,91 @@
+
+
+
+ Create a commit statusUsers with push access in a repository can create commit statuses for a given SHA.
+POST /repos/:owner/:repo/statuses/:sha
+
+Note: there is a limit of 1000 statuses per sha
and context
within a repository.
+Attempts to create more than 1000 statuses will result in a validation error.
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+state
+string
+
+Required. The state of the status. Can be one of error
, failure
, pending
, or success
.
+
+
+target_url
+string
+The target URL to associate with this status. This URL will be linked from the GitHub UI to allow users to easily see the source of the status.
For example, if your continuous integration system is posting build status, you would want to provide the deep link for the build output for this specific SHA:
http://ci.example.com/user/repo/build/sha
+
+
+
+description
+string
+A short description of the status.
+
+
+context
+string
+A string label to differentiate this status from the status of other systems. Default: default
+
+
+
+
+
+
+ Example{
+ "state": "success",
+ "target_url": "https://example.com/build/status",
+ "description": "The build succeeded!",
+ "context": "continuous-integration/jenkins"
+}
+
+
+
+ ResponseStatus: 201 Created
+Location: https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "avatar_url": "https://github.com/images/error/hubot_happy.gif",
+ "id": 1,
+ "node_id": "MDY6U3RhdHVzMQ==",
+ "state": "success",
+ "description": "Build has completed successfully",
+ "target_url": "https://ci.example.com/1000/output",
+ "context": "continuous-integration/jenkins",
+ "created_at": "2012-07-20T01:19:13Z",
+ "updated_at": "2012-07-20T01:19:13Z",
+ "creator": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statuses/create-a-status.html b/cache/api.github.com/v3/repos/statuses/create-a-status.html
deleted file mode 100644
index ae3f89b082..0000000000
--- a/cache/api.github.com/v3/repos/statuses/create-a-status.html
+++ /dev/null
@@ -1,91 +0,0 @@
-
-
-
- Create a statusUsers with push access in a repository can create commit statuses for a given SHA.
-POST /repos/:owner/:repo/statuses/:sha
-
-Note: there is a limit of 1000 statuses per sha
and context
within a repository.
-Attempts to create more than 1000 statuses will result in a validation error.
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-state
-string
-
-Required. The state of the status. Can be one of error
, failure
, pending
, or success
.
-
-
-target_url
-string
-The target URL to associate with this status. This URL will be linked from the GitHub UI to allow users to easily see the source of the status.
For example, if your continuous integration system is posting build status, you would want to provide the deep link for the build output for this specific SHA:
http://ci.example.com/user/repo/build/sha
-
-
-
-description
-string
-A short description of the status.
-
-
-context
-string
-A string label to differentiate this status from the status of other systems. Default: default
-
-
-
-
-
-
- Example{
- "state": "success",
- "target_url": "https://example.com/build/status",
- "description": "The build succeeded!",
- "context": "continuous-integration/jenkins"
-}
-
-
-
- ResponseStatus: 201 Created
-Location: https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "avatar_url": "https://github.com/images/error/hubot_happy.gif",
- "id": 1,
- "node_id": "MDY6U3RhdHVzMQ==",
- "state": "success",
- "description": "Build has completed successfully",
- "target_url": "https://ci.example.com/1000/output",
- "context": "continuous-integration/jenkins",
- "created_at": "2012-07-20T01:19:13Z",
- "updated_at": "2012-07-20T01:19:13Z",
- "creator": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statuses/get-the-combined-status-for-a-specific-ref.html b/cache/api.github.com/v3/repos/statuses/get-the-combined-status-for-a-specific-ref.html
deleted file mode 100644
index 0ad5726a9b..0000000000
--- a/cache/api.github.com/v3/repos/statuses/get-the-combined-status-for-a-specific-ref.html
+++ /dev/null
@@ -1,126 +0,0 @@
-
-
-
- Get the combined status for a specific refUsers with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.
-GET /repos/:owner/:repo/commits/:ref/status
-
-The most recent status for each context is returned, up to 100. This field
-paginates if there are over 100 contexts.
-Additionally, a combined state
is returned. The state
is one of:
-
--
-failure if any of the contexts report as
error
or failure
-
--
-pending if there are no statuses or a context is
pending
-
--
-success if the latest status for all contexts is
success
-
-
-
-
- ResponseStatus: 200 OK
-
-{
- "state": "success",
- "statuses": [
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "avatar_url": "https://github.com/images/error/hubot_happy.gif",
- "id": 1,
- "node_id": "MDY6U3RhdHVzMQ==",
- "state": "success",
- "description": "Build has completed successfully",
- "target_url": "https://ci.example.com/1000/output",
- "context": "continuous-integration/jenkins",
- "created_at": "2012-07-20T01:19:13Z",
- "updated_at": "2012-07-20T01:19:13Z"
- },
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "avatar_url": "https://github.com/images/error/other_user_happy.gif",
- "id": 2,
- "node_id": "MDY6U3RhdHVzMg==",
- "state": "success",
- "description": "Testing has completed successfully",
- "target_url": "https://ci.example.com/2000/output",
- "context": "security/brakeman",
- "created_at": "2012-08-20T01:19:13Z",
- "updated_at": "2012-08-20T01:19:13Z"
- }
- ],
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "total_count": 2,
- "repository": {
- "id": 1296269,
- "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
- "name": "Hello-World",
- "full_name": "octocat/Hello-World",
- "owner": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "private": false,
- "html_url": "https://github.com/octocat/Hello-World",
- "description": "This your first repo!",
- "fork": false,
- "url": "https://api.github.com/repos/octocat/Hello-World",
- "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
- "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
- "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
- "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
- "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
- "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
- "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
- "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
- "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
- "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
- "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
- "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
- "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
- "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
- "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
- "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
- "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
- "git_url": "git:github.com/octocat/Hello-World.git",
- "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
- "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
- "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
- "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
- "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
- "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
- "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
- "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
- "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
- "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
- "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
- "ssh_url": "git@github.com:octocat/Hello-World.git",
- "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
- "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
- "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
- "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
- "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
- "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
- "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "commit_url": "https://api.github.com/repos/octocat/Hello-World/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "url": "https://api.github.com/repos/octocat/Hello-World/6dcb09b5b57875f334f61aebed695e2e4193db5e/status"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statuses/get-the-combined-status-for-a-specific-reference.html b/cache/api.github.com/v3/repos/statuses/get-the-combined-status-for-a-specific-reference.html
new file mode 100644
index 0000000000..fdd5281178
--- /dev/null
+++ b/cache/api.github.com/v3/repos/statuses/get-the-combined-status-for-a-specific-reference.html
@@ -0,0 +1,126 @@
+
+
+
+ Get the combined status for a specific referenceUsers with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.
+GET /repos/:owner/:repo/commits/:ref/status
+
+The most recent status for each context is returned, up to 100. This field
+paginates if there are over 100 contexts.
+Additionally, a combined state
is returned. The state
is one of:
+
+-
+failure if any of the contexts report as
error
or failure
+
+-
+pending if there are no statuses or a context is
pending
+
+-
+success if the latest status for all contexts is
success
+
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "state": "success",
+ "statuses": [
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "avatar_url": "https://github.com/images/error/hubot_happy.gif",
+ "id": 1,
+ "node_id": "MDY6U3RhdHVzMQ==",
+ "state": "success",
+ "description": "Build has completed successfully",
+ "target_url": "https://ci.example.com/1000/output",
+ "context": "continuous-integration/jenkins",
+ "created_at": "2012-07-20T01:19:13Z",
+ "updated_at": "2012-07-20T01:19:13Z"
+ },
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "avatar_url": "https://github.com/images/error/other_user_happy.gif",
+ "id": 2,
+ "node_id": "MDY6U3RhdHVzMg==",
+ "state": "success",
+ "description": "Testing has completed successfully",
+ "target_url": "https://ci.example.com/2000/output",
+ "context": "security/brakeman",
+ "created_at": "2012-08-20T01:19:13Z",
+ "updated_at": "2012-08-20T01:19:13Z"
+ }
+ ],
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "total_count": 2,
+ "repository": {
+ "id": 1296269,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
+ "name": "Hello-World",
+ "full_name": "octocat/Hello-World",
+ "owner": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/octocat/Hello-World",
+ "description": "This your first repo!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octocat/Hello-World",
+ "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ },
+ "commit_url": "https://api.github.com/repos/octocat/Hello-World/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "url": "https://api.github.com/repos/octocat/Hello-World/6dcb09b5b57875f334f61aebed695e2e4193db5e/status"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statuses/index.html b/cache/api.github.com/v3/repos/statuses/index.html
index e8e09f1aff..716c1fe54b 100644
--- a/cache/api.github.com/v3/repos/statuses/index.html
+++ b/cache/api.github.com/v3/repos/statuses/index.html
@@ -367,9 +367,9 @@
Statuses
-- Create a status
-- List statuses for a specific ref
-- Get the combined status for a specific ref
+- Create a commit status
+- List commit statuses for a reference
+- Get the combined status for a specific reference
The status API allows external services to mark commits with an error
,
@@ -389,7 +389,7 @@
Statuses can include a context
to indicate what service is providing that status.
For example, you may have your continuous integration service push statuses with a context of ci
,
and a security audit tool push statuses with a context of security
. You can
-then use the combined status endpoint
+then use the Get the combined status for a specific reference
to retrieve the whole status for a commit.
Note that the repo:status
OAuth scope grants targeted
@@ -399,7 +399,7 @@
If you are developing a GitHub App and want to provide more detailed information about an external service, you may want to use the Checks API.
-
+ Create a commit status
Create a statusUsers with push access in a repository can create commit statuses for a given SHA.
@@ -504,7 +504,7 @@
-
+ List commit statuses for a reference
List statuses for a specific ref
Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.
@@ -566,7 +566,7 @@
-
+ Get the combined status for a specific reference
Get the combined status for a specific ref
Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.
diff --git a/cache/api.github.com/v3/repos/statuses/list-commit-statuses-for-a-reference.html b/cache/api.github.com/v3/repos/statuses/list-commit-statuses-for-a-reference.html
new file mode 100644
index 0000000000..094eb25d62
--- /dev/null
+++ b/cache/api.github.com/v3/repos/statuses/list-commit-statuses-for-a-reference.html
@@ -0,0 +1,53 @@
+
+
+
+ List commit statuses for a referenceUsers with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.
+GET /repos/:owner/:repo/commits/:ref/statuses
+
+
+
+This resource is also available via a legacy route:
+GET /repos/:owner/:repo/statuses/:ref
.
+
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "avatar_url": "https://github.com/images/error/hubot_happy.gif",
+ "id": 1,
+ "node_id": "MDY6U3RhdHVzMQ==",
+ "state": "success",
+ "description": "Build has completed successfully",
+ "target_url": "https://ci.example.com/1000/output",
+ "context": "continuous-integration/jenkins",
+ "created_at": "2012-07-20T01:19:13Z",
+ "updated_at": "2012-07-20T01:19:13Z",
+ "creator": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statuses/list-statuses-for-a-specific-ref.html b/cache/api.github.com/v3/repos/statuses/list-statuses-for-a-specific-ref.html
deleted file mode 100644
index 937302164c..0000000000
--- a/cache/api.github.com/v3/repos/statuses/list-statuses-for-a-specific-ref.html
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
- List statuses for a specific refUsers with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.
-GET /repos/:owner/:repo/commits/:ref/statuses
-
-
-
-This resource is also available via a legacy route:
-GET /repos/:owner/:repo/statuses/:ref
.
-
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "avatar_url": "https://github.com/images/error/hubot_happy.gif",
- "id": 1,
- "node_id": "MDY6U3RhdHVzMQ==",
- "state": "success",
- "description": "Build has completed successfully",
- "target_url": "https://ci.example.com/1000/output",
- "context": "continuous-integration/jenkins",
- "created_at": "2012-07-20T01:19:13Z",
- "updated_at": "2012-07-20T01:19:13Z",
- "creator": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statuses/sections.json b/cache/api.github.com/v3/repos/statuses/sections.json
index cb9f853007..47ae1186ba 100644
--- a/cache/api.github.com/v3/repos/statuses/sections.json
+++ b/cache/api.github.com/v3/repos/statuses/sections.json
@@ -1,17 +1,17 @@
[
{
- "id": "create-a-status",
- "name": "Create a status",
- "url": "https://developer.github.com/v3/repos/statuses/#create-a-status"
+ "id": "create-a-commit-status",
+ "name": "Create a commit status",
+ "url": "https://developer.github.com/v3/repos/statuses/#create-a-commit-status"
},
{
- "id": "list-statuses-for-a-specific-ref",
- "name": "List statuses for a specific ref",
- "url": "https://developer.github.com/v3/repos/statuses/#list-statuses-for-a-specific-ref"
+ "id": "list-commit-statuses-for-a-reference",
+ "name": "List commit statuses for a reference",
+ "url": "https://developer.github.com/v3/repos/statuses/#list-commit-statuses-for-a-reference"
},
{
- "id": "get-the-combined-status-for-a-specific-ref",
- "name": "Get the combined status for a specific ref",
- "url": "https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref"
+ "id": "get-the-combined-status-for-a-specific-reference",
+ "name": "Get the combined status for a specific reference",
+ "url": "https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-reference"
}
]
diff --git a/cache/api.github.com/v3/repos/traffic/clones.html b/cache/api.github.com/v3/repos/traffic/clones.html
deleted file mode 100644
index 902243c7c4..0000000000
--- a/cache/api.github.com/v3/repos/traffic/clones.html
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
-
- ClonesGet the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.
-GET /repos/:owner/:repo/traffic/clones
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-per
-string
-Must be one of: day
, week
. Default: day
-
-
-
-
-
-
- ResponseStatus: 200 OK
-
-{
- "count": 173,
- "uniques": 128,
- "clones": [
- {
- "timestamp": "2016-10-10T00:00:00Z",
- "count": 2,
- "uniques": 1
- },
- {
- "timestamp": "2016-10-11T00:00:00Z",
- "count": 17,
- "uniques": 16
- },
- {
- "timestamp": "2016-10-12T00:00:00Z",
- "count": 21,
- "uniques": 15
- },
- {
- "timestamp": "2016-10-13T00:00:00Z",
- "count": 8,
- "uniques": 7
- },
- {
- "timestamp": "2016-10-14T00:00:00Z",
- "count": 5,
- "uniques": 5
- },
- {
- "timestamp": "2016-10-15T00:00:00Z",
- "count": 2,
- "uniques": 2
- },
- {
- "timestamp": "2016-10-16T00:00:00Z",
- "count": 8,
- "uniques": 7
- },
- {
- "timestamp": "2016-10-17T00:00:00Z",
- "count": 26,
- "uniques": 15
- },
- {
- "timestamp": "2016-10-18T00:00:00Z",
- "count": 19,
- "uniques": 17
- },
- {
- "timestamp": "2016-10-19T00:00:00Z",
- "count": 19,
- "uniques": 14
- },
- {
- "timestamp": "2016-10-20T00:00:00Z",
- "count": 19,
- "uniques": 15
- },
- {
- "timestamp": "2016-10-21T00:00:00Z",
- "count": 9,
- "uniques": 7
- },
- {
- "timestamp": "2016-10-22T00:00:00Z",
- "count": 5,
- "uniques": 5
- },
- {
- "timestamp": "2016-10-23T00:00:00Z",
- "count": 6,
- "uniques": 5
- },
- {
- "timestamp": "2016-10-24T00:00:00Z",
- "count": 7,
- "uniques": 5
- }
- ]
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/traffic/get-page-views.html b/cache/api.github.com/v3/repos/traffic/get-page-views.html
new file mode 100644
index 0000000000..1f1d1a59d4
--- /dev/null
+++ b/cache/api.github.com/v3/repos/traffic/get-page-views.html
@@ -0,0 +1,111 @@
+
+
+
+ Get page viewsGet the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.
+GET /repos/:owner/:repo/traffic/views
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+per
+string
+Must be one of: day
, week
. Default: day
+
+
+
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "count": 14850,
+ "uniques": 3782,
+ "views": [
+ {
+ "timestamp": "2016-10-10T00:00:00Z",
+ "count": 440,
+ "uniques": 143
+ },
+ {
+ "timestamp": "2016-10-11T00:00:00Z",
+ "count": 1308,
+ "uniques": 414
+ },
+ {
+ "timestamp": "2016-10-12T00:00:00Z",
+ "count": 1486,
+ "uniques": 452
+ },
+ {
+ "timestamp": "2016-10-13T00:00:00Z",
+ "count": 1170,
+ "uniques": 401
+ },
+ {
+ "timestamp": "2016-10-14T00:00:00Z",
+ "count": 868,
+ "uniques": 266
+ },
+ {
+ "timestamp": "2016-10-15T00:00:00Z",
+ "count": 495,
+ "uniques": 157
+ },
+ {
+ "timestamp": "2016-10-16T00:00:00Z",
+ "count": 524,
+ "uniques": 175
+ },
+ {
+ "timestamp": "2016-10-17T00:00:00Z",
+ "count": 1263,
+ "uniques": 412
+ },
+ {
+ "timestamp": "2016-10-18T00:00:00Z",
+ "count": 1402,
+ "uniques": 417
+ },
+ {
+ "timestamp": "2016-10-19T00:00:00Z",
+ "count": 1394,
+ "uniques": 424
+ },
+ {
+ "timestamp": "2016-10-20T00:00:00Z",
+ "count": 1492,
+ "uniques": 448
+ },
+ {
+ "timestamp": "2016-10-21T00:00:00Z",
+ "count": 1153,
+ "uniques": 332
+ },
+ {
+ "timestamp": "2016-10-22T00:00:00Z",
+ "count": 566,
+ "uniques": 168
+ },
+ {
+ "timestamp": "2016-10-23T00:00:00Z",
+ "count": 675,
+ "uniques": 184
+ },
+ {
+ "timestamp": "2016-10-24T00:00:00Z",
+ "count": 614,
+ "uniques": 237
+ }
+ ]
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/traffic/get-repository-clones.html b/cache/api.github.com/v3/repos/traffic/get-repository-clones.html
new file mode 100644
index 0000000000..1b4c7933d7
--- /dev/null
+++ b/cache/api.github.com/v3/repos/traffic/get-repository-clones.html
@@ -0,0 +1,111 @@
+
+
+
+ Get repository clonesGet the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.
+GET /repos/:owner/:repo/traffic/clones
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+per
+string
+Must be one of: day
, week
. Default: day
+
+
+
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "count": 173,
+ "uniques": 128,
+ "clones": [
+ {
+ "timestamp": "2016-10-10T00:00:00Z",
+ "count": 2,
+ "uniques": 1
+ },
+ {
+ "timestamp": "2016-10-11T00:00:00Z",
+ "count": 17,
+ "uniques": 16
+ },
+ {
+ "timestamp": "2016-10-12T00:00:00Z",
+ "count": 21,
+ "uniques": 15
+ },
+ {
+ "timestamp": "2016-10-13T00:00:00Z",
+ "count": 8,
+ "uniques": 7
+ },
+ {
+ "timestamp": "2016-10-14T00:00:00Z",
+ "count": 5,
+ "uniques": 5
+ },
+ {
+ "timestamp": "2016-10-15T00:00:00Z",
+ "count": 2,
+ "uniques": 2
+ },
+ {
+ "timestamp": "2016-10-16T00:00:00Z",
+ "count": 8,
+ "uniques": 7
+ },
+ {
+ "timestamp": "2016-10-17T00:00:00Z",
+ "count": 26,
+ "uniques": 15
+ },
+ {
+ "timestamp": "2016-10-18T00:00:00Z",
+ "count": 19,
+ "uniques": 17
+ },
+ {
+ "timestamp": "2016-10-19T00:00:00Z",
+ "count": 19,
+ "uniques": 14
+ },
+ {
+ "timestamp": "2016-10-20T00:00:00Z",
+ "count": 19,
+ "uniques": 15
+ },
+ {
+ "timestamp": "2016-10-21T00:00:00Z",
+ "count": 9,
+ "uniques": 7
+ },
+ {
+ "timestamp": "2016-10-22T00:00:00Z",
+ "count": 5,
+ "uniques": 5
+ },
+ {
+ "timestamp": "2016-10-23T00:00:00Z",
+ "count": 6,
+ "uniques": 5
+ },
+ {
+ "timestamp": "2016-10-24T00:00:00Z",
+ "count": 7,
+ "uniques": 5
+ }
+ ]
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/traffic/get-top-referral-paths.html b/cache/api.github.com/v3/repos/traffic/get-top-referral-paths.html
new file mode 100644
index 0000000000..1b815c2c21
--- /dev/null
+++ b/cache/api.github.com/v3/repos/traffic/get-top-referral-paths.html
@@ -0,0 +1,73 @@
+
+
+
+ Get top referral pathsGet the top 10 popular contents over the last 14 days.
+GET /repos/:owner/:repo/traffic/popular/paths
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "path": "/github/hubot",
+ "title": "github/hubot: A customizable life embetterment robot.",
+ "count": 3542,
+ "uniques": 2225
+ },
+ {
+ "path": "/github/hubot/blob/master/docs/scripting.md",
+ "title": "hubot/scripting.md at master · github/hubot · GitHub",
+ "count": 1707,
+ "uniques": 804
+ },
+ {
+ "path": "/github/hubot/tree/master/docs",
+ "title": "hubot/docs at master · github/hubot · GitHub",
+ "count": 685,
+ "uniques": 435
+ },
+ {
+ "path": "/github/hubot/tree/master/src",
+ "title": "hubot/src at master · github/hubot · GitHub",
+ "count": 577,
+ "uniques": 347
+ },
+ {
+ "path": "/github/hubot/blob/master/docs/index.md",
+ "title": "hubot/index.md at master · github/hubot · GitHub",
+ "count": 379,
+ "uniques": 259
+ },
+ {
+ "path": "/github/hubot/blob/master/docs/adapters.md",
+ "title": "hubot/adapters.md at master · github/hubot · GitHub",
+ "count": 354,
+ "uniques": 201
+ },
+ {
+ "path": "/github/hubot/tree/master/examples",
+ "title": "hubot/examples at master · github/hubot · GitHub",
+ "count": 340,
+ "uniques": 260
+ },
+ {
+ "path": "/github/hubot/blob/master/docs/deploying/heroku.md",
+ "title": "hubot/heroku.md at master · github/hubot · GitHub",
+ "count": 324,
+ "uniques": 217
+ },
+ {
+ "path": "/github/hubot/blob/master/src/robot.coffee",
+ "title": "hubot/robot.coffee at master · github/hubot · GitHub",
+ "count": 293,
+ "uniques": 191
+ },
+ {
+ "path": "/github/hubot/blob/master/LICENSE.md",
+ "title": "hubot/LICENSE.md at master · github/hubot · GitHub",
+ "count": 281,
+ "uniques": 222
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/traffic/get-top-referral-sources.html b/cache/api.github.com/v3/repos/traffic/get-top-referral-sources.html
new file mode 100644
index 0000000000..ced904c5ec
--- /dev/null
+++ b/cache/api.github.com/v3/repos/traffic/get-top-referral-sources.html
@@ -0,0 +1,33 @@
+
+
+
+ Get top referral sourcesGet the top 10 referrers over the last 14 days.
+GET /repos/:owner/:repo/traffic/popular/referrers
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "referrer": "Google",
+ "count": 4,
+ "uniques": 3
+ },
+ {
+ "referrer": "stackoverflow.com",
+ "count": 2,
+ "uniques": 2
+ },
+ {
+ "referrer": "eggsonbread.com",
+ "count": 1,
+ "uniques": 1
+ },
+ {
+ "referrer": "yandex.ru",
+ "count": 1,
+ "uniques": 1
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/traffic/index.html b/cache/api.github.com/v3/repos/traffic/index.html
index 04ae4993c7..4704aa5753 100644
--- a/cache/api.github.com/v3/repos/traffic/index.html
+++ b/cache/api.github.com/v3/repos/traffic/index.html
@@ -367,10 +367,10 @@
Traffic
-- List referrers
-- List paths
-- Views
-- Clones
+- Get top referral sources
+- Get top referral paths
+- Get page views
+- Get repository clones
For repositories that you have push access to, the traffic API provides access
@@ -379,7 +379,7 @@
-
+ Get top referral sources
List referrersGet the top 10 referrers over the last 14 days.
@@ -420,7 +420,7 @@
-
+ Get top referral paths
List paths
Get the top 10 popular contents over the last 14 days.
@@ -501,7 +501,7 @@
-
+ Get page views
Views
Get the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.
@@ -622,7 +622,7 @@
-
+ Get repository clones
Clones
Get the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.
diff --git a/cache/api.github.com/v3/repos/traffic/list-paths.html b/cache/api.github.com/v3/repos/traffic/list-paths.html
deleted file mode 100644
index d8bc19e3ed..0000000000
--- a/cache/api.github.com/v3/repos/traffic/list-paths.html
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
- List pathsGet the top 10 popular contents over the last 14 days.
-GET /repos/:owner/:repo/traffic/popular/paths
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "path": "/github/hubot",
- "title": "github/hubot: A customizable life embetterment robot.",
- "count": 3542,
- "uniques": 2225
- },
- {
- "path": "/github/hubot/blob/master/docs/scripting.md",
- "title": "hubot/scripting.md at master · github/hubot · GitHub",
- "count": 1707,
- "uniques": 804
- },
- {
- "path": "/github/hubot/tree/master/docs",
- "title": "hubot/docs at master · github/hubot · GitHub",
- "count": 685,
- "uniques": 435
- },
- {
- "path": "/github/hubot/tree/master/src",
- "title": "hubot/src at master · github/hubot · GitHub",
- "count": 577,
- "uniques": 347
- },
- {
- "path": "/github/hubot/blob/master/docs/index.md",
- "title": "hubot/index.md at master · github/hubot · GitHub",
- "count": 379,
- "uniques": 259
- },
- {
- "path": "/github/hubot/blob/master/docs/adapters.md",
- "title": "hubot/adapters.md at master · github/hubot · GitHub",
- "count": 354,
- "uniques": 201
- },
- {
- "path": "/github/hubot/tree/master/examples",
- "title": "hubot/examples at master · github/hubot · GitHub",
- "count": 340,
- "uniques": 260
- },
- {
- "path": "/github/hubot/blob/master/docs/deploying/heroku.md",
- "title": "hubot/heroku.md at master · github/hubot · GitHub",
- "count": 324,
- "uniques": 217
- },
- {
- "path": "/github/hubot/blob/master/src/robot.coffee",
- "title": "hubot/robot.coffee at master · github/hubot · GitHub",
- "count": 293,
- "uniques": 191
- },
- {
- "path": "/github/hubot/blob/master/LICENSE.md",
- "title": "hubot/LICENSE.md at master · github/hubot · GitHub",
- "count": 281,
- "uniques": 222
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/traffic/list-referrers.html b/cache/api.github.com/v3/repos/traffic/list-referrers.html
deleted file mode 100644
index 2fff9af322..0000000000
--- a/cache/api.github.com/v3/repos/traffic/list-referrers.html
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
- List referrersGet the top 10 referrers over the last 14 days.
-GET /repos/:owner/:repo/traffic/popular/referrers
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "referrer": "Google",
- "count": 4,
- "uniques": 3
- },
- {
- "referrer": "stackoverflow.com",
- "count": 2,
- "uniques": 2
- },
- {
- "referrer": "eggsonbread.com",
- "count": 1,
- "uniques": 1
- },
- {
- "referrer": "yandex.ru",
- "count": 1,
- "uniques": 1
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/traffic/sections.json b/cache/api.github.com/v3/repos/traffic/sections.json
index 81ac56be3d..21c92d46f2 100644
--- a/cache/api.github.com/v3/repos/traffic/sections.json
+++ b/cache/api.github.com/v3/repos/traffic/sections.json
@@ -1,22 +1,22 @@
[
{
- "id": "list-referrers",
- "name": "List referrers",
- "url": "https://developer.github.com/v3/repos/traffic/#list-referrers"
+ "id": "get-top-referral-sources",
+ "name": "Get top referral sources",
+ "url": "https://developer.github.com/v3/repos/traffic/#get-top-referral-sources"
},
{
- "id": "list-paths",
- "name": "List paths",
- "url": "https://developer.github.com/v3/repos/traffic/#list-paths"
+ "id": "get-top-referral-paths",
+ "name": "Get top referral paths",
+ "url": "https://developer.github.com/v3/repos/traffic/#get-top-referral-paths"
},
{
- "id": "views",
- "name": "Views",
- "url": "https://developer.github.com/v3/repos/traffic/#views"
+ "id": "get-page-views",
+ "name": "Get page views",
+ "url": "https://developer.github.com/v3/repos/traffic/#get-page-views"
},
{
- "id": "clones",
- "name": "Clones",
- "url": "https://developer.github.com/v3/repos/traffic/#clones"
+ "id": "get-repository-clones",
+ "name": "Get repository clones",
+ "url": "https://developer.github.com/v3/repos/traffic/#get-repository-clones"
}
]
diff --git a/cache/api.github.com/v3/repos/traffic/views.html b/cache/api.github.com/v3/repos/traffic/views.html
deleted file mode 100644
index 9261b7b8b7..0000000000
--- a/cache/api.github.com/v3/repos/traffic/views.html
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
-
- ViewsGet the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.
-GET /repos/:owner/:repo/traffic/views
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-per
-string
-Must be one of: day
, week
. Default: day
-
-
-
-
-
-
- ResponseStatus: 200 OK
-
-{
- "count": 14850,
- "uniques": 3782,
- "views": [
- {
- "timestamp": "2016-10-10T00:00:00Z",
- "count": 440,
- "uniques": 143
- },
- {
- "timestamp": "2016-10-11T00:00:00Z",
- "count": 1308,
- "uniques": 414
- },
- {
- "timestamp": "2016-10-12T00:00:00Z",
- "count": 1486,
- "uniques": 452
- },
- {
- "timestamp": "2016-10-13T00:00:00Z",
- "count": 1170,
- "uniques": 401
- },
- {
- "timestamp": "2016-10-14T00:00:00Z",
- "count": 868,
- "uniques": 266
- },
- {
- "timestamp": "2016-10-15T00:00:00Z",
- "count": 495,
- "uniques": 157
- },
- {
- "timestamp": "2016-10-16T00:00:00Z",
- "count": 524,
- "uniques": 175
- },
- {
- "timestamp": "2016-10-17T00:00:00Z",
- "count": 1263,
- "uniques": 412
- },
- {
- "timestamp": "2016-10-18T00:00:00Z",
- "count": 1402,
- "uniques": 417
- },
- {
- "timestamp": "2016-10-19T00:00:00Z",
- "count": 1394,
- "uniques": 424
- },
- {
- "timestamp": "2016-10-20T00:00:00Z",
- "count": 1492,
- "uniques": 448
- },
- {
- "timestamp": "2016-10-21T00:00:00Z",
- "count": 1153,
- "uniques": 332
- },
- {
- "timestamp": "2016-10-22T00:00:00Z",
- "count": 566,
- "uniques": 168
- },
- {
- "timestamp": "2016-10-23T00:00:00Z",
- "count": 675,
- "uniques": 184
- },
- {
- "timestamp": "2016-10-24T00:00:00Z",
- "count": 614,
- "uniques": 237
- }
- ]
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/delete-a-scim-user-from-an-organization.html b/cache/api.github.com/v3/scim/delete-a-scim-user-from-an-organization.html
new file mode 100644
index 0000000000..0bbd95dbe1
--- /dev/null
+++ b/cache/api.github.com/v3/scim/delete-a-scim-user-from-an-organization.html
@@ -0,0 +1,9 @@
+
+
+
+ Delete a SCIM user from an organizationDELETE /scim/v2/organizations/:org/Users/:scim_user_id
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/get-a-list-of-provisioned-identities.html b/cache/api.github.com/v3/scim/get-a-list-of-provisioned-identities.html
deleted file mode 100644
index e836d89f16..0000000000
--- a/cache/api.github.com/v3/scim/get-a-list-of-provisioned-identities.html
+++ /dev/null
@@ -1,151 +0,0 @@
-
-
-
- Get a list of provisioned identitiesGET /scim/v2/organizations/:org/Users
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-startIndex
-integer
-Used for pagination: the index of the first result to return.
-
-
-count
-integer
-Used for pagination: the number of results to return.
-
-
-filter
-string
-Filters results using the equals query parameter operator (eq
). You can filter results that are equal to id
, userName
, emails
, and external_id
. For example, to search for an identity with the userName
Octocat, you would use this query: ?filter=userName%20eq%20\"Octocat\"
.
-
-
-
-
-
- ExampleTo filter for a specific email address, use the email
query parameter and the eq
operator:
-GET /scim/v2/organizations/:org/Users?filter=emails eq user@example.com
-
-Your filter would look like this cURL command:
-curl -u octocat:$token https://api.github.com/scim/v2/organizations/octo-org/Users?filter=emails%20eq%20\"octocat@github.com\"
-
-
-
- Response with filterRetrieves users that match the filter. In the example, we searched only for octocat@github.com.
-Status: 200 OK
-
-{
- "schemas": [
- "urn:ietf:params:scim:api:messages:2.0:ListResponse"
- ],
- "totalResults": 1,
- "itemsPerPage": 1,
- "startIndex": 1,
- "Resources": [
- {
- "schemas": [
- "urn:ietf:params:scim:schemas:core:2.0:User"
- ],
- "id": "5fc0c238-1112-11e8-8e45-920c87bdbd75",
- "externalId": "00u1dhhb1fkIGP7RL1d8",
- "userName": "octocat@github.com",
- "name": {
- "givenName": "Mona",
- "familyName": "Octocat"
- },
- "emails": [
- {
- "value": "octocat@github.com",
- "primary": true,
- "type": "work"
- }
- ],
- "active": true,
- "meta": {
- "resourceType": "User",
- "created": "2018-02-13T15:05:24.000-08:00",
- "lastModified": "2018-02-13T15:05:55.000-08:00",
- "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/5fc0c238-1112-11e8-8e45-920c87bdbd75"
- }
- }
- ]
-}
-
-
-
- Response without filterRetrieves a paginated list of all provisioned organization members, including pending invitations.
-Status: 200 OK
-
-{
- "schemas": [
- "urn:ietf:params:scim:api:messages:2.0:ListResponse"
- ],
- "totalResults": 2,
- "itemsPerPage": 2,
- "startIndex": 1,
- "Resources": [
- {
- "schemas": [
- "urn:ietf:params:scim:schemas:core:2.0:User"
- ],
- "id": "edefdfedf-050c-11e7-8d32",
- "externalId": "a7d0f98382",
- "userName": "mona.octocat@okta.example.com",
- "name": {
- "givenName": "Mona",
- "familyName": "Octocat"
- },
- "emails": [
- {
- "value": "mona.octocat@okta.example.com",
- "type": "work",
- "primary": true
- }
- ],
- "active": true,
- "meta": {
- "resourceType": "User",
- "created": "2017-03-09T16:11:13-05:00",
- "lastModified": "2017-03-09T16:11:13-05:00",
- "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32"
- }
- },
- {
- "schemas": [
- "urn:ietf:params:scim:schemas:core:2.0:User"
- ],
- "id": "77563764-eb6-24-0598234-958243",
- "externalId": "sdfoiausdofiua",
- "userName": "hubot@example.com",
- "name": {
- "givenName": "hu",
- "familyName": "bot"
- },
- "emails": [
- {
- "value": "hubot@example.com",
- "type": "work",
- "primary": true
- }
- ],
- "active": true,
- "meta": {
- "resourceType": "User",
- "created": "2017-03-09T16:11:13-05:00",
- "lastModified": "2017-03-09T16:11:13-05:00",
- "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243"
- }
- }
- ]
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/get-provisioning-details-for-a-single-user.html b/cache/api.github.com/v3/scim/get-provisioning-details-for-a-single-user.html
deleted file mode 100644
index 3672ed0c1d..0000000000
--- a/cache/api.github.com/v3/scim/get-provisioning-details-for-a-single-user.html
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
- Get provisioning details for a single userGET /scim/v2/organizations/:org/Users/:scim_user_id
-
-
-
- ResponseStatus: 200 OK
-
-{
- "schemas": [
- "urn:ietf:params:scim:schemas:core:2.0:User"
- ],
- "id": "edefdfedf-050c-11e7-8d32",
- "externalId": "a7d0f98382",
- "userName": "mona.octocat@okta.example.com",
- "name": {
- "givenName": "Mona",
- "familyName": "Octocat"
- },
- "emails": [
- {
- "value": "mona.octocat@okta.example.com",
- "type": "work",
- "primary": true
- }
- ],
- "active": true,
- "meta": {
- "resourceType": "User",
- "created": "2017-03-09T16:11:13-05:00",
- "lastModified": "2017-03-09T16:11:13-05:00",
- "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32"
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/get-scim-provisioning-information-for-a-user.html b/cache/api.github.com/v3/scim/get-scim-provisioning-information-for-a-user.html
new file mode 100644
index 0000000000..799ff3b7f6
--- /dev/null
+++ b/cache/api.github.com/v3/scim/get-scim-provisioning-information-for-a-user.html
@@ -0,0 +1,36 @@
+
+
+
+ Get SCIM provisioning information for a userGET /scim/v2/organizations/:org/Users/:scim_user_id
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "schemas": [
+ "urn:ietf:params:scim:schemas:core:2.0:User"
+ ],
+ "id": "edefdfedf-050c-11e7-8d32",
+ "externalId": "a7d0f98382",
+ "userName": "mona.octocat@okta.example.com",
+ "name": {
+ "givenName": "Mona",
+ "familyName": "Octocat"
+ },
+ "emails": [
+ {
+ "value": "mona.octocat@okta.example.com",
+ "type": "work",
+ "primary": true
+ }
+ ],
+ "active": true,
+ "meta": {
+ "resourceType": "User",
+ "created": "2017-03-09T16:11:13-05:00",
+ "lastModified": "2017-03-09T16:11:13-05:00",
+ "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32"
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/index.html b/cache/api.github.com/v3/scim/index.html
index 056a59053a..fbb85076ab 100644
--- a/cache/api.github.com/v3/scim/index.html
+++ b/cache/api.github.com/v3/scim/index.html
@@ -371,12 +371,12 @@
Authenticating calls to the SCIM API
Mapping of SAML and SCIM data
Supported SCIM User attributes
-Get a list of provisioned identities
-Get provisioning details for a single user
-Provision and invite users
-Replace a provisioned user's information
-Update a user attribute
-Remove a user from the organization
+List SCIM provisioned identities
+Get SCIM provisioning information for a user
+Provision and invite a SCIM user
+Set SCIM information for a provisioned user
+Update an attribute for a SCIM user
+Delete a SCIM user from an organization
@@ -435,7 +435,7 @@
externalId
string
-This identifier is generated by the SAML provider, and is used as a unique ID by the SAML provider to match against a GitHub user. You can find the externalID
for a user either at the SAML provider, or using the Get a list of provisioned identities endpoint and filtering on other known attributes, such as a user's GitHub username or email address.
+This identifier is generated by the SAML provider, and is used as a unique ID by the SAML provider to match against a GitHub user. You can find the externalID
for a user either at the SAML provider, or using the List SCIM provisioned identities endpoint and filtering on other known attributes, such as a user's GitHub username or email address.
id
@@ -460,7 +460,7 @@
-
+ List SCIM provisioned identities
Get a list of provisioned identitiesGET /scim/v2/organizations/:org/Users
@@ -633,7 +633,7 @@
-
+ Get SCIM provisioning information for a user
Get provisioning details for a single userGET /scim/v2/organizations/:org/Users/:scim_user_id
@@ -676,7 +676,7 @@
-
+ Provision and invite a SCIM user
Provision and invite users
Provision organization membership for a user, and send an activation email to the email address.
@@ -746,10 +746,10 @@
-
+ Set SCIM information for a provisioned user
- Replace a provisioned user's information
Replaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the Update a user attribute endpoint instead.
+Replaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the Update an attribute for a SCIM user endpoint instead.
PUT /scim/v2/organizations/:org/Users/:scim_user_id
@@ -822,7 +822,7 @@
-
+ Update an attribute for a SCIM user
Update a user attribute
Allows you to change a provisioned user's individual attributes. To change a user's values, you must provide a specific Operations
JSON format that contains at least one of the add
, remove
, or replace
operations.
@@ -924,7 +924,7 @@
-
+ Delete a SCIM user from an organization
Remove a user from the organizationDELETE /scim/v2/organizations/:org/Users/:scim_user_id
diff --git a/cache/api.github.com/v3/scim/list-scim-provisioned-identities.html b/cache/api.github.com/v3/scim/list-scim-provisioned-identities.html
new file mode 100644
index 0000000000..f609d1170d
--- /dev/null
+++ b/cache/api.github.com/v3/scim/list-scim-provisioned-identities.html
@@ -0,0 +1,151 @@
+
+
+
+ List SCIM provisioned identitiesGET /scim/v2/organizations/:org/Users
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+startIndex
+integer
+Used for pagination: the index of the first result to return.
+
+
+count
+integer
+Used for pagination: the number of results to return.
+
+
+filter
+string
+Filters results using the equals query parameter operator (eq
). You can filter results that are equal to id
, userName
, emails
, and external_id
. For example, to search for an identity with the userName
Octocat, you would use this query: ?filter=userName%20eq%20\"Octocat\"
.
+
+
+
+
+
+ ExampleTo filter for a specific email address, use the email
query parameter and the eq
operator:
+GET /scim/v2/organizations/:org/Users?filter=emails eq user@example.com
+
+Your filter would look like this cURL command:
+curl -u octocat:$token https://api.github.com/scim/v2/organizations/octo-org/Users?filter=emails%20eq%20\"octocat@github.com\"
+
+
+
+ Response with filterRetrieves users that match the filter. In the example, we searched only for octocat@github.com.
+Status: 200 OK
+
+{
+ "schemas": [
+ "urn:ietf:params:scim:api:messages:2.0:ListResponse"
+ ],
+ "totalResults": 1,
+ "itemsPerPage": 1,
+ "startIndex": 1,
+ "Resources": [
+ {
+ "schemas": [
+ "urn:ietf:params:scim:schemas:core:2.0:User"
+ ],
+ "id": "5fc0c238-1112-11e8-8e45-920c87bdbd75",
+ "externalId": "00u1dhhb1fkIGP7RL1d8",
+ "userName": "octocat@github.com",
+ "name": {
+ "givenName": "Mona",
+ "familyName": "Octocat"
+ },
+ "emails": [
+ {
+ "value": "octocat@github.com",
+ "primary": true,
+ "type": "work"
+ }
+ ],
+ "active": true,
+ "meta": {
+ "resourceType": "User",
+ "created": "2018-02-13T15:05:24.000-08:00",
+ "lastModified": "2018-02-13T15:05:55.000-08:00",
+ "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/5fc0c238-1112-11e8-8e45-920c87bdbd75"
+ }
+ }
+ ]
+}
+
+
+
+ Response without filterRetrieves a paginated list of all provisioned organization members, including pending invitations.
+Status: 200 OK
+
+{
+ "schemas": [
+ "urn:ietf:params:scim:api:messages:2.0:ListResponse"
+ ],
+ "totalResults": 2,
+ "itemsPerPage": 2,
+ "startIndex": 1,
+ "Resources": [
+ {
+ "schemas": [
+ "urn:ietf:params:scim:schemas:core:2.0:User"
+ ],
+ "id": "edefdfedf-050c-11e7-8d32",
+ "externalId": "a7d0f98382",
+ "userName": "mona.octocat@okta.example.com",
+ "name": {
+ "givenName": "Mona",
+ "familyName": "Octocat"
+ },
+ "emails": [
+ {
+ "value": "mona.octocat@okta.example.com",
+ "type": "work",
+ "primary": true
+ }
+ ],
+ "active": true,
+ "meta": {
+ "resourceType": "User",
+ "created": "2017-03-09T16:11:13-05:00",
+ "lastModified": "2017-03-09T16:11:13-05:00",
+ "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32"
+ }
+ },
+ {
+ "schemas": [
+ "urn:ietf:params:scim:schemas:core:2.0:User"
+ ],
+ "id": "77563764-eb6-24-0598234-958243",
+ "externalId": "sdfoiausdofiua",
+ "userName": "hubot@example.com",
+ "name": {
+ "givenName": "hu",
+ "familyName": "bot"
+ },
+ "emails": [
+ {
+ "value": "hubot@example.com",
+ "type": "work",
+ "primary": true
+ }
+ ],
+ "active": true,
+ "meta": {
+ "resourceType": "User",
+ "created": "2017-03-09T16:11:13-05:00",
+ "lastModified": "2017-03-09T16:11:13-05:00",
+ "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243"
+ }
+ }
+ ]
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/provision-and-invite-a-scim-user.html b/cache/api.github.com/v3/scim/provision-and-invite-a-scim-user.html
new file mode 100644
index 0000000000..f69276c47a
--- /dev/null
+++ b/cache/api.github.com/v3/scim/provision-and-invite-a-scim-user.html
@@ -0,0 +1,58 @@
+
+
+
+ Provision and invite a SCIM userProvision organization membership for a user, and send an activation email to the email address.
+POST /scim/v2/organizations/:org/Users
+
+As shown in the following example, you must at least provide the required values for the user: userName
, name
, and emails
.
+
+
+ Example{
+ "schemas": [
+ "urn:ietf:params:scim:schemas:core:2.0:User"
+ ],
+ "userName": "mona.octocat@okta.example.com",
+ "name": {
+ "familyName": "Octocat",
+ "givenName": "Mona"
+ },
+ "emails": [
+ {
+ "value": "mona.octocat@okta.example.com",
+ "type": "work",
+ "primary": true
+ }
+ ]
+}
+
+
+
+ ResponseStatus: 201 Created
+
+{
+ "schemas": [
+ "urn:ietf:params:scim:schemas:core:2.0:User"
+ ],
+ "id": "edefdfedf-050c-11e7-8d32",
+ "externalId": "a7d0f98382",
+ "userName": "mona.octocat@okta.example.com",
+ "name": {
+ "givenName": "Mona",
+ "familyName": "Octocat"
+ },
+ "emails": [
+ {
+ "value": "mona.octocat@okta.example.com",
+ "type": "work",
+ "primary": true
+ }
+ ],
+ "active": true,
+ "meta": {
+ "resourceType": "User",
+ "created": "2017-03-09T16:11:13-05:00",
+ "lastModified": "2017-03-09T16:11:13-05:00",
+ "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32"
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/provision-and-invite-users.html b/cache/api.github.com/v3/scim/provision-and-invite-users.html
deleted file mode 100644
index 8f157da5d3..0000000000
--- a/cache/api.github.com/v3/scim/provision-and-invite-users.html
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
- Provision and invite usersProvision organization membership for a user, and send an activation email to the email address.
-POST /scim/v2/organizations/:org/Users
-
-As shown in the following example, you must at least provide the required values for the user: userName
, name
, and emails
.
-
-
- Example{
- "schemas": [
- "urn:ietf:params:scim:schemas:core:2.0:User"
- ],
- "userName": "mona.octocat@okta.example.com",
- "name": {
- "familyName": "Octocat",
- "givenName": "Mona"
- },
- "emails": [
- {
- "value": "mona.octocat@okta.example.com",
- "type": "work",
- "primary": true
- }
- ]
-}
-
-
-
- ResponseStatus: 201 Created
-
-{
- "schemas": [
- "urn:ietf:params:scim:schemas:core:2.0:User"
- ],
- "id": "edefdfedf-050c-11e7-8d32",
- "externalId": "a7d0f98382",
- "userName": "mona.octocat@okta.example.com",
- "name": {
- "givenName": "Mona",
- "familyName": "Octocat"
- },
- "emails": [
- {
- "value": "mona.octocat@okta.example.com",
- "type": "work",
- "primary": true
- }
- ],
- "active": true,
- "meta": {
- "resourceType": "User",
- "created": "2017-03-09T16:11:13-05:00",
- "lastModified": "2017-03-09T16:11:13-05:00",
- "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32"
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/remove-a-user-from-the-organization.html b/cache/api.github.com/v3/scim/remove-a-user-from-the-organization.html
deleted file mode 100644
index 7a7a388b92..0000000000
--- a/cache/api.github.com/v3/scim/remove-a-user-from-the-organization.html
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- Remove a user from the organizationDELETE /scim/v2/organizations/:org/Users/:scim_user_id
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/replace-a-provisioned-users-information.html b/cache/api.github.com/v3/scim/replace-a-provisioned-users-information.html
deleted file mode 100644
index 60d8e76c91..0000000000
--- a/cache/api.github.com/v3/scim/replace-a-provisioned-users-information.html
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
- Replace a provisioned user's informationReplaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the Update a user attribute endpoint instead.
-PUT /scim/v2/organizations/:org/Users/:scim_user_id
-
-As shown in the following example, you must at least provide the required values for the user: userName
, name
, and emails
.
-
-
-Warning: Setting active: false
removes the user from the organization, deletes the external identity, and deletes the associated :scim_user_id
.
-
-
-
-
- Example{
- "schemas": [
- "urn:ietf:params:scim:schemas:core:2.0:User"
- ],
- "userName": "mona.octocat@okta.example.com",
- "name": {
- "familyName": "Octocat",
- "givenName": "Mona"
- },
- "emails": [
- {
- "value": "mona.octocat@okta.example.com",
- "type": "work",
- "primary": true
- }
- ]
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "schemas": [
- "urn:ietf:params:scim:schemas:core:2.0:User"
- ],
- "id": "edefdfedf-050c-11e7-8d32",
- "externalId": "a7d0f98382",
- "userName": "mona.octocat@okta.example.com",
- "name": {
- "givenName": "Mona",
- "familyName": "Octocat"
- },
- "emails": [
- {
- "value": "mona.octocat@okta.example.com",
- "type": "work",
- "primary": true
- }
- ],
- "active": true,
- "meta": {
- "resourceType": "User",
- "created": "2017-03-09T16:11:13-05:00",
- "lastModified": "2017-03-09T16:11:13-05:00",
- "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32"
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/sections.json b/cache/api.github.com/v3/scim/sections.json
index 5f28ccdce0..4db418bbda 100644
--- a/cache/api.github.com/v3/scim/sections.json
+++ b/cache/api.github.com/v3/scim/sections.json
@@ -20,33 +20,33 @@
"url": "https://developer.github.com/v3/scim/#supported-scim-user-attributes"
},
{
- "id": "get-a-list-of-provisioned-identities",
- "name": "Get a list of provisioned identities",
- "url": "https://developer.github.com/v3/scim/#get-a-list-of-provisioned-identities"
+ "id": "list-scim-provisioned-identities",
+ "name": "List SCIM provisioned identities",
+ "url": "https://developer.github.com/v3/scim/#list-scim-provisioned-identities"
},
{
- "id": "get-provisioning-details-for-a-single-user",
- "name": "Get provisioning details for a single user",
- "url": "https://developer.github.com/v3/scim/#get-provisioning-details-for-a-single-user"
+ "id": "get-scim-provisioning-information-for-a-user",
+ "name": "Get SCIM provisioning information for a user",
+ "url": "https://developer.github.com/v3/scim/#get-scim-provisioning-information-for-a-user"
},
{
- "id": "provision-and-invite-users",
- "name": "Provision and invite users",
- "url": "https://developer.github.com/v3/scim/#provision-and-invite-users"
+ "id": "provision-and-invite-a-scim-user",
+ "name": "Provision and invite a SCIM user",
+ "url": "https://developer.github.com/v3/scim/#provision-and-invite-a-scim-user"
},
{
- "id": "replace-a-provisioned-users-information",
- "name": "Replace a provisioned user's information",
- "url": "https://developer.github.com/v3/scim/#replace-a-provisioned-users-information"
+ "id": "set-scim-information-for-a-provisioned-user",
+ "name": "Set SCIM information for a provisioned user",
+ "url": "https://developer.github.com/v3/scim/#set-scim-information-for-a-provisioned-user"
},
{
- "id": "update-a-user-attribute",
- "name": "Update a user attribute",
- "url": "https://developer.github.com/v3/scim/#update-a-user-attribute"
+ "id": "update-an-attribute-for-a-scim-user",
+ "name": "Update an attribute for a SCIM user",
+ "url": "https://developer.github.com/v3/scim/#update-an-attribute-for-a-scim-user"
},
{
- "id": "remove-a-user-from-the-organization",
- "name": "Remove a user from the organization",
- "url": "https://developer.github.com/v3/scim/#remove-a-user-from-the-organization"
+ "id": "delete-a-scim-user-from-an-organization",
+ "name": "Delete a SCIM user from an organization",
+ "url": "https://developer.github.com/v3/scim/#delete-a-scim-user-from-an-organization"
}
]
diff --git a/cache/api.github.com/v3/scim/set-scim-information-for-a-provisioned-user.html b/cache/api.github.com/v3/scim/set-scim-information-for-a-provisioned-user.html
new file mode 100644
index 0000000000..f938b55ca7
--- /dev/null
+++ b/cache/api.github.com/v3/scim/set-scim-information-for-a-provisioned-user.html
@@ -0,0 +1,63 @@
+
+
+
+ Set SCIM information for a provisioned userReplaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the Update an attribute for a SCIM user endpoint instead.
+PUT /scim/v2/organizations/:org/Users/:scim_user_id
+
+As shown in the following example, you must at least provide the required values for the user: userName
, name
, and emails
.
+
+
+Warning: Setting active: false
removes the user from the organization, deletes the external identity, and deletes the associated :scim_user_id
.
+
+
+
+
+ Example{
+ "schemas": [
+ "urn:ietf:params:scim:schemas:core:2.0:User"
+ ],
+ "userName": "mona.octocat@okta.example.com",
+ "name": {
+ "familyName": "Octocat",
+ "givenName": "Mona"
+ },
+ "emails": [
+ {
+ "value": "mona.octocat@okta.example.com",
+ "type": "work",
+ "primary": true
+ }
+ ]
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "schemas": [
+ "urn:ietf:params:scim:schemas:core:2.0:User"
+ ],
+ "id": "edefdfedf-050c-11e7-8d32",
+ "externalId": "a7d0f98382",
+ "userName": "mona.octocat@okta.example.com",
+ "name": {
+ "givenName": "Mona",
+ "familyName": "Octocat"
+ },
+ "emails": [
+ {
+ "value": "mona.octocat@okta.example.com",
+ "type": "work",
+ "primary": true
+ }
+ ],
+ "active": true,
+ "meta": {
+ "resourceType": "User",
+ "created": "2017-03-09T16:11:13-05:00",
+ "lastModified": "2017-03-09T16:11:13-05:00",
+ "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32"
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/supported-scim-user-attributes.html b/cache/api.github.com/v3/scim/supported-scim-user-attributes.html
index 5a25825c07..a65c473f7f 100644
--- a/cache/api.github.com/v3/scim/supported-scim-user-attributes.html
+++ b/cache/api.github.com/v3/scim/supported-scim-user-attributes.html
@@ -32,7 +32,7 @@
externalId
string
-This identifier is generated by the SAML provider, and is used as a unique ID by the SAML provider to match against a GitHub user. You can find the externalID
for a user either at the SAML provider, or using the Get a list of provisioned identities endpoint and filtering on other known attributes, such as a user's GitHub username or email address.
+This identifier is generated by the SAML provider, and is used as a unique ID by the SAML provider to match against a GitHub user. You can find the externalID
for a user either at the SAML provider, or using the List SCIM provisioned identities endpoint and filtering on other known attributes, such as a user's GitHub username or email address.
id
diff --git a/cache/api.github.com/v3/scim/update-a-user-attribute.html b/cache/api.github.com/v3/scim/update-a-user-attribute.html
deleted file mode 100644
index 4f3b82a7c9..0000000000
--- a/cache/api.github.com/v3/scim/update-a-user-attribute.html
+++ /dev/null
@@ -1,88 +0,0 @@
-
-
-
- Update a user attributeAllows you to change a provisioned user's individual attributes. To change a user's values, you must provide a specific Operations
JSON format that contains at least one of the add
, remove
, or replace
operations.
-The following example shows adding a new email address and updating the user's given name. For other examples and more information on the SCIM operations format, see the SCIM specification.
-PATCH /scim/v2/organizations/:org/Users/:scim_user_id
-
-
-
-Note: Complicated SCIM path
selectors that include filters are not supported. For example, a path
selector defined as "path": "emails[type eq \"work\"]"
will not work.
-
-
-
-
-Warning: If you set active:false
using the replace
operation (as shown in the JSON example below), it removes the user from the organization, deletes the external identity, and deletes the associated :scim_user_id
.
-
-{
- "Operations":[{
- "op":"replace",
- "value":{
- "active":false
- }
- }]
-}
-
-
-
-
-
-
- Example{
- "schemas": [
- "urn:ietf:params:scim:api:messages:2.0:PatchOp"
- ],
- "Operations": [
- {
- "op": "add",
- "path": "emails",
- "value": [
- {
- "value": "monalisa@octocat.github.com",
- "type": "home"
- }
- ]
- },
- {
- "op": "replace",
- "path": "name.givenName",
- "value": "Monalisa"
- }
- ]
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "schemas": [
- "urn:ietf:params:scim:schemas:core:2.0:User"
- ],
- "id": "edefdfedf-050c-11e7-8d32",
- "externalId": "a7d0f98382",
- "userName": "mona.octocat@okta.example.com",
- "name": {
- "givenName": "Monalisa",
- "familyName": "Octocat"
- },
- "emails": [
- {
- "value": "mona.octocat@okta.example.com",
- "type": "work",
- "primary": true
- },
- {
- "value": "monalisa@octocat.github.com",
- "type": "home"
- }
- ],
- "active": true,
- "meta": {
- "resourceType": "User",
- "created": "2017-03-09T16:11:13-05:00",
- "lastModified": "2017-03-09T16:11:13-05:00",
- "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32"
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/update-an-attribute-for-a-scim-user.html b/cache/api.github.com/v3/scim/update-an-attribute-for-a-scim-user.html
new file mode 100644
index 0000000000..b4914462f0
--- /dev/null
+++ b/cache/api.github.com/v3/scim/update-an-attribute-for-a-scim-user.html
@@ -0,0 +1,88 @@
+
+
+
+ Update an attribute for a SCIM userAllows you to change a provisioned user's individual attributes. To change a user's values, you must provide a specific Operations
JSON format that contains at least one of the add
, remove
, or replace
operations.
+The following example shows adding a new email address and updating the user's given name. For other examples and more information on the SCIM operations format, see the SCIM specification.
+PATCH /scim/v2/organizations/:org/Users/:scim_user_id
+
+
+
+Note: Complicated SCIM path
selectors that include filters are not supported. For example, a path
selector defined as "path": "emails[type eq \"work\"]"
will not work.
+
+
+
+
+Warning: If you set active:false
using the replace
operation (as shown in the JSON example below), it removes the user from the organization, deletes the external identity, and deletes the associated :scim_user_id
.
+
+{
+ "Operations":[{
+ "op":"replace",
+ "value":{
+ "active":false
+ }
+ }]
+}
+
+
+
+
+
+
+ Example{
+ "schemas": [
+ "urn:ietf:params:scim:api:messages:2.0:PatchOp"
+ ],
+ "Operations": [
+ {
+ "op": "add",
+ "path": "emails",
+ "value": [
+ {
+ "value": "monalisa@octocat.github.com",
+ "type": "home"
+ }
+ ]
+ },
+ {
+ "op": "replace",
+ "path": "name.givenName",
+ "value": "Monalisa"
+ }
+ ]
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "schemas": [
+ "urn:ietf:params:scim:schemas:core:2.0:User"
+ ],
+ "id": "edefdfedf-050c-11e7-8d32",
+ "externalId": "a7d0f98382",
+ "userName": "mona.octocat@okta.example.com",
+ "name": {
+ "givenName": "Monalisa",
+ "familyName": "Octocat"
+ },
+ "emails": [
+ {
+ "value": "mona.octocat@okta.example.com",
+ "type": "work",
+ "primary": true
+ },
+ {
+ "value": "monalisa@octocat.github.com",
+ "type": "home"
+ }
+ ],
+ "active": true,
+ "meta": {
+ "resourceType": "User",
+ "created": "2017-03-09T16:11:13-05:00",
+ "lastModified": "2017-03-09T16:11:13-05:00",
+ "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32"
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/users/blocking/check-if-a-user-is-blocked-by-the-authenticated-user.html b/cache/api.github.com/v3/users/blocking/check-if-a-user-is-blocked-by-the-authenticated-user.html
new file mode 100644
index 0000000000..89b4711af1
--- /dev/null
+++ b/cache/api.github.com/v3/users/blocking/check-if-a-user-is-blocked-by-the-authenticated-user.html
@@ -0,0 +1,12 @@
+
+
+ Check if a user is blocked by the authenticated userGET /user/blocks/:username
+
+
+
+ ResponseIf the user is blocked:
+Status: 204 No Content
+
+If the user is not blocked:
+Status: 404 Not Found
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/users/blocking/check-whether-youve-blocked-a-user.html b/cache/api.github.com/v3/users/blocking/check-whether-youve-blocked-a-user.html
deleted file mode 100644
index 6292cc8bd8..0000000000
--- a/cache/api.github.com/v3/users/blocking/check-whether-youve-blocked-a-user.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
- Check whether you've blocked a userGET /user/blocks/:username
-
-
-
- ResponseIf the user is blocked:
-Status: 204 No Content
-
-If the user is not blocked:
-Status: 404 Not Found
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/users/blocking/index.html b/cache/api.github.com/v3/users/blocking/index.html
index cb7feba91c..e3cfa8e4a3 100644
--- a/cache/api.github.com/v3/users/blocking/index.html
+++ b/cache/api.github.com/v3/users/blocking/index.html
@@ -367,8 +367,8 @@
Block Another User
-- List blocked users
-- Check whether you've blocked a user
+- List users blocked by the authenticated user
+- Check if a user is blocked by the authenticated user
- Block a user
- Unblock a user
@@ -389,7 +389,7 @@
-
+ List blocked users List users blocked by the authenticated user
List the users you've blocked on your personal account.
@@ -429,7 +429,7 @@
-
+ Check whether you've blocked a user Check if a user is blocked by the authenticated user
GET /user/blocks/:username
diff --git a/cache/api.github.com/v3/users/blocking/list-blocked-users.html b/cache/api.github.com/v3/users/blocking/list-blocked-users.html
deleted file mode 100644
index aaa3de624b..0000000000
--- a/cache/api.github.com/v3/users/blocking/list-blocked-users.html
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
- List blocked users
List the users you've blocked on your personal account.
-GET /user/blocks
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/users/blocking/list-users-blocked-by-the-authenticated-user.html b/cache/api.github.com/v3/users/blocking/list-users-blocked-by-the-authenticated-user.html
new file mode 100644
index 0000000000..c67101c62b
--- /dev/null
+++ b/cache/api.github.com/v3/users/blocking/list-users-blocked-by-the-authenticated-user.html
@@ -0,0 +1,32 @@
+
+
+ List users blocked by the authenticated userList the users you've blocked on your personal account.
+GET /user/blocks
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/users/blocking/sections.json b/cache/api.github.com/v3/users/blocking/sections.json
index b52d10c369..6c09189a98 100644
--- a/cache/api.github.com/v3/users/blocking/sections.json
+++ b/cache/api.github.com/v3/users/blocking/sections.json
@@ -1,13 +1,13 @@
[
{
- "id": "list-blocked-users",
- "name": "List blocked users",
- "url": "https://developer.github.com/v3/users/blocking/#list-blocked-users"
+ "id": "list-users-blocked-by-the-authenticated-user",
+ "name": "List users blocked by the authenticated user",
+ "url": "https://developer.github.com/v3/users/blocking/#list-users-blocked-by-the-authenticated-user"
},
{
- "id": "check-whether-youve-blocked-a-user",
- "name": "Check whether you've blocked a user",
- "url": "https://developer.github.com/v3/users/blocking/#check-whether-youve-blocked-a-user"
+ "id": "check-if-a-user-is-blocked-by-the-authenticated-user",
+ "name": "Check if a user is blocked by the authenticated user",
+ "url": "https://developer.github.com/v3/users/blocking/#check-if-a-user-is-blocked-by-the-authenticated-user"
},
{
"id": "block-a-user",
diff --git a/cache/api.github.com/v3/users/emails/add-an-email-address-for-the-authenticated-user.html b/cache/api.github.com/v3/users/emails/add-an-email-address-for-the-authenticated-user.html
new file mode 100644
index 0000000000..32b57d75df
--- /dev/null
+++ b/cache/api.github.com/v3/users/emails/add-an-email-address-for-the-authenticated-user.html
@@ -0,0 +1,57 @@
+
+
+ Add an email address for the authenticated userThis endpoint is accessible with the user
scope.
+POST /user/emails
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+
GET /orgs/:org/blocks/:username
@@ -454,7 +454,7 @@
-
+ Block a user from an organization
Block a userPUT /orgs/:org/blocks/:username
@@ -468,7 +468,7 @@
-
+ Unblock a user from an organization
Unblock a userDELETE /orgs/:org/blocks/:username
diff --git a/cache/api.github.com/v3/orgs/blocking/list-blocked-users.html b/cache/api.github.com/v3/orgs/blocking/list-blocked-users.html
deleted file mode 100644
index 51b0375459..0000000000
--- a/cache/api.github.com/v3/orgs/blocking/list-blocked-users.html
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
- List blocked usersList the users blocked by an organization.
-GET /orgs/:org/blocks
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/blocking/list-users-blocked-by-an-organization.html b/cache/api.github.com/v3/orgs/blocking/list-users-blocked-by-an-organization.html
new file mode 100644
index 0000000000..46ffb49950
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/blocking/list-users-blocked-by-an-organization.html
@@ -0,0 +1,33 @@
+
+
+
+ List users blocked by an organizationList the users blocked by an organization.
+GET /orgs/:org/blocks
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/blocking/sections.json b/cache/api.github.com/v3/orgs/blocking/sections.json
index c2f063dc6f..d037f6345b 100644
--- a/cache/api.github.com/v3/orgs/blocking/sections.json
+++ b/cache/api.github.com/v3/orgs/blocking/sections.json
@@ -1,22 +1,22 @@
[
{
- "id": "list-blocked-users",
- "name": "List blocked users",
- "url": "https://developer.github.com/v3/orgs/blocking/#list-blocked-users"
+ "id": "list-users-blocked-by-an-organization",
+ "name": "List users blocked by an organization",
+ "url": "https://developer.github.com/v3/orgs/blocking/#list-users-blocked-by-an-organization"
},
{
- "id": "check-whether-a-user-is-blocked-from-an-organization",
- "name": "Check whether a user is blocked from an organization",
- "url": "https://developer.github.com/v3/orgs/blocking/#check-whether-a-user-is-blocked-from-an-organization"
+ "id": "check-if-a-user-is-blocked-by-an-organization",
+ "name": "Check if a user is blocked by an organization",
+ "url": "https://developer.github.com/v3/orgs/blocking/#check-if-a-user-is-blocked-by-an-organization"
},
{
- "id": "block-a-user",
- "name": "Block a user",
- "url": "https://developer.github.com/v3/orgs/blocking/#block-a-user"
+ "id": "block-a-user-from-an-organization",
+ "name": "Block a user from an organization",
+ "url": "https://developer.github.com/v3/orgs/blocking/#block-a-user-from-an-organization"
},
{
- "id": "unblock-a-user",
- "name": "Unblock a user",
- "url": "https://developer.github.com/v3/orgs/blocking/#unblock-a-user"
+ "id": "unblock-a-user-from-an-organization",
+ "name": "Unblock a user from an organization",
+ "url": "https://developer.github.com/v3/orgs/blocking/#unblock-a-user-from-an-organization"
}
]
diff --git a/cache/api.github.com/v3/orgs/blocking/unblock-a-user-from-an-organization.html b/cache/api.github.com/v3/orgs/blocking/unblock-a-user-from-an-organization.html
new file mode 100644
index 0000000000..9e2029e760
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/blocking/unblock-a-user-from-an-organization.html
@@ -0,0 +1,9 @@
+
+
+
+ Unblock a user from an organizationDELETE /orgs/:org/blocks/:username
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/blocking/unblock-a-user.html b/cache/api.github.com/v3/orgs/blocking/unblock-a-user.html
deleted file mode 100644
index 0e63d399a0..0000000000
--- a/cache/api.github.com/v3/orgs/blocking/unblock-a-user.html
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- Unblock a userDELETE /orgs/:org/blocks/:username
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/edit-an-organization.html b/cache/api.github.com/v3/orgs/edit-an-organization.html
deleted file mode 100644
index 906d343aa4..0000000000
--- a/cache/api.github.com/v3/orgs/edit-an-organization.html
+++ /dev/null
@@ -1,185 +0,0 @@
-
-
-
- Edit an organization
-
-Note: New repository creation permissions are available to preview. You can now use members_can_create_public_repositories
, members_can_create_private_repositories
, and members_can_create_internal_repositories
. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.
-
-To access these new parameters during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.surtur-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-
-
-
-Parameter Deprecation Notice: GitHub will replace and discontinue members_allowed_repository_creation_type
in favor of more granular permissions. The new input parameters are members_can_create_public_repositories
, members_can_create_private_repositories
for all organizations and members_can_create_internal_repositories
for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the blog post.
-
-
-Enables an authenticated organization owner with the admin:org
scope to update the organization's profile and member privileges.
-PATCH /orgs/:org
-
-
-
- Input
-
-
-Name
-Type
-Description
-
-
-
-
-billing_email
-string
-Billing email address. This address is not publicized.
-
-
-company
-string
-The company name.
-
-
-email
-string
-The publicly visible email address.
-
-
-twitter_username
-string
-The Twitter username of the company.
-
-
-location
-string
-The location.
-
-
-name
-string
-The shorthand name of the company.
-
-
-description
-string
-The description of the company.
-
-
-has_organization_projects
-boolean
-Toggles whether an organization can use organization projects.
-
-
-has_repository_projects
-boolean
-Toggles whether repositories that belong to the organization can use repository projects.
-
-
-default_repository_permission
-string
-Default permission level members have for organization repositories:
* read
- can pull, but not push to or administer this repository.
* write
- can pull and push, but not administer this repository.
* admin
- can pull, push, and administer this repository.
* none
- no permissions granted by default.
Default: read
-
-
-
-members_can_create_repositories
-boolean
-Toggles the ability of non-admin organization members to create repositories. Can be one of:
* true
- all organization members can create repositories.
* false
- only organization owners can create repositories.
Default: true
Note: A parameter can override this parameter. See members_allowed_repository_creation_type
in this table for details.
-
-
-members_can_create_internal_repositories
-boolean
-Toggles whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. Can be one of:
* true
- all organization members can create internal repositories.
* false
- only organization owners can create internal repositories.
Default: true
. For more information, see "Restricting repository creation in your organization" in the GitHub Help documentation.
-
-
-members_can_create_private_repositories
-boolean
-Toggles whether organization members can create private repositories, which are visible to organization members with permission. Can be one of:
* true
- all organization members can create private repositories.
* false
- only organization owners can create private repositories.
Default: true
. For more information, see "Restricting repository creation in your organization" in the GitHub Help documentation.
-
-
-members_can_create_public_repositories
-boolean
-Toggles whether organization members can create public repositories, which are visible to anyone. Can be one of:
* true
- all organization members can create public repositories.
* false
- only organization owners can create public repositories.
Default: true
. For more information, see "Restricting repository creation in your organization" in the GitHub Help documentation.
-
-
-members_allowed_repository_creation_type
-string
-Specifies which types of repositories non-admin organization members can create. Can be one of:
* all
- all organization members can create public and private repositories.
* private
- members can create private repositories. This option is only available to repositories that are part of an organization on GitHub Enterprise Cloud.
* none
- only admin members can create repositories.
Note: This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in members_can_create_repositories
. See this note for details.
-
-
-
-
-
- Example{
- "billing_email": "support@github.com",
- "blog": "https://github.com/blog",
- "company": "GitHub",
- "email": "support@github.com",
- "twitter_username": "github",
- "location": "San Francisco",
- "name": "github",
- "description": "GitHub, the company.",
- "default_repository_permission": "read",
- "members_can_create_repositories": true,
- "members_allowed_repository_creation_type": "all"
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization",
- "name": "github",
- "company": "GitHub",
- "blog": "https://github.com/blog",
- "location": "San Francisco",
- "email": "octocat@github.com",
- "twitter_username": "github",
- "is_verified": true,
- "has_organization_projects": true,
- "has_repository_projects": true,
- "public_repos": 2,
- "public_gists": 1,
- "followers": 20,
- "following": 0,
- "html_url": "https://github.com/octocat",
- "created_at": "2008-01-14T04:33:35Z",
- "type": "Organization",
- "total_private_repos": 100,
- "owned_private_repos": 100,
- "private_gists": 81,
- "disk_usage": 10000,
- "collaborators": 8,
- "billing_email": "support@github.com",
- "plan": {
- "name": "Medium",
- "space": 400,
- "private_repos": 20
- },
- "default_repository_permission": "read",
- "members_can_create_repositories": true,
- "two_factor_requirement_enabled": true,
- "members_allowed_repository_creation_type": "all",
- "members_can_create_public_repositories": false,
- "members_can_create_private_repositories": false,
- "members_can_create_internal_repositories": false
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/create-a-hook.html b/cache/api.github.com/v3/orgs/hooks/create-a-hook.html
deleted file mode 100644
index b8b15b6f7f..0000000000
--- a/cache/api.github.com/v3/orgs/hooks/create-a-hook.html
+++ /dev/null
@@ -1,114 +0,0 @@
-
-
-
- Create a hookPOST /orgs/:org/hooks
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-name
-string
-
-Required. Must be passed as "web".
-
-
-config
-object
-
-Required. Key/value pairs to provide settings for this webhook. These are defined below.
-
-
-events
-array
-Determines what events the hook is triggered for. Default: ["push"]
.
-
-
-active
-boolean
-Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications. Default: true
.
-
-
-
-
-The config
object can accept the following keys:
-
-
-
-Name
-Type
-Description
-
-
-
-
-url
-string
-
-Required. The URL to which the payloads will be delivered.
-
-
-content_type
-string
-The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
-
-
-secret
-string
-If provided, the secret
will be used as the key
to generate the HMAC hex digest value in the X-Hub-Signature
header.
-
-
-insecure_ssl
-string
-Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
-
-
-
-
-
-
- ExampleHere's how you can create a hook that posts payloads in JSON format:
-{
- "name": "web",
- "active": true,
- "events": [
- "push",
- "pull_request"
- ],
- "config": {
- "url": "http://example.com/webhook",
- "content_type": "json"
- }
-}
-
-
-
- ResponseStatus: 201 Created
-Location: https://api.github.com/orgs/octocat/hooks/1
-
-{
- "id": 1,
- "url": "https://api.github.com/orgs/octocat/hooks/1",
- "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings",
- "name": "web",
- "events": [
- "push",
- "pull_request"
- ],
- "active": true,
- "config": {
- "url": "http://example.com",
- "content_type": "json"
- },
- "updated_at": "2011-09-06T20:39:23Z",
- "created_at": "2011-09-06T17:26:27Z"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/create-an-organization-webhook.html b/cache/api.github.com/v3/orgs/hooks/create-an-organization-webhook.html
new file mode 100644
index 0000000000..3af2b06bb5
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/hooks/create-an-organization-webhook.html
@@ -0,0 +1,114 @@
+
+
+
+ Create an organization webhookPOST /orgs/:org/hooks
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+name
+string
+
+Required. Must be passed as "web".
+
+
+config
+object
+
+Required. Key/value pairs to provide settings for this webhook. These are defined below.
+
+
+events
+array
+Determines what events the hook is triggered for. Default: ["push"]
.
+
+
+active
+boolean
+Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications. Default: true
.
+
+
+
+
+The config
object can accept the following keys:
+
+
+
+Name
+Type
+Description
+
+
+
+
+url
+string
+
+Required. The URL to which the payloads will be delivered.
+
+
+content_type
+string
+The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
+
+
+secret
+string
+If provided, the secret
will be used as the key
to generate the HMAC hex digest value in the X-Hub-Signature
header.
+
+
+insecure_ssl
+string
+Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
+
+
+
+
+
+
+ ExampleHere's how you can create a hook that posts payloads in JSON format:
+{
+ "name": "web",
+ "active": true,
+ "events": [
+ "push",
+ "pull_request"
+ ],
+ "config": {
+ "url": "http://example.com/webhook",
+ "content_type": "json"
+ }
+}
+
+
+
+ ResponseStatus: 201 Created
+Location: https://api.github.com/orgs/octocat/hooks/1
+
+{
+ "id": 1,
+ "url": "https://api.github.com/orgs/octocat/hooks/1",
+ "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings",
+ "name": "web",
+ "events": [
+ "push",
+ "pull_request"
+ ],
+ "active": true,
+ "config": {
+ "url": "http://example.com",
+ "content_type": "json"
+ },
+ "updated_at": "2011-09-06T20:39:23Z",
+ "created_at": "2011-09-06T17:26:27Z"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/delete-a-hook.html b/cache/api.github.com/v3/orgs/hooks/delete-a-hook.html
deleted file mode 100644
index 96998a9464..0000000000
--- a/cache/api.github.com/v3/orgs/hooks/delete-a-hook.html
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- Delete a hookDELETE /orgs/:org/hooks/:hook_id
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/delete-an-organization-webhook.html b/cache/api.github.com/v3/orgs/hooks/delete-an-organization-webhook.html
new file mode 100644
index 0000000000..d4e80c98ec
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/hooks/delete-an-organization-webhook.html
@@ -0,0 +1,9 @@
+
+
+
+ Delete an organization webhookDELETE /orgs/:org/hooks/:hook_id
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/edit-a-hook.html b/cache/api.github.com/v3/orgs/hooks/edit-a-hook.html
deleted file mode 100644
index d834506d5c..0000000000
--- a/cache/api.github.com/v3/orgs/hooks/edit-a-hook.html
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
-
- Edit a hookPATCH /orgs/:org/hooks/:hook_id
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-config
-object
-Key/value pairs to provide settings for this webhook. These are defined below.
-
-
-events
-array
-Determines what events the hook is triggered for. Default: ["push"]
.
-
-
-active
-boolean
-Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications. Default: true
.
-
-
-
-
-The config
object can accept the following keys:
-
-
-
-Name
-Type
-Description
-
-
-
-
-url
-string
-
-Required. The URL to which the payloads will be delivered.
-
-
-content_type
-string
-The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
-
-
-secret
-string
-If provided, the secret
will be used as the key
to generate the HMAC hex digest value in the X-Hub-Signature
header.
-
-
-insecure_ssl
-string
-Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
-
-
-
-
-
-
- Example{
- "active": true,
- "events": [
- "pull_request"
- ]
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "id": 1,
- "url": "https://api.github.com/orgs/octocat/hooks/1",
- "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings",
- "name": "web",
- "events": [
- "pull_request"
- ],
- "active": true,
- "config": {
- "url": "http://example.com",
- "content_type": "json"
- },
- "updated_at": "2011-09-06T20:39:23Z",
- "created_at": "2011-09-06T17:26:27Z"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/get-an-organization-webhook.html b/cache/api.github.com/v3/orgs/hooks/get-an-organization-webhook.html
new file mode 100644
index 0000000000..009a090177
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/hooks/get-an-organization-webhook.html
@@ -0,0 +1,27 @@
+
+
+
+ Get an organization webhookGET /orgs/:org/hooks/:hook_id
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "id": 1,
+ "url": "https://api.github.com/orgs/octocat/hooks/1",
+ "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings",
+ "name": "web",
+ "events": [
+ "push",
+ "pull_request"
+ ],
+ "active": true,
+ "config": {
+ "url": "http://example.com",
+ "content_type": "json"
+ },
+ "updated_at": "2011-09-06T20:39:23Z",
+ "created_at": "2011-09-06T17:26:27Z"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/get-single-hook.html b/cache/api.github.com/v3/orgs/hooks/get-single-hook.html
deleted file mode 100644
index 6b0a3f165a..0000000000
--- a/cache/api.github.com/v3/orgs/hooks/get-single-hook.html
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
- Get single hookGET /orgs/:org/hooks/:hook_id
-
-
-
- ResponseStatus: 200 OK
-
-{
- "id": 1,
- "url": "https://api.github.com/orgs/octocat/hooks/1",
- "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings",
- "name": "web",
- "events": [
- "push",
- "pull_request"
- ],
- "active": true,
- "config": {
- "url": "http://example.com",
- "content_type": "json"
- },
- "updated_at": "2011-09-06T20:39:23Z",
- "created_at": "2011-09-06T17:26:27Z"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/index.html b/cache/api.github.com/v3/orgs/hooks/index.html
index a8b082d6b8..f549dd2347 100644
--- a/cache/api.github.com/v3/orgs/hooks/index.html
+++ b/cache/api.github.com/v3/orgs/hooks/index.html
@@ -368,12 +368,12 @@
- Scopes & Restrictions
-- List hooks
-- Get single hook
-- Create a hook
-- Edit a hook
-- Ping a hook
-- Delete a hook
+- List organization webhooks
+- Get an organization webhook
+- Create an organization webhook
+- Update an organization webhook
+- Ping an organization webhook
+- Delete an organization webhook
- Receiving Webhooks
@@ -392,7 +392,7 @@
-
+ List organization webhooks
List hooksGET /orgs/:org/hooks
@@ -430,7 +430,7 @@
-
+ Get an organization webhook
Get single hookGET /orgs/:org/hooks/:hook_id
@@ -464,7 +464,7 @@
-
+ Create an organization webhook
Create a hookPOST /orgs/:org/hooks
@@ -593,7 +593,7 @@
-
+ Update an organization webhook
Edit a hookPATCH /orgs/:org/hooks/:hook_id
@@ -705,7 +705,7 @@
-
+ Ping an organization webhook
Ping a hook
This will trigger a ping event to be sent to the hook.
@@ -721,7 +721,7 @@
-
+ Delete an organization webhook
Delete a hookDELETE /orgs/:org/hooks/:hook_id
diff --git a/cache/api.github.com/v3/orgs/hooks/list-hooks.html b/cache/api.github.com/v3/orgs/hooks/list-hooks.html
deleted file mode 100644
index 4635a4a1d4..0000000000
--- a/cache/api.github.com/v3/orgs/hooks/list-hooks.html
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
- List hooksGET /orgs/:org/hooks
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "id": 1,
- "url": "https://api.github.com/orgs/octocat/hooks/1",
- "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings",
- "name": "web",
- "events": [
- "push",
- "pull_request"
- ],
- "active": true,
- "config": {
- "url": "http://example.com",
- "content_type": "json"
- },
- "updated_at": "2011-09-06T20:39:23Z",
- "created_at": "2011-09-06T17:26:27Z"
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/list-organization-webhooks.html b/cache/api.github.com/v3/orgs/hooks/list-organization-webhooks.html
new file mode 100644
index 0000000000..d13b4d3a9a
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/hooks/list-organization-webhooks.html
@@ -0,0 +1,31 @@
+
+
+
+ List organization webhooksGET /orgs/:org/hooks
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "id": 1,
+ "url": "https://api.github.com/orgs/octocat/hooks/1",
+ "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings",
+ "name": "web",
+ "events": [
+ "push",
+ "pull_request"
+ ],
+ "active": true,
+ "config": {
+ "url": "http://example.com",
+ "content_type": "json"
+ },
+ "updated_at": "2011-09-06T20:39:23Z",
+ "created_at": "2011-09-06T17:26:27Z"
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/ping-a-hook.html b/cache/api.github.com/v3/orgs/hooks/ping-a-hook.html
deleted file mode 100644
index 46de5df27e..0000000000
--- a/cache/api.github.com/v3/orgs/hooks/ping-a-hook.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- Ping a hookThis will trigger a ping event to be sent to the hook.
-POST /orgs/:org/hooks/:hook_id/pings
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/ping-an-organization-webhook.html b/cache/api.github.com/v3/orgs/hooks/ping-an-organization-webhook.html
new file mode 100644
index 0000000000..54339bc2fe
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/hooks/ping-an-organization-webhook.html
@@ -0,0 +1,10 @@
+
+
+
+ Ping an organization webhookThis will trigger a ping event to be sent to the hook.
+POST /orgs/:org/hooks/:hook_id/pings
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/hooks/sections.json b/cache/api.github.com/v3/orgs/hooks/sections.json
index 6ce9fed402..d495f29055 100644
--- a/cache/api.github.com/v3/orgs/hooks/sections.json
+++ b/cache/api.github.com/v3/orgs/hooks/sections.json
@@ -5,34 +5,34 @@
"url": "https://developer.github.com/v3/orgs/hooks/#scopes--restrictions"
},
{
- "id": "list-hooks",
- "name": "List hooks",
- "url": "https://developer.github.com/v3/orgs/hooks/#list-hooks"
+ "id": "list-organization-webhooks",
+ "name": "List organization webhooks",
+ "url": "https://developer.github.com/v3/orgs/hooks/#list-organization-webhooks"
},
{
- "id": "get-single-hook",
- "name": "Get single hook",
- "url": "https://developer.github.com/v3/orgs/hooks/#get-single-hook"
+ "id": "get-an-organization-webhook",
+ "name": "Get an organization webhook",
+ "url": "https://developer.github.com/v3/orgs/hooks/#get-an-organization-webhook"
},
{
- "id": "create-a-hook",
- "name": "Create a hook",
- "url": "https://developer.github.com/v3/orgs/hooks/#create-a-hook"
+ "id": "create-an-organization-webhook",
+ "name": "Create an organization webhook",
+ "url": "https://developer.github.com/v3/orgs/hooks/#create-an-organization-webhook"
},
{
- "id": "edit-a-hook",
- "name": "Edit a hook",
- "url": "https://developer.github.com/v3/orgs/hooks/#edit-a-hook"
+ "id": "update-an-organization-webhook",
+ "name": "Update an organization webhook",
+ "url": "https://developer.github.com/v3/orgs/hooks/#update-an-organization-webhook"
},
{
- "id": "ping-a-hook",
- "name": "Ping a hook",
- "url": "https://developer.github.com/v3/orgs/hooks/#ping-a-hook"
+ "id": "ping-an-organization-webhook",
+ "name": "Ping an organization webhook",
+ "url": "https://developer.github.com/v3/orgs/hooks/#ping-an-organization-webhook"
},
{
- "id": "delete-a-hook",
- "name": "Delete a hook",
- "url": "https://developer.github.com/v3/orgs/hooks/#delete-a-hook"
+ "id": "delete-an-organization-webhook",
+ "name": "Delete an organization webhook",
+ "url": "https://developer.github.com/v3/orgs/hooks/#delete-an-organization-webhook"
},
{
"id": "receiving-webhooks",
diff --git a/cache/api.github.com/v3/orgs/hooks/update-an-organization-webhook.html b/cache/api.github.com/v3/orgs/hooks/update-an-organization-webhook.html
new file mode 100644
index 0000000000..1583f63dd8
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/hooks/update-an-organization-webhook.html
@@ -0,0 +1,98 @@
+
+
+
+ Update an organization webhookPATCH /orgs/:org/hooks/:hook_id
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+config
+object
+Key/value pairs to provide settings for this webhook. These are defined below.
+
+
+events
+array
+Determines what events the hook is triggered for. Default: ["push"]
.
+
+
+active
+boolean
+Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications. Default: true
.
+
+
+
+
+The config
object can accept the following keys:
+
+
+
+Name
+Type
+Description
+
+
+
+
+url
+string
+
+Required. The URL to which the payloads will be delivered.
+
+
+content_type
+string
+The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
+
+
+secret
+string
+If provided, the secret
will be used as the key
to generate the HMAC hex digest value in the X-Hub-Signature
header.
+
+
+insecure_ssl
+string
+Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
+
+
+
+
+
+
+ Example{
+ "active": true,
+ "events": [
+ "pull_request"
+ ]
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "id": 1,
+ "url": "https://api.github.com/orgs/octocat/hooks/1",
+ "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings",
+ "name": "web",
+ "events": [
+ "pull_request"
+ ],
+ "active": true,
+ "config": {
+ "url": "http://example.com",
+ "content_type": "json"
+ },
+ "updated_at": "2011-09-06T20:39:23Z",
+ "created_at": "2011-09-06T17:26:27Z"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/index.html b/cache/api.github.com/v3/orgs/index.html
index 958b8813a8..30de4e5139 100644
--- a/cache/api.github.com/v3/orgs/index.html
+++ b/cache/api.github.com/v3/orgs/index.html
@@ -367,18 +367,18 @@
Organizations
-- List your organizations
-- List all organizations
-- List user organizations
-- List installations for an organization
+- List organizations for the authenticated user
+- List organizations
+- List organizations for a user
+- List app installations for an organization
- Get an organization
-- Edit an organization
-- List credential authorizations for an organization
-- Remove a credential authorization for an organization
+- Update an organization
+- List SAML SSO authorizations for an organization
+- Remove a SAML SSO authorization for an organization
-
+ List your organizations List organizations for the authenticated user
List organizations for the authenticated user.
@@ -419,7 +419,7 @@
-
+ List organizations
List all organizations
Lists all organizations, in the order that they were created on GitHub.
@@ -483,12 +483,12 @@
-
+ List organizations for a user
List user organizations
List public organization memberships for the specified user.
-This method only lists public memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the List your organizations API instead.
+This method only lists public memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the List organizations for the authenticated user API instead.
GET /users/:username/orgs
@@ -522,7 +522,7 @@
-
+ List app installations for an organization
List installations for an organization
@@ -738,7 +738,7 @@
-
+ Update an organization
Edit an organization
@@ -940,7 +940,7 @@
-
+ List SAML SSO authorizations for an organization
List credential authorizations for an organization
@@ -988,7 +988,7 @@
-
+ Remove a SAML SSO authorization for an organization
Remove a credential authorization for an organization
diff --git a/cache/api.github.com/v3/orgs/list-all-organizations.html b/cache/api.github.com/v3/orgs/list-all-organizations.html
deleted file mode 100644
index a71e93a854..0000000000
--- a/cache/api.github.com/v3/orgs/list-all-organizations.html
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
- List all organizationsLists all organizations, in the order that they were created on GitHub.
-
-
-Note: Pagination is powered exclusively by the since
parameter.
-Use the Link header to get the URL for the next page of
-organizations.
-
-
-GET /organizations
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-since
-integer
-The integer ID of the last organization that you've seen.
-
-
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/organizations?since=135>; rel="next"
-
-[
- {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/list-app-installations-for-an-organization.html b/cache/api.github.com/v3/orgs/list-app-installations-for-an-organization.html
new file mode 100644
index 0000000000..425c06c2d2
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/list-app-installations-for-an-organization.html
@@ -0,0 +1,73 @@
+
+
+
+ List app installations for an organization
+
+Note: To access the API with your GitHub App, you must provide a custom media type in the Accept
Header for your requests.
+
+application/vnd.github.machine-man-preview+json
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with admin:read
scope to use this endpoint.
+GET /orgs/:org/installations
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+{
+ "total_count": 1,
+ "installations": [
+ {
+ "id": 25381,
+ "account": {
+ "login": "octo-org",
+ "id": 6811672,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
+ "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octo-org",
+ "html_url": "https://github.com/octo-org",
+ "followers_url": "https://api.github.com/users/octo-org/followers",
+ "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
+ "organizations_url": "https://api.github.com/users/octo-org/orgs",
+ "repos_url": "https://api.github.com/users/octo-org/repos",
+ "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octo-org/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "repository_selection": "selected",
+ "access_tokens_url": "https://api.github.com/app/installations/25381/access_tokens",
+ "repositories_url": "https://api.github.com/installation/repositories",
+ "html_url": "https://github.com/organizations/octo-org/settings/installations/25381",
+ "app_id": 2218,
+ "target_id": 6811672,
+ "target_type": "Organization",
+ "permissions": {
+ "deployments": "write",
+ "metadata": "read",
+ "pull_requests": "read",
+ "statuses": "read"
+ },
+ "events": [
+ "deployment",
+ "deployment_status"
+ ],
+ "created_at": "2017-05-16T08:47:09.000-07:00",
+ "updated_at": "2017-06-06T11:23:23.000-07:00",
+ "single_file_name": null
+ }
+ ]
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/list-credential-authorizations-for-an-organization.html b/cache/api.github.com/v3/orgs/list-credential-authorizations-for-an-organization.html
deleted file mode 100644
index f5c2353953..0000000000
--- a/cache/api.github.com/v3/orgs/list-credential-authorizations-for-an-organization.html
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
- List credential authorizations for an organization
-
-Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-An authenticated organization owner with the read:org
scope can list all credential authorizations for an organization that uses SAML single sign-on (SSO). The credentials are either personal access tokens or SSH keys that organization members have authorized for the organization. For more information, see About authentication with SAML single sign-on.
-GET /orgs/:org/credential-authorizations
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "login": "octocat",
- "credential_id": "161195",
- "credential_type": "personal access token",
- "token_last_eight": "71c3fc11",
- "credential_authorized_at": "2011-01-26T19:06:43Z",
- "scopes": [
- "user",
- "repo"
- ]
- },
- {
- "login": "hubot",
- "credential_id": "161196",
- "credential_type": "personal access token",
- "token_last_eight": "12345678",
- "credential_authorized_at": "2019-03-29T19:06:43Z",
- "scopes": [
- "repo"
- ]
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/list-installations-for-an-organization.html b/cache/api.github.com/v3/orgs/list-installations-for-an-organization.html
deleted file mode 100644
index 3584fd0962..0000000000
--- a/cache/api.github.com/v3/orgs/list-installations-for-an-organization.html
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
- List installations for an organization
-
-Note: To access the API with your GitHub App, you must provide a custom media type in the Accept
Header for your requests.
-
-application/vnd.github.machine-man-preview+json
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with admin:read
scope to use this endpoint.
-GET /orgs/:org/installations
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-{
- "total_count": 1,
- "installations": [
- {
- "id": 25381,
- "account": {
- "login": "octo-org",
- "id": 6811672,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
- "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octo-org",
- "html_url": "https://github.com/octo-org",
- "followers_url": "https://api.github.com/users/octo-org/followers",
- "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
- "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
- "organizations_url": "https://api.github.com/users/octo-org/orgs",
- "repos_url": "https://api.github.com/users/octo-org/repos",
- "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octo-org/received_events",
- "type": "Organization",
- "site_admin": false
- },
- "repository_selection": "selected",
- "access_tokens_url": "https://api.github.com/app/installations/25381/access_tokens",
- "repositories_url": "https://api.github.com/installation/repositories",
- "html_url": "https://github.com/organizations/octo-org/settings/installations/25381",
- "app_id": 2218,
- "target_id": 6811672,
- "target_type": "Organization",
- "permissions": {
- "deployments": "write",
- "metadata": "read",
- "pull_requests": "read",
- "statuses": "read"
- },
- "events": [
- "deployment",
- "deployment_status"
- ],
- "created_at": "2017-05-16T08:47:09.000-07:00",
- "updated_at": "2017-06-06T11:23:23.000-07:00",
- "single_file_name": null
- }
- ]
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/list-organizations-for-a-user.html b/cache/api.github.com/v3/orgs/list-organizations-for-a-user.html
new file mode 100644
index 0000000000..68ae950216
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/list-organizations-for-a-user.html
@@ -0,0 +1,30 @@
+
+
+
+ List organizations for a userList public organization memberships for the specified user.
+This method only lists public memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the List organizations for the authenticated user API instead.
+GET /users/:username/orgs
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/list-organizations-for-the-authenticated-user.html b/cache/api.github.com/v3/orgs/list-organizations-for-the-authenticated-user.html
new file mode 100644
index 0000000000..22306a35f9
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/list-organizations-for-the-authenticated-user.html
@@ -0,0 +1,31 @@
+
+
+ List organizations for the authenticated userList organizations for the authenticated user.
+
+
+ OAuth scope requirementsThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with read:org
scope, you can publicize your organization membership with user
scope, etc.). Therefore, this API requires at least user
or read:org
scope. OAuth requests with insufficient scope receive a 403 Forbidden
response.
+GET /user/orgs
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/list-organizations.html b/cache/api.github.com/v3/orgs/list-organizations.html
new file mode 100644
index 0000000000..20b7952d1d
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/list-organizations.html
@@ -0,0 +1,53 @@
+
+
+
+ List organizationsLists all organizations, in the order that they were created on GitHub.
+
+
+Note: Pagination is powered exclusively by the since
parameter.
+Use the Link header to get the URL for the next page of
+organizations.
+
+
+GET /organizations
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+since
+integer
+The integer ID of the last organization that you've seen.
+
+
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/organizations?since=135>; rel="next"
+
+[
+ {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/list-saml-sso-authorizations-for-an-organization.html b/cache/api.github.com/v3/orgs/list-saml-sso-authorizations-for-an-organization.html
new file mode 100644
index 0000000000..29dba2053b
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/list-saml-sso-authorizations-for-an-organization.html
@@ -0,0 +1,39 @@
+
+
+
+ List SAML SSO authorizations for an organization
+
+Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+An authenticated organization owner with the read:org
scope can list all credential authorizations for an organization that uses SAML single sign-on (SSO). The credentials are either personal access tokens or SSH keys that organization members have authorized for the organization. For more information, see About authentication with SAML single sign-on.
+GET /orgs/:org/credential-authorizations
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "login": "octocat",
+ "credential_id": "161195",
+ "credential_type": "personal access token",
+ "token_last_eight": "71c3fc11",
+ "credential_authorized_at": "2011-01-26T19:06:43Z",
+ "scopes": [
+ "user",
+ "repo"
+ ]
+ },
+ {
+ "login": "hubot",
+ "credential_id": "161196",
+ "credential_type": "personal access token",
+ "token_last_eight": "12345678",
+ "credential_authorized_at": "2019-03-29T19:06:43Z",
+ "scopes": [
+ "repo"
+ ]
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/list-user-organizations.html b/cache/api.github.com/v3/orgs/list-user-organizations.html
deleted file mode 100644
index 10cf695ac4..0000000000
--- a/cache/api.github.com/v3/orgs/list-user-organizations.html
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
- List user organizationsList public organization memberships for the specified user.
-This method only lists public memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the List your organizations API instead.
-GET /users/:username/orgs
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/list-your-organizations.html b/cache/api.github.com/v3/orgs/list-your-organizations.html
deleted file mode 100644
index 8631058f31..0000000000
--- a/cache/api.github.com/v3/orgs/list-your-organizations.html
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
- List your organizationsList organizations for the authenticated user.
-
-
- OAuth scope requirementsThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with read:org
scope, you can publicize your organization membership with user
scope, etc.). Therefore, this API requires at least user
or read:org
scope. OAuth requests with insufficient scope receive a 403 Forbidden
response.
-GET /user/orgs
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/add-a-member.html b/cache/api.github.com/v3/orgs/members/add-a-member.html
deleted file mode 100644
index cf141697bc..0000000000
--- a/cache/api.github.com/v3/orgs/members/add-a-member.html
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- Add a memberTo add someone as a member to an organization, you must
-invite them to the organization
-or Add or update team membership for a user.
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/add-an-organization-member.html b/cache/api.github.com/v3/orgs/members/add-an-organization-member.html
new file mode 100644
index 0000000000..edeaa58217
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/add-an-organization-member.html
@@ -0,0 +1,5 @@
+
+
+ Add an organization memberTo add someone as a member to an organization, you must
+invite them to the organization
+or Add or update team membership for a user.
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/add-or-update-organization-membership.html b/cache/api.github.com/v3/orgs/members/add-or-update-organization-membership.html
deleted file mode 100644
index 645a1d6965..0000000000
--- a/cache/api.github.com/v3/orgs/members/add-or-update-organization-membership.html
+++ /dev/null
@@ -1,122 +0,0 @@
-
-
-
- Add or update organization membershipOnly authenticated organization owners can add a member to the organization or update the member's role.
-
-If the authenticated user is adding a member to the organization, the invited user will receive an email inviting them to the organization. The user's membership status will be pending
until they accept the invitation.
-Authenticated users can update a user's membership by passing the role
parameter. If the authenticated user changes a member's role to admin
, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to member
, no email will be sent.
-
-PUT /orgs/:org/memberships/:username
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-role
-string
-The role to give the user in the organization. Can be one of:
* admin
- The user will become an owner of the organization.
* member
- The user will become a non-owner member of the organization.
Default: member
-
-
-
-
-
-
- Rate limitsTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.
-
-
- Response if user was previously unaffiliated with organizationStatus: 200 OK
-
-{
- "url": "https://api.github.com/orgs/invitocat/memberships/defunkt",
- "state": "pending",
- "role": "admin",
- "organization_url": "https://api.github.com/orgs/invitocat",
- "organization": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
-
-
- Response if user already had membership with organizationStatus: 200 OK
-
-{
- "url": "https://api.github.com/orgs/octocat/memberships/defunkt",
- "state": "active",
- "role": "admin",
- "organization_url": "https://api.github.com/orgs/octocat",
- "organization": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/check-membership.html b/cache/api.github.com/v3/orgs/members/check-membership.html
deleted file mode 100644
index bcc3dd7956..0000000000
--- a/cache/api.github.com/v3/orgs/members/check-membership.html
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
- Check membershipCheck if a user is, publicly or privately, a member of the organization.
-GET /orgs/:org/members/:username
-
-
-
- Response if requester is an organization member and user is a memberStatus: 204 No Content
-
-
-
- Response if requester is an organization member and user is not a memberStatus: 404 Not Found
-
-
-
- Response if requester is not an organization member and is inquiring about themselvesStatus: 404 Not Found
-
-
-
- Response if requester is not an organization memberStatus: 302 Found
-Location: https://api.github.com/orgs/github/public_members/pezra
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/check-organization-membership-for-a-user.html b/cache/api.github.com/v3/orgs/members/check-organization-membership-for-a-user.html
new file mode 100644
index 0000000000..d260261da8
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/check-organization-membership-for-a-user.html
@@ -0,0 +1,23 @@
+
+
+
+ Check organization membership for a userCheck if a user is, publicly or privately, a member of the organization.
+GET /orgs/:org/members/:username
+
+
+
+ Response if requester is an organization member and user is a memberStatus: 204 No Content
+
+
+
+ Response if requester is an organization member and user is not a memberStatus: 404 Not Found
+
+
+
+ Response if requester is not an organization member and is inquiring about themselvesStatus: 404 Not Found
+
+
+
+ Response if requester is not an organization memberStatus: 302 Found
+Location: https://api.github.com/orgs/github/public_members/pezra
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/check-public-membership.html b/cache/api.github.com/v3/orgs/members/check-public-membership.html
deleted file mode 100644
index 50815640a8..0000000000
--- a/cache/api.github.com/v3/orgs/members/check-public-membership.html
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- Check public membershipGET /orgs/:org/public_members/:username
-
-
-
- Response if user is a public memberStatus: 204 No Content
-
-
-
- Response if user is not a public memberStatus: 404 Not Found
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/check-public-organization-membership-for-a-user.html b/cache/api.github.com/v3/orgs/members/check-public-organization-membership-for-a-user.html
new file mode 100644
index 0000000000..76e73690e5
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/check-public-organization-membership-for-a-user.html
@@ -0,0 +1,13 @@
+
+
+
+ Check public organization membership for a userGET /orgs/:org/public_members/:username
+
+
+
+ Response if user is a public memberStatus: 204 No Content
+
+
+
+ Response if user is not a public memberStatus: 404 Not Found
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/conceal-a-users-membership.html b/cache/api.github.com/v3/orgs/members/conceal-a-users-membership.html
deleted file mode 100644
index 246e8b7bab..0000000000
--- a/cache/api.github.com/v3/orgs/members/conceal-a-users-membership.html
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- Conceal a user's membershipDELETE /orgs/:org/public_members/:username
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/create-an-organization-invitation.html b/cache/api.github.com/v3/orgs/members/create-an-organization-invitation.html
new file mode 100644
index 0000000000..97283784d1
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/create-an-organization-invitation.html
@@ -0,0 +1,87 @@
+
+
+
+ Create an organization invitationInvite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.
+This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
+POST /orgs/:org/invitations
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+invitee_id
+integer
+
+Required unless you provide email
. GitHub user ID for the person you are inviting.
+
+
+email
+string
+
+Required unless you provide invitee_id
. Email address of the person you are inviting, which can be an existing GitHub user.
+
+
+role
+string
+Specify role for new member. Can be one of:
* admin
- Organization owners with full administrative rights to the organization and complete access to all repositories and teams.
* direct_member
- Non-owner organization members with ability to see other members and join teams by invitation.
* billing_manager
- Non-owner organization members with ability to manage the billing settings of your organization.
Default: direct_member
.
+
+
+team_ids
+array
+Specify IDs for the teams you want to invite new members to.
+
+
+
+
+
+ Example{
+ "email": "octocat@github.com",
+ "role": "direct_member",
+ "team_ids": [
+ 12,
+ 26
+ ]
+}
+
+
+
+ ResponseStatus: 201 Created
+
+{
+ "id": 1,
+ "login": "monalisa",
+ "email": "octocat@github.com",
+ "role": "direct_member",
+ "created_at": "2016-11-30T06:46:10-08:00",
+ "inviter": {
+ "login": "other_user",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/other_user_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/other_user",
+ "html_url": "https://github.com/other_user",
+ "followers_url": "https://api.github.com/users/other_user/followers",
+ "following_url": "https://api.github.com/users/other_user/following{/other_user}",
+ "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/other_user/subscriptions",
+ "organizations_url": "https://api.github.com/users/other_user/orgs",
+ "repos_url": "https://api.github.com/users/other_user/repos",
+ "events_url": "https://api.github.com/users/other_user/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/other_user/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "team_count": 2,
+ "invitation_team_url": "https://api.github.com/organizations/2/invitations/1/teams"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/create-organization-invitation.html b/cache/api.github.com/v3/orgs/members/create-organization-invitation.html
deleted file mode 100644
index 93cc032237..0000000000
--- a/cache/api.github.com/v3/orgs/members/create-organization-invitation.html
+++ /dev/null
@@ -1,87 +0,0 @@
-
-
-
- Create organization invitationInvite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.
-This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
-POST /orgs/:org/invitations
-
-
-
- Input
-
-
-Name
-Type
-Description
-
-
-
-
-invitee_id
-integer
-
-Required unless you provide email
. GitHub user ID for the person you are inviting.
-
-
-email
-string
-
-Required unless you provide invitee_id
. Email address of the person you are inviting, which can be an existing GitHub user.
-
-
-role
-string
-Specify role for new member. Can be one of:
* admin
- Organization owners with full administrative rights to the organization and complete access to all repositories and teams.
* direct_member
- Non-owner organization members with ability to see other members and join teams by invitation.
* billing_manager
- Non-owner organization members with ability to manage the billing settings of your organization.
Default: direct_member
.
-
-
-team_ids
-array
-Specify IDs for the teams you want to invite new members to.
-
-
-
-
-
- Example{
- "email": "octocat@github.com",
- "role": "direct_member",
- "team_ids": [
- 12,
- 26
- ]
-}
-
-
-
- ResponseStatus: 201 Created
-
-{
- "id": 1,
- "login": "monalisa",
- "email": "octocat@github.com",
- "role": "direct_member",
- "created_at": "2016-11-30T06:46:10-08:00",
- "inviter": {
- "login": "other_user",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/other_user_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/other_user",
- "html_url": "https://github.com/other_user",
- "followers_url": "https://api.github.com/users/other_user/followers",
- "following_url": "https://api.github.com/users/other_user/following{/other_user}",
- "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/other_user/subscriptions",
- "organizations_url": "https://api.github.com/users/other_user/orgs",
- "repos_url": "https://api.github.com/users/other_user/repos",
- "events_url": "https://api.github.com/users/other_user/events{/privacy}",
- "received_events_url": "https://api.github.com/users/other_user/received_events",
- "type": "User",
- "site_admin": false
- },
- "team_count": 2,
- "invitation_team_url": "https://api.github.com/organizations/2/invitations/1/teams"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/edit-your-organization-membership.html b/cache/api.github.com/v3/orgs/members/edit-your-organization-membership.html
deleted file mode 100644
index 24877101f8..0000000000
--- a/cache/api.github.com/v3/orgs/members/edit-your-organization-membership.html
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
- Edit your organization membershipPATCH /user/memberships/orgs/:org
-
-
-
- Input
-
-
-Name
-Type
-Description
-
-
-
-
-state
-string
-
-Required. The state that the membership should be in. Only "active"
will be accepted.
-
-
-
-
-
- Example{
- "state": "active"
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/orgs/octocat/memberships/defunkt",
- "state": "active",
- "role": "admin",
- "organization_url": "https://api.github.com/orgs/octocat",
- "organization": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/get-an-organization-membership-for-the-authenticated-user.html b/cache/api.github.com/v3/orgs/members/get-an-organization-membership-for-the-authenticated-user.html
new file mode 100644
index 0000000000..4ca5e7ebce
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/get-an-organization-membership-for-the-authenticated-user.html
@@ -0,0 +1,49 @@
+
+
+ Get an organization membership for the authenticated userGET /user/memberships/orgs/:org
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/orgs/invitocat/memberships/defunkt",
+ "state": "pending",
+ "role": "admin",
+ "organization_url": "https://api.github.com/orgs/invitocat",
+ "organization": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/get-organization-membership-for-a-user.html b/cache/api.github.com/v3/orgs/members/get-organization-membership-for-a-user.html
new file mode 100644
index 0000000000..abf3f874af
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/get-organization-membership-for-a-user.html
@@ -0,0 +1,141 @@
+
+
+
+ Get organization membership for a userIn order to get a user's membership with an organization, the authenticated user must be an organization member.
+GET /orgs/:org/memberships/:username
+
+
+
+ Response if user has an active admin membership with organizationStatus: 200 OK
+
+{
+ "url": "https://api.github.com/orgs/octocat/memberships/defunkt",
+ "state": "active",
+ "role": "admin",
+ "organization_url": "https://api.github.com/orgs/octocat",
+ "organization": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
+
+
+ Response if user has an active membership with organizationStatus: 200 OK
+
+{
+ "url": "https://api.github.com/orgs/octocat/memberships/defunkt",
+ "state": "active",
+ "role": "member",
+ "organization_url": "https://api.github.com/orgs/octocat",
+ "organization": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
+
+
+ Response if user has a pending membership with organizationStatus: 200 OK
+
+{
+ "url": "https://api.github.com/orgs/invitocat/memberships/defunkt",
+ "state": "pending",
+ "role": "member",
+ "organization_url": "https://api.github.com/orgs/invitocat",
+ "organization": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/get-organization-membership.html b/cache/api.github.com/v3/orgs/members/get-organization-membership.html
deleted file mode 100644
index 427394c7a0..0000000000
--- a/cache/api.github.com/v3/orgs/members/get-organization-membership.html
+++ /dev/null
@@ -1,141 +0,0 @@
-
-
-
- Get organization membershipIn order to get a user's membership with an organization, the authenticated user must be an organization member.
-GET /orgs/:org/memberships/:username
-
-
-
- Response if user has an active admin membership with organizationStatus: 200 OK
-
-{
- "url": "https://api.github.com/orgs/octocat/memberships/defunkt",
- "state": "active",
- "role": "admin",
- "organization_url": "https://api.github.com/orgs/octocat",
- "organization": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
-
-
- Response if user has an active membership with organizationStatus: 200 OK
-
-{
- "url": "https://api.github.com/orgs/octocat/memberships/defunkt",
- "state": "active",
- "role": "member",
- "organization_url": "https://api.github.com/orgs/octocat",
- "organization": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
-
-
- Response if user has a pending membership with organizationStatus: 200 OK
-
-{
- "url": "https://api.github.com/orgs/invitocat/memberships/defunkt",
- "state": "pending",
- "role": "member",
- "organization_url": "https://api.github.com/orgs/invitocat",
- "organization": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/get-your-organization-membership.html b/cache/api.github.com/v3/orgs/members/get-your-organization-membership.html
deleted file mode 100644
index 4605154827..0000000000
--- a/cache/api.github.com/v3/orgs/members/get-your-organization-membership.html
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
- Get your organization membershipGET /user/memberships/orgs/:org
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/orgs/invitocat/memberships/defunkt",
- "state": "pending",
- "role": "admin",
- "organization_url": "https://api.github.com/orgs/invitocat",
- "organization": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/index.html b/cache/api.github.com/v3/orgs/members/index.html
index 25a4592e51..047bd21cd6 100644
--- a/cache/api.github.com/v3/orgs/members/index.html
+++ b/cache/api.github.com/v3/orgs/members/index.html
@@ -367,27 +367,27 @@
Members
-- Members list
-- Check membership
-- Add a member
-- Remove a member
-- Public members list
-- Check public membership
-- Publicize a user's membership
-- Conceal a user's membership
-- Get organization membership
-- Add or update organization membership
-- Remove organization membership
+- List organization members
+- Check organization membership for a user
+- Add an organization member
+- Remove an organization member
+- List public organization members
+- Check public organization membership for a user
+- Set public organization membership for the authenticated user
+- Remove public organization membership for the authenticated user
+- Get organization membership for a user
+- Set organization membership for a user
+- Remove organization membership for a user
- List organization invitation teams
- List pending organization invitations
-- Create organization invitation
-- List your organization memberships
-- Get your organization membership
-- Edit your organization membership
+- Create an organization invitation
+- List organization memberships for the authenticated user
+- Get an organization membership for the authenticated user
+- Update an organization membership for the authenticated user
-
+ List organization members
Members listList all users who are members of an organization. If the authenticated user is
@@ -469,7 +469,7 @@
-
+ Check organization membership for a user
Check membership
Check if a user is, publicly or privately, a member of the organization.
@@ -507,14 +507,14 @@
-
+ Add a member Add an organization member
To add someone as a member to an organization, you must
-invite them to the organization
+invite them to the organization
or Add or update team membership for a user.
-
+ Remove an organization member
Remove a memberRemoving a user from this list will remove them from all teams and
@@ -531,7 +531,7 @@
-
+ List public organization members
Public members list
Members of an organization can choose to have their membership
@@ -575,7 +575,7 @@
-
+ Check public organization membership for a user
Check public membershipGET /orgs/:org/public_members/:username
@@ -596,7 +596,7 @@
-
+ Publicize a user's membership Set public organization membership for the authenticated user
The user can publicize their own membership.
(A user cannot publicize the membership for another user.)
@@ -614,7 +614,7 @@
-
+ Conceal a user's membership Remove public organization membership for the authenticated user
DELETE /orgs/:org/public_members/:username
@@ -627,7 +627,7 @@
-
+ Get organization membership for a user
Get organization membership
In order to get a user's membership with an organization, the authenticated user must be an organization member.
@@ -786,13 +786,13 @@
-
+ Set organization membership for a user
Add or update organization membership
Only authenticated organization owners can add a member to the organization or update the member's role.
-If the authenticated user is adding a member to the organization, the invited user will receive an email inviting them to the organization. The user's membership status will be pending
until they accept the invitation.
+If the authenticated user is adding a member to the organization, the invited user will receive an email inviting them to the organization. The user's membership status will be pending
until they accept the invitation.
Authenticated users can update a user's membership by passing the role
parameter. If the authenticated user changes a member's role to admin
, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to member
, no email will be sent.
@@ -926,7 +926,7 @@
-
+ Remove organization membership for a user
Remove organization membership
In order to remove a user's membership with an organization, the authenticated user must be an organization owner.
@@ -1033,7 +1033,7 @@
-
+ Create an organization invitation
Create organization invitation
Invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.
@@ -1134,7 +1134,7 @@
-
+ List your organization memberships List organization memberships for the authenticated user
GET /user/memberships/orgs
@@ -1254,7 +1254,7 @@
-
+ Get your organization membership Get an organization membership for the authenticated user
GET /user/memberships/orgs/:org
@@ -1310,7 +1310,7 @@
-
+ Edit your organization membership Update an organization membership for the authenticated user
PATCH /user/memberships/orgs/:org
diff --git a/cache/api.github.com/v3/orgs/members/list-organization-members.html b/cache/api.github.com/v3/orgs/members/list-organization-members.html
new file mode 100644
index 0000000000..566fa036ff
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/list-organization-members.html
@@ -0,0 +1,68 @@
+
+
+
+ List organization members
List all users who are members of an organization. If the authenticated user is
+also a member of this organization then both concealed and public members will
+be returned.
+GET /orgs/:org/members
+
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+filter
+string
+Filter members returned in the list. Can be one of:
* 2fa_disabled
- Members without two-factor authentication enabled. Available for organization owners.
* all
- All members the authenticated user can see.
Default: all
+
+
+
+role
+string
+Filter members returned by their role. Can be one of:
* all
- All members of the organization, regardless of role.
* admin
- Organization owners.
* member
- Non-owner organization members.
Default: all
+
+
+
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+]
+
+
+
+ Response if requester is not an organization memberStatus: 302 Found
+Location: https://api.github.com/orgs/github/public_members
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/list-organization-memberships-for-the-authenticated-user.html b/cache/api.github.com/v3/orgs/members/list-organization-memberships-for-the-authenticated-user.html
new file mode 100644
index 0000000000..3ae3dae689
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/list-organization-memberships-for-the-authenticated-user.html
@@ -0,0 +1,111 @@
+
+
+ List organization memberships for the authenticated userGET /user/memberships/orgs
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+state
+string
+Indicates the state of the memberships to return. Can be either active
or pending
. If not specified, the API returns both active and pending memberships.
+
+
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/orgs/octocat/memberships/defunkt",
+ "state": "active",
+ "role": "admin",
+ "organization_url": "https://api.github.com/orgs/octocat",
+ "organization": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ },
+ {
+ "url": "https://api.github.com/orgs/invitocat/memberships/defunkt",
+ "state": "pending",
+ "role": "admin",
+ "organization_url": "https://api.github.com/orgs/invitocat",
+ "organization": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/list-public-organization-members.html b/cache/api.github.com/v3/orgs/members/list-public-organization-members.html
new file mode 100644
index 0000000000..c6129fa8bd
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/list-public-organization-members.html
@@ -0,0 +1,36 @@
+
+
+
+ List public organization membersMembers of an organization can choose to have their membership
+publicized or not.
+GET /orgs/:org/public_members
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/list-your-organization-memberships.html b/cache/api.github.com/v3/orgs/members/list-your-organization-memberships.html
deleted file mode 100644
index 129dbfd37f..0000000000
--- a/cache/api.github.com/v3/orgs/members/list-your-organization-memberships.html
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
- List your organization membershipsGET /user/memberships/orgs
-
-
-
- Input
-
-
-Name
-Type
-Description
-
-
-
-
-state
-string
-Indicates the state of the memberships to return. Can be either active
or pending
. If not specified, the API returns both active and pending memberships.
-
-
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "url": "https://api.github.com/orgs/octocat/memberships/defunkt",
- "state": "active",
- "role": "admin",
- "organization_url": "https://api.github.com/orgs/octocat",
- "organization": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
- },
- {
- "url": "https://api.github.com/orgs/invitocat/memberships/defunkt",
- "state": "pending",
- "role": "admin",
- "organization_url": "https://api.github.com/orgs/invitocat",
- "organization": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/members-list.html b/cache/api.github.com/v3/orgs/members/members-list.html
deleted file mode 100644
index 07d70dd1ca..0000000000
--- a/cache/api.github.com/v3/orgs/members/members-list.html
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
- Members listList all users who are members of an organization. If the authenticated user is
-also a member of this organization then both concealed and public members will
-be returned.
-GET /orgs/:org/members
-
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-filter
-string
-Filter members returned in the list. Can be one of:
* 2fa_disabled
- Members without two-factor authentication enabled. Available for organization owners.
* all
- All members the authenticated user can see.
Default: all
-
-
-
-role
-string
-Filter members returned by their role. Can be one of:
* all
- All members of the organization, regardless of role.
* admin
- Organization owners.
* member
- Non-owner organization members.
Default: all
-
-
-
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
-
-
- Response if requester is not an organization memberStatus: 302 Found
-Location: https://api.github.com/orgs/github/public_members
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/public-members-list.html b/cache/api.github.com/v3/orgs/members/public-members-list.html
deleted file mode 100644
index af273a271e..0000000000
--- a/cache/api.github.com/v3/orgs/members/public-members-list.html
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
- Public members listMembers of an organization can choose to have their membership
-publicized or not.
-GET /orgs/:org/public_members
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/publicize-a-users-membership.html b/cache/api.github.com/v3/orgs/members/publicize-a-users-membership.html
deleted file mode 100644
index be142c6d0d..0000000000
--- a/cache/api.github.com/v3/orgs/members/publicize-a-users-membership.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
- Publicize a user's membershipThe user can publicize their own membership.
-(A user cannot publicize the membership for another user.)
-PUT /orgs/:org/public_members/:username
-
-Note that you'll need to set Content-Length
to zero when calling out to this endpoint. For more information, see "HTTP verbs."
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/remove-a-member.html b/cache/api.github.com/v3/orgs/members/remove-a-member.html
deleted file mode 100644
index b0031e6e27..0000000000
--- a/cache/api.github.com/v3/orgs/members/remove-a-member.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- Remove a memberRemoving a user from this list will remove them from all teams and
-they will no longer have any access to the organization's repositories.
-DELETE /orgs/:org/members/:username
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/remove-an-organization-member.html b/cache/api.github.com/v3/orgs/members/remove-an-organization-member.html
new file mode 100644
index 0000000000..c5c88a009b
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/remove-an-organization-member.html
@@ -0,0 +1,11 @@
+
+
+
+ Remove an organization memberRemoving a user from this list will remove them from all teams and
+they will no longer have any access to the organization's repositories.
+DELETE /orgs/:org/members/:username
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/remove-organization-membership-for-a-user.html b/cache/api.github.com/v3/orgs/members/remove-organization-membership-for-a-user.html
new file mode 100644
index 0000000000..3e64d375a1
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/remove-organization-membership-for-a-user.html
@@ -0,0 +1,11 @@
+
+
+
+ Remove organization membership for a userIn order to remove a user's membership with an organization, the authenticated user must be an organization owner.
+DELETE /orgs/:org/memberships/:username
+
+If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/remove-organization-membership.html b/cache/api.github.com/v3/orgs/members/remove-organization-membership.html
deleted file mode 100644
index 27bf669af0..0000000000
--- a/cache/api.github.com/v3/orgs/members/remove-organization-membership.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- Remove organization membershipIn order to remove a user's membership with an organization, the authenticated user must be an organization owner.
-DELETE /orgs/:org/memberships/:username
-
-If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases.
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/remove-public-organization-membership-for-the-authenticated-user.html b/cache/api.github.com/v3/orgs/members/remove-public-organization-membership-for-the-authenticated-user.html
new file mode 100644
index 0000000000..a25bc5380b
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/remove-public-organization-membership-for-the-authenticated-user.html
@@ -0,0 +1,8 @@
+
+
+ Remove public organization membership for the authenticated userDELETE /orgs/:org/public_members/:username
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/sections.json b/cache/api.github.com/v3/orgs/members/sections.json
index e20cdc3fb7..1b01ac141c 100644
--- a/cache/api.github.com/v3/orgs/members/sections.json
+++ b/cache/api.github.com/v3/orgs/members/sections.json
@@ -1,58 +1,58 @@
[
{
- "id": "members-list",
- "name": "Members list",
- "url": "https://developer.github.com/v3/orgs/members/#members-list"
+ "id": "list-organization-members",
+ "name": "List organization members",
+ "url": "https://developer.github.com/v3/orgs/members/#list-organization-members"
},
{
- "id": "check-membership",
- "name": "Check membership",
- "url": "https://developer.github.com/v3/orgs/members/#check-membership"
+ "id": "check-organization-membership-for-a-user",
+ "name": "Check organization membership for a user",
+ "url": "https://developer.github.com/v3/orgs/members/#check-organization-membership-for-a-user"
},
{
- "id": "add-a-member",
- "name": "Add a member",
- "url": "https://developer.github.com/v3/orgs/members/#add-a-member"
+ "id": "add-an-organization-member",
+ "name": "Add an organization member",
+ "url": "https://developer.github.com/v3/orgs/members/#add-an-organization-member"
},
{
- "id": "remove-a-member",
- "name": "Remove a member",
- "url": "https://developer.github.com/v3/orgs/members/#remove-a-member"
+ "id": "remove-an-organization-member",
+ "name": "Remove an organization member",
+ "url": "https://developer.github.com/v3/orgs/members/#remove-an-organization-member"
},
{
- "id": "public-members-list",
- "name": "Public members list",
- "url": "https://developer.github.com/v3/orgs/members/#public-members-list"
+ "id": "list-public-organization-members",
+ "name": "List public organization members",
+ "url": "https://developer.github.com/v3/orgs/members/#list-public-organization-members"
},
{
- "id": "check-public-membership",
- "name": "Check public membership",
- "url": "https://developer.github.com/v3/orgs/members/#check-public-membership"
+ "id": "check-public-organization-membership-for-a-user",
+ "name": "Check public organization membership for a user",
+ "url": "https://developer.github.com/v3/orgs/members/#check-public-organization-membership-for-a-user"
},
{
- "id": "publicize-a-users-membership",
- "name": "Publicize a user's membership",
- "url": "https://developer.github.com/v3/orgs/members/#publicize-a-users-membership"
+ "id": "set-public-organization-membership-for-the-authenticated-user",
+ "name": "Set public organization membership for the authenticated user",
+ "url": "https://developer.github.com/v3/orgs/members/#set-public-organization-membership-for-the-authenticated-user"
},
{
- "id": "conceal-a-users-membership",
- "name": "Conceal a user's membership",
- "url": "https://developer.github.com/v3/orgs/members/#conceal-a-users-membership"
+ "id": "remove-public-organization-membership-for-the-authenticated-user",
+ "name": "Remove public organization membership for the authenticated user",
+ "url": "https://developer.github.com/v3/orgs/members/#remove-public-organization-membership-for-the-authenticated-user"
},
{
- "id": "get-organization-membership",
- "name": "Get organization membership",
- "url": "https://developer.github.com/v3/orgs/members/#get-organization-membership"
+ "id": "get-organization-membership-for-a-user",
+ "name": "Get organization membership for a user",
+ "url": "https://developer.github.com/v3/orgs/members/#get-organization-membership-for-a-user"
},
{
- "id": "add-or-update-organization-membership",
- "name": "Add or update organization membership",
- "url": "https://developer.github.com/v3/orgs/members/#add-or-update-organization-membership"
+ "id": "set-organization-membership-for-a-user",
+ "name": "Set organization membership for a user",
+ "url": "https://developer.github.com/v3/orgs/members/#set-organization-membership-for-a-user"
},
{
- "id": "remove-organization-membership",
- "name": "Remove organization membership",
- "url": "https://developer.github.com/v3/orgs/members/#remove-organization-membership"
+ "id": "remove-organization-membership-for-a-user",
+ "name": "Remove organization membership for a user",
+ "url": "https://developer.github.com/v3/orgs/members/#remove-organization-membership-for-a-user"
},
{
"id": "list-organization-invitation-teams",
@@ -65,23 +65,23 @@
"url": "https://developer.github.com/v3/orgs/members/#list-pending-organization-invitations"
},
{
- "id": "create-organization-invitation",
- "name": "Create organization invitation",
- "url": "https://developer.github.com/v3/orgs/members/#create-organization-invitation"
+ "id": "create-an-organization-invitation",
+ "name": "Create an organization invitation",
+ "url": "https://developer.github.com/v3/orgs/members/#create-an-organization-invitation"
},
{
- "id": "list-your-organization-memberships",
- "name": "List your organization memberships",
- "url": "https://developer.github.com/v3/orgs/members/#list-your-organization-memberships"
+ "id": "list-organization-memberships-for-the-authenticated-user",
+ "name": "List organization memberships for the authenticated user",
+ "url": "https://developer.github.com/v3/orgs/members/#list-organization-memberships-for-the-authenticated-user"
},
{
- "id": "get-your-organization-membership",
- "name": "Get your organization membership",
- "url": "https://developer.github.com/v3/orgs/members/#get-your-organization-membership"
+ "id": "get-an-organization-membership-for-the-authenticated-user",
+ "name": "Get an organization membership for the authenticated user",
+ "url": "https://developer.github.com/v3/orgs/members/#get-an-organization-membership-for-the-authenticated-user"
},
{
- "id": "edit-your-organization-membership",
- "name": "Edit your organization membership",
- "url": "https://developer.github.com/v3/orgs/members/#edit-your-organization-membership"
+ "id": "update-an-organization-membership-for-the-authenticated-user",
+ "name": "Update an organization membership for the authenticated user",
+ "url": "https://developer.github.com/v3/orgs/members/#update-an-organization-membership-for-the-authenticated-user"
}
]
diff --git a/cache/api.github.com/v3/orgs/members/set-organization-membership-for-a-user.html b/cache/api.github.com/v3/orgs/members/set-organization-membership-for-a-user.html
new file mode 100644
index 0000000000..7a7cc28f20
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/set-organization-membership-for-a-user.html
@@ -0,0 +1,122 @@
+
+
+
+ Set organization membership for a userOnly authenticated organization owners can add a member to the organization or update the member's role.
+
+If the authenticated user is adding a member to the organization, the invited user will receive an email inviting them to the organization. The user's membership status will be pending
until they accept the invitation.
+Authenticated users can update a user's membership by passing the role
parameter. If the authenticated user changes a member's role to admin
, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to member
, no email will be sent.
+
+PUT /orgs/:org/memberships/:username
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+role
+string
+The role to give the user in the organization. Can be one of:
* admin
- The user will become an owner of the organization.
* member
- The user will become a non-owner member of the organization.
Default: member
+
+
+
+
+
+
+ Rate limitsTo prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.
+
+
+ Response if user was previously unaffiliated with organizationStatus: 200 OK
+
+{
+ "url": "https://api.github.com/orgs/invitocat/memberships/defunkt",
+ "state": "pending",
+ "role": "admin",
+ "organization_url": "https://api.github.com/orgs/invitocat",
+ "organization": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
+
+
+ Response if user already had membership with organizationStatus: 200 OK
+
+{
+ "url": "https://api.github.com/orgs/octocat/memberships/defunkt",
+ "state": "active",
+ "role": "admin",
+ "organization_url": "https://api.github.com/orgs/octocat",
+ "organization": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/set-public-organization-membership-for-the-authenticated-user.html b/cache/api.github.com/v3/orgs/members/set-public-organization-membership-for-the-authenticated-user.html
new file mode 100644
index 0000000000..ef5cddd49b
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/set-public-organization-membership-for-the-authenticated-user.html
@@ -0,0 +1,11 @@
+
+
+ Set public organization membership for the authenticated userThe user can publicize their own membership.
+(A user cannot publicize the membership for another user.)
+PUT /orgs/:org/public_members/:username
+
+Note that you'll need to set Content-Length
to zero when calling out to this endpoint. For more information, see "HTTP verbs."
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/members/update-an-organization-membership-for-the-authenticated-user.html b/cache/api.github.com/v3/orgs/members/update-an-organization-membership-for-the-authenticated-user.html
new file mode 100644
index 0000000000..12879eb0c9
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/members/update-an-organization-membership-for-the-authenticated-user.html
@@ -0,0 +1,74 @@
+
+
+ Update an organization membership for the authenticated userPATCH /user/memberships/orgs/:org
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+state
+string
+
+Required. The state that the membership should be in. Only "active"
will be accepted.
+
+
+
+
+
+ Example{
+ "state": "active"
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/orgs/octocat/memberships/defunkt",
+ "state": "active",
+ "role": "admin",
+ "organization_url": "https://api.github.com/orgs/octocat",
+ "organization": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/outside_collaborators/convert-an-organization-member-to-outside-collaborator.html b/cache/api.github.com/v3/orgs/outside_collaborators/convert-an-organization-member-to-outside-collaborator.html
new file mode 100644
index 0000000000..f00c9e1ef0
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/outside_collaborators/convert-an-organization-member-to-outside-collaborator.html
@@ -0,0 +1,28 @@
+
+
+
+ Convert an organization member to outside collaboratorWhen an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "Converting an organization member to an outside collaborator".
+PUT /orgs/:org/outside_collaborators/:username
+
+
+
+ ResponseStatus: 204 No Content
+
+
+
+ Response if user is the last owner of the organizationStatus: 403 Forbidden
+
+{
+ "message": "Cannot convert the last owner to an outside collaborator",
+ "documentation_url": "https://developer.github.com/v3/orgs/outside_collaborators/#convert-member-to-outside-collaborator"
+}
+
+
+
+ Response if user is not a member of the organizationStatus: 403 Forbidden
+
+{
+ "message": "<user> is not a member of the <organization> organization.",
+ "documentation_url": "https://developer.github.com/v3/orgs/outside_collaborators/#convert-member-to-outside-collaborator"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/outside_collaborators/convert-member-to-outside-collaborator.html b/cache/api.github.com/v3/orgs/outside_collaborators/convert-member-to-outside-collaborator.html
deleted file mode 100644
index 046a8a71cf..0000000000
--- a/cache/api.github.com/v3/orgs/outside_collaborators/convert-member-to-outside-collaborator.html
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
- Convert member to outside collaboratorWhen an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "Converting an organization member to an outside collaborator".
-PUT /orgs/:org/outside_collaborators/:username
-
-
-
- ResponseStatus: 204 No Content
-
-
-
- Response if user is the last owner of the organizationStatus: 403 Forbidden
-
-{
- "message": "Cannot convert the last owner to an outside collaborator",
- "documentation_url": "https://developer.github.com/v3/orgs/outside_collaborators/#convert-member-to-outside-collaborator"
-}
-
-
-
- Response if user is not a member of the organizationStatus: 403 Forbidden
-
-{
- "message": "<user> is not a member of the <organization> organization.",
- "documentation_url": "https://developer.github.com/v3/orgs/outside_collaborators/#convert-member-to-outside-collaborator"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/outside_collaborators/index.html b/cache/api.github.com/v3/orgs/outside_collaborators/index.html
index 3c8e6986ca..6136ebcef5 100644
--- a/cache/api.github.com/v3/orgs/outside_collaborators/index.html
+++ b/cache/api.github.com/v3/orgs/outside_collaborators/index.html
@@ -367,13 +367,13 @@
Outside Collaborators
-- List outside collaborators
-- Remove outside collaborator
-- Convert member to outside collaborator
+- List outside collaborators for an organization
+- Remove outside collaborator from an organization
+- Convert an organization member to outside collaborator
-
+ List outside collaborators for an organization
List outside collaboratorsList all users who are outside collaborators of an organization.
@@ -439,7 +439,7 @@
-
+ Remove outside collaborator from an organization
Remove outside collaborator
Removing a user from this list will remove them from all the organization's repositories.
@@ -469,7 +469,7 @@
-
+ Convert an organization member to outside collaborator
Convert member to outside collaborator
When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "Converting an organization member to an outside collaborator".
diff --git a/cache/api.github.com/v3/orgs/outside_collaborators/list-outside-collaborators-for-an-organization.html b/cache/api.github.com/v3/orgs/outside_collaborators/list-outside-collaborators-for-an-organization.html
new file mode 100644
index 0000000000..1733084489
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/outside_collaborators/list-outside-collaborators-for-an-organization.html
@@ -0,0 +1,55 @@
+
+
+
+ List outside collaborators for an organizationList all users who are outside collaborators of an organization.
+GET /orgs/:org/outside_collaborators
+
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+filter
+string
+Filter the list of outside collaborators. Can be one of:
* 2fa_disabled
: Outside collaborators without two-factor authentication enabled.
* all
: All outside collaborators.
Default: all
+
+
+
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/outside_collaborators/list-outside-collaborators.html b/cache/api.github.com/v3/orgs/outside_collaborators/list-outside-collaborators.html
deleted file mode 100644
index 62f18d44ef..0000000000
--- a/cache/api.github.com/v3/orgs/outside_collaborators/list-outside-collaborators.html
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
- List outside collaboratorsList all users who are outside collaborators of an organization.
-GET /orgs/:org/outside_collaborators
-
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-filter
-string
-Filter the list of outside collaborators. Can be one of:
* 2fa_disabled
: Outside collaborators without two-factor authentication enabled.
* all
: All outside collaborators.
Default: all
-
-
-
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/outside_collaborators/remove-outside-collaborator-from-an-organization.html b/cache/api.github.com/v3/orgs/outside_collaborators/remove-outside-collaborator-from-an-organization.html
new file mode 100644
index 0000000000..23dac44476
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/outside_collaborators/remove-outside-collaborator-from-an-organization.html
@@ -0,0 +1,19 @@
+
+
+
+ Remove outside collaborator from an organizationRemoving a user from this list will remove them from all the organization's repositories.
+DELETE /orgs/:org/outside_collaborators/:username
+
+
+
+ ResponseStatus: 204 No Content
+
+
+
+ Response if user is a member of the organizationStatus: 422 Unprocessable Entity
+
+{
+ "message": "You cannot specify an organization member to remove as an outside collaborator.",
+ "documentation_url": "https://developer.github.com/v3/orgs/outside_collaborators/#remove-outside-collaborator"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/outside_collaborators/remove-outside-collaborator.html b/cache/api.github.com/v3/orgs/outside_collaborators/remove-outside-collaborator.html
deleted file mode 100644
index 52adda8f89..0000000000
--- a/cache/api.github.com/v3/orgs/outside_collaborators/remove-outside-collaborator.html
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
- Remove outside collaboratorRemoving a user from this list will remove them from all the organization's repositories.
-DELETE /orgs/:org/outside_collaborators/:username
-
-
-
- ResponseStatus: 204 No Content
-
-
-
- Response if user is a member of the organizationStatus: 422 Unprocessable Entity
-
-{
- "message": "You cannot specify an organization member to remove as an outside collaborator.",
- "documentation_url": "https://developer.github.com/v3/orgs/outside_collaborators/#remove-outside-collaborator"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/outside_collaborators/sections.json b/cache/api.github.com/v3/orgs/outside_collaborators/sections.json
index 456dfb3e29..02bd56acfa 100644
--- a/cache/api.github.com/v3/orgs/outside_collaborators/sections.json
+++ b/cache/api.github.com/v3/orgs/outside_collaborators/sections.json
@@ -1,17 +1,17 @@
[
{
- "id": "list-outside-collaborators",
- "name": "List outside collaborators",
- "url": "https://developer.github.com/v3/orgs/outside_collaborators/#list-outside-collaborators"
+ "id": "list-outside-collaborators-for-an-organization",
+ "name": "List outside collaborators for an organization",
+ "url": "https://developer.github.com/v3/orgs/outside_collaborators/#list-outside-collaborators-for-an-organization"
},
{
- "id": "remove-outside-collaborator",
- "name": "Remove outside collaborator",
- "url": "https://developer.github.com/v3/orgs/outside_collaborators/#remove-outside-collaborator"
+ "id": "remove-outside-collaborator-from-an-organization",
+ "name": "Remove outside collaborator from an organization",
+ "url": "https://developer.github.com/v3/orgs/outside_collaborators/#remove-outside-collaborator-from-an-organization"
},
{
- "id": "convert-member-to-outside-collaborator",
- "name": "Convert member to outside collaborator",
- "url": "https://developer.github.com/v3/orgs/outside_collaborators/#convert-member-to-outside-collaborator"
+ "id": "convert-an-organization-member-to-outside-collaborator",
+ "name": "Convert an organization member to outside collaborator",
+ "url": "https://developer.github.com/v3/orgs/outside_collaborators/#convert-an-organization-member-to-outside-collaborator"
}
]
diff --git a/cache/api.github.com/v3/orgs/remove-a-credential-authorization-for-an-organization.html b/cache/api.github.com/v3/orgs/remove-a-credential-authorization-for-an-organization.html
deleted file mode 100644
index c6ee4c4a46..0000000000
--- a/cache/api.github.com/v3/orgs/remove-a-credential-authorization-for-an-organization.html
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
- Remove a credential authorization for an organization
-
-Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-An authenticated organization owner with the admin:org
scope can remove a credential authorization for an organization that uses SAML SSO. Once you remove someone's credential authorization, they will need to create a new personal access token or SSH key and authorize it for the organization they want to access.
-DELETE /orgs/:org/credential-authorizations/:credential_id
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/remove-a-saml-sso-authorization-for-an-organization.html b/cache/api.github.com/v3/orgs/remove-a-saml-sso-authorization-for-an-organization.html
new file mode 100644
index 0000000000..c5ce1f437f
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/remove-a-saml-sso-authorization-for-an-organization.html
@@ -0,0 +1,15 @@
+
+
+
+ Remove a SAML SSO authorization for an organization
+
+Listing and deleting credential authorizations is available to organizations with GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+An authenticated organization owner with the admin:org
scope can remove a credential authorization for an organization that uses SAML SSO. Once you remove someone's credential authorization, they will need to create a new personal access token or SSH key and authorize it for the organization they want to access.
+DELETE /orgs/:org/credential-authorizations/:credential_id
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/orgs/sections.json b/cache/api.github.com/v3/orgs/sections.json
index 678e9a5c6f..939ef7fa58 100644
--- a/cache/api.github.com/v3/orgs/sections.json
+++ b/cache/api.github.com/v3/orgs/sections.json
@@ -1,23 +1,23 @@
[
{
- "id": "list-your-organizations",
- "name": "List your organizations",
- "url": "https://developer.github.com/v3/orgs/#list-your-organizations"
+ "id": "list-organizations-for-the-authenticated-user",
+ "name": "List organizations for the authenticated user",
+ "url": "https://developer.github.com/v3/orgs/#list-organizations-for-the-authenticated-user"
},
{
- "id": "list-all-organizations",
- "name": "List all organizations",
- "url": "https://developer.github.com/v3/orgs/#list-all-organizations"
+ "id": "list-organizations",
+ "name": "List organizations",
+ "url": "https://developer.github.com/v3/orgs/#list-organizations"
},
{
- "id": "list-user-organizations",
- "name": "List user organizations",
- "url": "https://developer.github.com/v3/orgs/#list-user-organizations"
+ "id": "list-organizations-for-a-user",
+ "name": "List organizations for a user",
+ "url": "https://developer.github.com/v3/orgs/#list-organizations-for-a-user"
},
{
- "id": "list-installations-for-an-organization",
- "name": "List installations for an organization",
- "url": "https://developer.github.com/v3/orgs/#list-installations-for-an-organization"
+ "id": "list-app-installations-for-an-organization",
+ "name": "List app installations for an organization",
+ "url": "https://developer.github.com/v3/orgs/#list-app-installations-for-an-organization"
},
{
"id": "get-an-organization",
@@ -25,18 +25,18 @@
"url": "https://developer.github.com/v3/orgs/#get-an-organization"
},
{
- "id": "edit-an-organization",
- "name": "Edit an organization",
- "url": "https://developer.github.com/v3/orgs/#edit-an-organization"
+ "id": "update-an-organization",
+ "name": "Update an organization",
+ "url": "https://developer.github.com/v3/orgs/#update-an-organization"
},
{
- "id": "list-credential-authorizations-for-an-organization",
- "name": "List credential authorizations for an organization",
- "url": "https://developer.github.com/v3/orgs/#list-credential-authorizations-for-an-organization"
+ "id": "list-saml-sso-authorizations-for-an-organization",
+ "name": "List SAML SSO authorizations for an organization",
+ "url": "https://developer.github.com/v3/orgs/#list-saml-sso-authorizations-for-an-organization"
},
{
- "id": "remove-a-credential-authorization-for-an-organization",
- "name": "Remove a credential authorization for an organization",
- "url": "https://developer.github.com/v3/orgs/#remove-a-credential-authorization-for-an-organization"
+ "id": "remove-a-saml-sso-authorization-for-an-organization",
+ "name": "Remove a SAML SSO authorization for an organization",
+ "url": "https://developer.github.com/v3/orgs/#remove-a-saml-sso-authorization-for-an-organization"
}
]
diff --git a/cache/api.github.com/v3/orgs/update-an-organization.html b/cache/api.github.com/v3/orgs/update-an-organization.html
new file mode 100644
index 0000000000..2985edd427
--- /dev/null
+++ b/cache/api.github.com/v3/orgs/update-an-organization.html
@@ -0,0 +1,185 @@
+
+
+
+ Update an organization
+
+Note: New repository creation permissions are available to preview. You can now use members_can_create_public_repositories
, members_can_create_private_repositories
, and members_can_create_internal_repositories
. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. These parameters provide more granular permissions to configure the type of repositories organization members can create.
+
+To access these new parameters during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.surtur-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+
+
+
+Parameter Deprecation Notice: GitHub will replace and discontinue members_allowed_repository_creation_type
in favor of more granular permissions. The new input parameters are members_can_create_public_repositories
, members_can_create_private_repositories
for all organizations and members_can_create_internal_repositories
for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the blog post.
+
+
+Enables an authenticated organization owner with the admin:org
scope to update the organization's profile and member privileges.
+PATCH /orgs/:org
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+billing_email
+string
+Billing email address. This address is not publicized.
+
+
+company
+string
+The company name.
+
+
+email
+string
+The publicly visible email address.
+
+
+twitter_username
+string
+The Twitter username of the company.
+
+
+location
+string
+The location.
+
+
+name
+string
+The shorthand name of the company.
+
+
+description
+string
+The description of the company.
+
+
+has_organization_projects
+boolean
+Toggles whether an organization can use organization projects.
+
+
+has_repository_projects
+boolean
+Toggles whether repositories that belong to the organization can use repository projects.
+
+
+default_repository_permission
+string
+Default permission level members have for organization repositories:
* read
- can pull, but not push to or administer this repository.
* write
- can pull and push, but not administer this repository.
* admin
- can pull, push, and administer this repository.
* none
- no permissions granted by default.
Default: read
+
+
+
+members_can_create_repositories
+boolean
+Toggles the ability of non-admin organization members to create repositories. Can be one of:
* true
- all organization members can create repositories.
* false
- only organization owners can create repositories.
Default: true
Note: A parameter can override this parameter. See members_allowed_repository_creation_type
in this table for details.
+
+
+members_can_create_internal_repositories
+boolean
+Toggles whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. Can be one of:
* true
- all organization members can create internal repositories.
* false
- only organization owners can create internal repositories.
Default: true
. For more information, see "Restricting repository creation in your organization" in the GitHub Help documentation.
+
+
+members_can_create_private_repositories
+boolean
+Toggles whether organization members can create private repositories, which are visible to organization members with permission. Can be one of:
* true
- all organization members can create private repositories.
* false
- only organization owners can create private repositories.
Default: true
. For more information, see "Restricting repository creation in your organization" in the GitHub Help documentation.
+
+
+members_can_create_public_repositories
+boolean
+Toggles whether organization members can create public repositories, which are visible to anyone. Can be one of:
* true
- all organization members can create public repositories.
* false
- only organization owners can create public repositories.
Default: true
. For more information, see "Restricting repository creation in your organization" in the GitHub Help documentation.
+
+
+members_allowed_repository_creation_type
+string
+Specifies which types of repositories non-admin organization members can create. Can be one of:
* all
- all organization members can create public and private repositories.
* private
- members can create private repositories. This option is only available to repositories that are part of an organization on GitHub Enterprise Cloud.
* none
- only admin members can create repositories.
Note: This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in members_can_create_repositories
. See this note for details.
+
+
+
+
+
+ Example{
+ "billing_email": "support@github.com",
+ "blog": "https://github.com/blog",
+ "company": "GitHub",
+ "email": "support@github.com",
+ "twitter_username": "github",
+ "location": "San Francisco",
+ "name": "github",
+ "description": "GitHub, the company.",
+ "default_repository_permission": "read",
+ "members_can_create_repositories": true,
+ "members_allowed_repository_creation_type": "all"
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization",
+ "name": "github",
+ "company": "GitHub",
+ "blog": "https://github.com/blog",
+ "location": "San Francisco",
+ "email": "octocat@github.com",
+ "twitter_username": "github",
+ "is_verified": true,
+ "has_organization_projects": true,
+ "has_repository_projects": true,
+ "public_repos": 2,
+ "public_gists": 1,
+ "followers": 20,
+ "following": 0,
+ "html_url": "https://github.com/octocat",
+ "created_at": "2008-01-14T04:33:35Z",
+ "type": "Organization",
+ "total_private_repos": 100,
+ "owned_private_repos": 100,
+ "private_gists": 81,
+ "disk_usage": 10000,
+ "collaborators": 8,
+ "billing_email": "support@github.com",
+ "plan": {
+ "name": "Medium",
+ "space": 400,
+ "private_repos": 20
+ },
+ "default_repository_permission": "read",
+ "members_can_create_repositories": true,
+ "two_factor_requirement_enabled": true,
+ "members_allowed_repository_creation_type": "all",
+ "members_can_create_public_repositories": false,
+ "members_can_create_private_repositories": false,
+ "members_can_create_internal_repositories": false
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/previews/index.html b/cache/api.github.com/v3/previews/index.html
index 11f0cab76e..f2792b790c 100644
--- a/cache/api.github.com/v3/previews/index.html
+++ b/cache/api.github.com/v3/previews/index.html
@@ -552,7 +552,7 @@
- Repository creation permissions
You can now configure whether organization members can create repositories and which types of repositories they can create. See "Edit an organization" for more details.
+You can now configure whether organization members can create repositories and which types of repositories they can create. See "Update an organization" for more details.
Custom media types: surtur-preview
Announced: 2019-12-03
diff --git a/cache/api.github.com/v3/previews/repository-creation-permissions.html b/cache/api.github.com/v3/previews/repository-creation-permissions.html
index 8b3cae67b7..6b94024f35 100644
--- a/cache/api.github.com/v3/previews/repository-creation-permissions.html
+++ b/cache/api.github.com/v3/previews/repository-creation-permissions.html
@@ -1,5 +1,5 @@
- Repository creation permissionsYou can now configure whether organization members can create repositories and which types of repositories they can create. See "Edit an organization" for more details.
+You can now configure whether organization members can create repositories and which types of repositories they can create. See "Update an organization" for more details.
Custom media types: surtur-preview
Announced: 2019-12-03
\ No newline at end of file
diff --git a/cache/api.github.com/v3/projects/collaborators/add-project-collaborator.html b/cache/api.github.com/v3/projects/collaborators/add-project-collaborator.html
new file mode 100644
index 0000000000..e458f73aba
--- /dev/null
+++ b/cache/api.github.com/v3/projects/collaborators/add-project-collaborator.html
@@ -0,0 +1,42 @@
+
+
+
+ Add project collaborator
+
+Note: The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.inertia-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project admin
to add a collaborator.
+PUT /projects/:project_id/collaborators/:username
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+permission
+string
+The permission to grant the collaborator. Note that, if you choose not to pass any parameters, you'll need to set Content-Length
to zero when calling out to this endpoint. For more information, see "HTTP verbs." Can be one of:
* read
- can read, but not write to or administer this project.
* write
- can read and write, but not administer this project.
* admin
- can read, write and administer this project.
Default: write
+
+
+
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/projects/collaborators/get-project-permission-for-a-user.html b/cache/api.github.com/v3/projects/collaborators/get-project-permission-for-a-user.html
new file mode 100644
index 0000000000..e0161ce8da
--- /dev/null
+++ b/cache/api.github.com/v3/projects/collaborators/get-project-permission-for-a-user.html
@@ -0,0 +1,47 @@
+
+
+
+ Get project permission for a user
+
+Note: The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.inertia-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Returns the collaborator's permission level for an organization project. Possible values for the permission
key: admin
, write
, read
, none
. You must be an organization owner or a project admin
to review a user's permission level.
+GET /projects/:project_id/collaborators/:username/permission
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "permission": "admin",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/projects/collaborators/index.html b/cache/api.github.com/v3/projects/collaborators/index.html
index 5535f1d94d..493764b36d 100644
--- a/cache/api.github.com/v3/projects/collaborators/index.html
+++ b/cache/api.github.com/v3/projects/collaborators/index.html
@@ -367,16 +367,16 @@
Project collaborators
-- List collaborators
-- Review a user's permission level
-- Add user as a collaborator
-- Remove user as a collaborator
+- List project collaborators
+- Get project permission for a user
+- Add project collaborator
+- Remove project collaborator
This API allows you to interact with an organization's projects.
-
+ List project collaborators
List collaborators
@@ -456,7 +456,7 @@
-
+ Get project permission for a user
Review a user's permission level
@@ -513,7 +513,7 @@
-
+ Add project collaborator
Add user as a collaborator
@@ -531,7 +531,7 @@
-
Adds a collaborator to a an organization project and sets their permission level. You must be an organization owner or a project admin
to add a collaborator.
+Adds a collaborator to an organization project and sets their permission level. You must be an organization owner or a project admin
to add a collaborator.
PUT /projects/:project_id/collaborators/:username
@@ -565,7 +565,7 @@
-
+ Remove project collaborator
Remove user as a collaborator
diff --git a/cache/api.github.com/v3/projects/collaborators/list-project-collaborators.html b/cache/api.github.com/v3/projects/collaborators/list-project-collaborators.html
new file mode 100644
index 0000000000..1843dae87e
--- /dev/null
+++ b/cache/api.github.com/v3/projects/collaborators/list-project-collaborators.html
@@ -0,0 +1,68 @@
+
+
+
+ List project collaborators
+
+Note: The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.inertia-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Lists the collaborators for an organization project. For a project, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.
+ You must be an organization owner or a project admin
to list collaborators.
+GET /projects/:project_id/collaborators
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+affiliation
+string
+Filters the collaborators by their affiliation. Can be one of:
* outside
: Outside collaborators of a project that are not a member of the project's organization.
* direct
: Collaborators with permissions to a project, regardless of organization membership status.
* all
: All collaborators the authenticated user can see.
Default: all
+
+
+
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/projects/collaborators/remove-project-collaborator.html b/cache/api.github.com/v3/projects/collaborators/remove-project-collaborator.html
new file mode 100644
index 0000000000..cd19551985
--- /dev/null
+++ b/cache/api.github.com/v3/projects/collaborators/remove-project-collaborator.html
@@ -0,0 +1,23 @@
+
+
+
+ Remove project collaborator
+
+Note: The Projects API is currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.inertia-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Removes a collaborator from an organization project. You must be an organization owner or a project admin
to remove a collaborator.
+DELETE /projects/:project_id/collaborators/:username
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/projects/collaborators/sections.json b/cache/api.github.com/v3/projects/collaborators/sections.json
index 22b513aea3..772266f536 100644
--- a/cache/api.github.com/v3/projects/collaborators/sections.json
+++ b/cache/api.github.com/v3/projects/collaborators/sections.json
@@ -1,22 +1,22 @@
[
{
- "id": "list-collaborators",
- "name": "List collaborators",
- "url": "https://developer.github.com/v3/projects/collaborators/#list-collaborators"
+ "id": "list-project-collaborators",
+ "name": "List project collaborators",
+ "url": "https://developer.github.com/v3/projects/collaborators/#list-project-collaborators"
},
{
- "id": "review-a-users-permission-level",
- "name": "Review a user's permission level",
- "url": "https://developer.github.com/v3/projects/collaborators/#review-a-users-permission-level"
+ "id": "get-project-permission-for-a-user",
+ "name": "Get project permission for a user",
+ "url": "https://developer.github.com/v3/projects/collaborators/#get-project-permission-for-a-user"
},
{
- "id": "add-user-as-a-collaborator",
- "name": "Add user as a collaborator",
- "url": "https://developer.github.com/v3/projects/collaborators/#add-user-as-a-collaborator"
+ "id": "add-project-collaborator",
+ "name": "Add project collaborator",
+ "url": "https://developer.github.com/v3/projects/collaborators/#add-project-collaborator"
},
{
- "id": "remove-user-as-a-collaborator",
- "name": "Remove user as a collaborator",
- "url": "https://developer.github.com/v3/projects/collaborators/#remove-user-as-a-collaborator"
+ "id": "remove-project-collaborator",
+ "name": "Remove project collaborator",
+ "url": "https://developer.github.com/v3/projects/collaborators/#remove-project-collaborator"
}
]
diff --git a/cache/api.github.com/v3/projects/index.html b/cache/api.github.com/v3/projects/index.html
index af80a7dacb..f7f31564a0 100644
--- a/cache/api.github.com/v3/projects/index.html
+++ b/cache/api.github.com/v3/projects/index.html
@@ -1089,7 +1089,7 @@
organization_permission
string
-The permission level that determines whether all members of the project's organization can see and/or make changes to the project. Setting organization_permission
is only available for organization projects. If an organization member belongs to a team with a higher level of access or is a collaborator with a higher level of access, their permission level is not lowered by organization_permission
. For information on changing access for a team or collaborator, see Add or update team project permissions or Add user as a collaborator.
Note: Updating a project's organization_permission
requires admin
access to the project.
Can be one of:
* read
- Organization members can read, but not write to or administer this project.
* write
- Organization members can read and write, but not administer this project.
* admin
- Organization members can read, write and administer this project.
* none
- Organization members can only see this project if it is public.
+The permission level that determines whether all members of the project's organization can see and/or make changes to the project. Setting organization_permission
is only available for organization projects. If an organization member belongs to a team with a higher level of access or is a collaborator with a higher level of access, their permission level is not lowered by organization_permission
. For information on changing access for a team or collaborator, see Add or update team project permissions or Add project collaborator.
Note: Updating a project's organization_permission
requires admin
access to the project.
Can be one of:
* read
- Organization members can read, but not write to or administer this project.
* write
- Organization members can read and write, but not administer this project.
* admin
- Organization members can read, write and administer this project.
* none
- Organization members can only see this project if it is public.
private
diff --git a/cache/api.github.com/v3/projects/update-a-project.html b/cache/api.github.com/v3/projects/update-a-project.html
index 59d84e76d4..d862a4ecab 100644
--- a/cache/api.github.com/v3/projects/update-a-project.html
+++ b/cache/api.github.com/v3/projects/update-a-project.html
@@ -46,7 +46,7 @@
organization_permission
string
-The permission level that determines whether all members of the project's organization can see and/or make changes to the project. Setting organization_permission
is only available for organization projects. If an organization member belongs to a team with a higher level of access or is a collaborator with a higher level of access, their permission level is not lowered by organization_permission
. For information on changing access for a team or collaborator, see Add or update team project permissions or Add user as a collaborator.
Note: Updating a project's organization_permission
requires admin
access to the project.
Can be one of:
* read
- Organization members can read, but not write to or administer this project.
* write
- Organization members can read and write, but not administer this project.
* admin
- Organization members can read, write and administer this project.
* none
- Organization members can only see this project if it is public.
+The permission level that determines whether all members of the project's organization can see and/or make changes to the project. Setting organization_permission
is only available for organization projects. If an organization member belongs to a team with a higher level of access or is a collaborator with a higher level of access, their permission level is not lowered by organization_permission
. For information on changing access for a team or collaborator, see Add or update team project permissions or Add project collaborator.
Note: Updating a project's organization_permission
requires admin
access to the project.
Can be one of:
* read
- Organization members can read, but not write to or administer this project.
* write
- Organization members can read and write, but not administer this project.
* admin
- Organization members can read, write and administer this project.
* none
- Organization members can only see this project if it is public.
private
diff --git a/cache/api.github.com/v3/pulls/check-if-a-pull-request-has-been-merged.html b/cache/api.github.com/v3/pulls/check-if-a-pull-request-has-been-merged.html
new file mode 100644
index 0000000000..db767992c8
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/check-if-a-pull-request-has-been-merged.html
@@ -0,0 +1,13 @@
+
+
+
+ Check if a pull request has been mergedGET /repos/:owner/:repo/pulls/:pull_number/merge
+
+
+
+ Response if pull request has been mergedStatus: 204 No Content
+
+
+
+ Response if pull request has not been mergedStatus: 404 Not Found
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/comments/create-a-reply-for-a-review-comment.html b/cache/api.github.com/v3/pulls/comments/create-a-reply-for-a-review-comment.html
new file mode 100644
index 0000000000..3d8dc222b1
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/comments/create-a-reply-for-a-review-comment.html
@@ -0,0 +1,93 @@
+
+
+ Create a reply for a review commentCreates a reply to a review comment for a pull request. For the comment_id
, provide the ID of the review comment you are replying to. This must be the ID of a top-level review comment, not a reply to that comment. Replies to replies are not supported.
+This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
+POST /repos/:owner/:repo/pulls/:pull_number/comments/:comment_id/replies
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+body
+string
+
+Required. The text of the review comment.
+
+
+
+
+
+ Example{
+ "body": "Great stuff!"
+}
+
+
+
+ ResponseStatus: 201 Created
+Location: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
+ "id": 10,
+ "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
+ "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
+ "path": "file1.txt",
+ "position": 1,
+ "original_position": 4,
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840",
+ "in_reply_to_id": 426899381,
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Great stuff!",
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1",
+ "author_association": "NONE",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
+ }
+ },
+ "start_line": 1,
+ "original_start_line": 1,
+ "start_side": "RIGHT",
+ "line": 2,
+ "original_line": 2,
+ "side": "RIGHT"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/comments/create-a-review-comment-for-a-pull-request.html b/cache/api.github.com/v3/pulls/comments/create-a-review-comment-for-a-pull-request.html
new file mode 100644
index 0000000000..b4fdd6a9b7
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/comments/create-a-review-comment-for-a-pull-request.html
@@ -0,0 +1,194 @@
+
+
+
+ Create a review comment for a pull request
+
+Note: Multi-line comments on pull requests are currently in public beta and subject to change.
+
+
+
+
+Note: Multi-line comments in a pull request diff is currently available for developers to preview. To access the new response fields during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.comfort-fade-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Creates a review comment in the pull request diff. To add a regular comment to a pull request timeline, see "Create an issue comment." We recommend creating a review comment using line
, side
, and optionally start_line
and start_side
if your comment applies to more than one line in the pull request diff.
+You can still create a review comment using the position
parameter. When you use position
, the line
, side
, start_line
, and start_side
parameters are not required. For more information, see Multi-line comment summary.
+
+
+Note: The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
+
+
+This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
+POST /repos/:owner/:repo/pulls/:pull_number/comments
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+body
+string
+
+Required. The text of the review comment.
+
+
+commit_id
+string
+
+Required. The SHA of the commit needing a comment. Not using the latest commit SHA may render your comment outdated if a subsequent commit modifies the line you specify as the position
.
+
+
+path
+string
+
+Required. The relative path to the file that necessitates a comment.
+
+
+position
+integer
+
+Required without comfort-fade
preview. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note above.
+
+
+side
+string
+
+Required with comfort-fade
preview. In a split diff view, the side of the diff that the pull request's changes appear on. Can be LEFT
or RIGHT
. Use LEFT
for deletions that appear in red. Use RIGHT
for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see "Diff view options" in the GitHub Help documentation.
+
+
+line
+integer
+
+Required with comfort-fade
preview. The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to.
+
+
+start_line
+integer
+
+Required when using multi-line comments. To create multi-line comments, you must use the comfort-fade
preview header. The start_line
is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see "Commenting on a pull request" in the GitHub Help documentation.
+
+
+start_side
+string
+
+Required when using multi-line comments. To create multi-line comments, you must use the comfort-fade
preview header. The start_side
is the starting side of the diff that the comment applies to. Can be LEFT
or RIGHT
. To learn more about multi-line comments, see "Commenting on a pull request" in the GitHub Help documentation. See side
in this table for additional context.
+
+
+
+
+
+ Example for a single-line comment{
+ "body": "Let's add this deleted line back.",
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "path": "file1.txt",
+ "line": 5,
+ "side": "LEFT"
+}
+
+
+
+ Example for a multi-line comment{
+ "body": "Great stuff!",
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "path": "file1.txt",
+ "start_line": 1,
+ "start_side": "RIGHT",
+ "line": 2,
+ "side": "RIGHT"
+}
+
+
+
+ ResponseStatus: 201 Created
+Location: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
+ "id": 10,
+ "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
+ "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
+ "path": "file1.txt",
+ "position": 1,
+ "original_position": 4,
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840",
+ "in_reply_to_id": 8,
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Great stuff!",
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1",
+ "author_association": "NONE",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
+ }
+ },
+ "start_line": 1,
+ "original_start_line": 1,
+ "start_side": "RIGHT",
+ "line": 2,
+ "original_line": 2,
+ "side": "RIGHT"
+}
+
+
+
+ Multi-line comment summary
+
+Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.
+
+
+Use the comfort-fade
preview header and the line
parameter to show multi-line comment-supported fields in the response.
+If you use the comfort-fade
preview header, your response will show:
+
+- For multi-line comments, values for
start_line
, original_start_line
, start_side
, line
, original_line
, and side
.
+- For single-line comments, values for
line
, original_line
, and side
and a null
value for start_line
, original_start_line
, and start_side
.
+
+If you don't use the comfort-fade
preview header, multi-line and single-line comments will appear the same way in the response with a single position
attribute. Your response will show:
+
+- For multi-line comments, the last line of the comment range for the
position
attribute.
+- For single-line comments, the diff-positioned way of referencing comments for the
position
attribute. For more information, see position
in the input parameters table.
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/comments/delete-a-review-comment-for-a-pull-request.html b/cache/api.github.com/v3/pulls/comments/delete-a-review-comment-for-a-pull-request.html
new file mode 100644
index 0000000000..abc1d6041a
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/comments/delete-a-review-comment-for-a-pull-request.html
@@ -0,0 +1,10 @@
+
+
+
+ Delete a review comment for a pull requestDeletes a review comment.
+DELETE /repos/:owner/:repo/pulls/comments/:comment_id
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/comments/get-a-review-comment-for-a-pull-request.html b/cache/api.github.com/v3/pulls/comments/get-a-review-comment-for-a-pull-request.html
new file mode 100644
index 0000000000..dd3903c41c
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/comments/get-a-review-comment-for-a-pull-request.html
@@ -0,0 +1,129 @@
+
+
+
+ Get a review comment for a pull request
+
+Note: Multi-line comments on pull requests are currently in public beta and subject to change.
+
+
+
+
+Note: Multi-line comments in a pull request diff is currently available for developers to preview. To access the new response fields during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.comfort-fade-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Provides details for a review comment.
+GET /repos/:owner/:repo/pulls/comments/:comment_id
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
+ "id": 10,
+ "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
+ "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
+ "path": "file1.txt",
+ "position": 1,
+ "original_position": 4,
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840",
+ "in_reply_to_id": 8,
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Great stuff!",
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1",
+ "author_association": "NONE",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
+ }
+ },
+ "start_line": 1,
+ "original_start_line": 1,
+ "start_side": "RIGHT",
+ "line": 2,
+ "original_line": 2,
+ "side": "RIGHT"
+}
+
+
+
+ Multi-line comment summary
+
+Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.
+
+
+Use the comfort-fade
preview header and the line
parameter to show multi-line comment-supported fields in the response.
+If you use the comfort-fade
preview header, your response will show:
+
+- For multi-line comments, values for
start_line
, original_start_line
, start_side
, line
, original_line
, and side
.
+- For single-line comments, values for
line
, original_line
, and side
and a null
value for start_line
, original_start_line
, and start_side
.
+
+If you don't use the comfort-fade
preview header, multi-line and single-line comments will appear the same way in the response with a single position
attribute. Your response will show:
+
+- For multi-line comments, the last line of the comment range for the
position
attribute.
+- For single-line comments, the diff-positioned way of referencing comments for the
position
attribute. For more information, see position
in the input parameters table.
+
+
+
+ Reactions summary
+
+Note: An additional reactions
object in the review comment payload is currently available for developers to preview.
+During the preview period, the APIs may change without advance notice.
+Please see the blog post for full details.
+
+To access the API you must provide a custom media type in the Accept
header:
+
+application/vnd.github.squirrel-girl-preview
+
+
+
+The reactions
key will have the following payload where url
can be used to construct the API location for listing and creating reactions.
+{
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1/reactions"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/comments/index.html b/cache/api.github.com/v3/pulls/comments/index.html
index 5566d97e0b..c519590f91 100644
--- a/cache/api.github.com/v3/pulls/comments/index.html
+++ b/cache/api.github.com/v3/pulls/comments/index.html
@@ -367,13 +367,13 @@
Review Comments
-- List comments on a pull request
-- List comments in a repository
-- Get a single comment
-- Create a comment
-- Create a review comment reply
-- Edit a comment
-- Delete a comment
+- List review comments on a pull request
+- List review comments in a repository
+- Get a review comment for a pull request
+- Create a review comment for a pull request
+- Create a reply for a review comment
+- Update a review comment for a pull request
+- Delete a review comment for a pull request
- Custom media types
@@ -382,7 +382,7 @@
Pull Request review comments use these custom media types. You can read more about the use of media types in the API here.
-
+ List review comments on a pull request
List comments on a pull request
@@ -406,7 +406,7 @@
-Lists review comments for a pull request. By default, review comments are in ascending order by ID.
+Lists all review comments for a pull request. By default, review comments are in ascending order by ID.
GET /repos/:owner/:repo/pulls/:pull_number/comments
@@ -454,9 +454,9 @@
[
{
"url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
"id": 10,
"node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
- "pull_request_review_id": 42,
"diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
"path": "file1.txt",
"position": 1,
@@ -569,7 +569,7 @@
-
+ List review comments in a repository
List comments in a repository
@@ -641,9 +641,9 @@
[
{
"url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
"id": 10,
"node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
- "pull_request_review_id": 42,
"diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
"path": "file1.txt",
"position": 1,
@@ -756,7 +756,7 @@
-
+ Get a review comment for a pull request
Get a single comment
@@ -794,9 +794,9 @@
{
"url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
"id": 10,
"node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
- "pull_request_review_id": 42,
"diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
"path": "file1.txt",
"position": 1,
@@ -908,7 +908,7 @@
-
+ Create a review comment for a pull request
Create a comment
@@ -1011,28 +1011,30 @@
-
+ Example for a multi-line comment Example for a single-line comment
{
- "path": "test-plan.md",
- "start_line": 1,
- "start_side": "LEFT",
- "line": 3,
- "side": "RIGHT",
- "body": "Can you expand on this?"
- }
+ "body": "Let's add this deleted line back.",
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "path": "file1.txt",
+ "line": 5,
+ "side": "LEFT"
+}
-
+ Example for a single-line comment Example for a multi-line comment
{
- "path": "test-plan.md",
- "line": 5,
- "side": "LEFT",
- "body": "Let's add this deleted line back."
- }
+ "body": "Great stuff!",
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "path": "file1.txt",
+ "start_line": 1,
+ "start_side": "RIGHT",
+ "line": 2,
+ "side": "RIGHT"
+}
@@ -1046,9 +1048,9 @@
{
"url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
"id": 10,
"node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
- "pull_request_review_id": 42,
"diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
"path": "file1.txt",
"position": 1,
@@ -1129,7 +1131,7 @@
-
+ Create a review comment reply Create a reply for a review comment
Creates a reply to a review comment for a pull request. For the comment_id
, provide the ID of the review comment you are replying to. This must be the ID of a top-level review comment, not a reply to that comment. Replies to replies are not supported.
@@ -1172,21 +1174,22 @@
ResponseStatus: 201 Created
-Location: https://api.github.com/repos/octocat/Hello-World/comments/1
+Location: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1
{
- "url": "https://api.github.com/repos/octocat/Hello-World/comments/1",
- "pull_request_review_id": 1,
- "id": 2,
- "node_id": "MDEzOkNvbW1pdENvbW1lbnQx",
- "diff_hunk": "@@ -18,3 +18,5 @@ This is my amazing work.",
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
+ "id": 10,
+ "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
+ "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
"path": "file1.txt",
- "position": 4,
+ "position": 1,
"original_position": 4,
"commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
"original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840",
+ "in_reply_to_id": 426899381,
"user": {
"login": "octocat",
"id": 1,
@@ -1207,9 +1210,9 @@
"type": "User",
"site_admin": false
},
- "body": "I like this too!",
- "created_at": "2019-08-11T16:00:49Z",
- "updated_at": "2019-08-11T16:00:49Z",
+ "body": "Great stuff!",
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z",
"html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1",
"pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1",
"author_association": "NONE",
@@ -1223,13 +1226,19 @@
"pull_request": {
"href": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
}
- }
+ },
+ "start_line": 1,
+ "original_start_line": 1,
+ "start_side": "RIGHT",
+ "line": 2,
+ "original_line": 2,
+ "side": "RIGHT"
}
-
+ Update a review comment for a pull request
Edit a comment
@@ -1297,9 +1306,9 @@
{
"url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
"id": 10,
"node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
- "pull_request_review_id": 42,
"diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
"path": "file1.txt",
"position": 1,
@@ -1380,7 +1389,7 @@
-
+ Delete a review comment for a pull request
Delete a comment
Deletes a review comment.
diff --git a/cache/api.github.com/v3/pulls/comments/list-review-comments-in-a-repository.html b/cache/api.github.com/v3/pulls/comments/list-review-comments-in-a-repository.html
new file mode 100644
index 0000000000..ca20b4dfa5
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/comments/list-review-comments-in-a-repository.html
@@ -0,0 +1,162 @@
+
+
+
+ List review comments in a repository
+
+Note: Multi-line comments on pull requests are currently in public beta and subject to change.
+
+
+
+
+Note: Multi-line comments in a pull request diff is currently available for developers to preview. To access the new response fields during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.comfort-fade-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Lists review comments for all pull requests in a repository. By default, review comments are in ascending order by ID.
+GET /repos/:owner/:repo/pulls/comments
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+sort
+string
+Can be either created
or updated
comments. Default: created
+
+
+
+direction
+string
+Can be either asc
or desc
. Ignored without sort
parameter.
+
+
+since
+string
+This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
. Only returns comments updated
at or after this time.
+
+
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
+ "id": 10,
+ "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
+ "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
+ "path": "file1.txt",
+ "position": 1,
+ "original_position": 4,
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840",
+ "in_reply_to_id": 8,
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Great stuff!",
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1",
+ "author_association": "NONE",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
+ }
+ },
+ "start_line": 1,
+ "original_start_line": 1,
+ "start_side": "RIGHT",
+ "line": 2,
+ "original_line": 2,
+ "side": "RIGHT"
+ }
+]
+
+
+
+ Multi-line comment summary
+
+Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.
+
+
+Use the comfort-fade
preview header and the line
parameter to show multi-line comment-supported fields in the response.
+If you use the comfort-fade
preview header, your response will show:
+
+- For multi-line comments, values for
start_line
, original_start_line
, start_side
, line
, original_line
, and side
.
+- For single-line comments, values for
line
, original_line
, and side
and a null
value for start_line
, original_start_line
, and start_side
.
+
+If you don't use the comfort-fade
preview header, multi-line and single-line comments will appear the same way in the response with a single position
attribute. Your response will show:
+
+- For multi-line comments, the last line of the comment range for the
position
attribute.
+- For single-line comments, the diff-positioned way of referencing comments for the
position
attribute. For more information, see position
in the input parameters table.
+
+
+
+ Reactions summary
+
+Note: An additional reactions
object in the review comment payload is currently available for developers to preview.
+During the preview period, the APIs may change without advance notice.
+Please see the blog post for full details.
+
+To access the API you must provide a custom media type in the Accept
header:
+
+application/vnd.github.squirrel-girl-preview
+
+
+
+The reactions
key will have the following payload where url
can be used to construct the API location for listing and creating reactions.
+{
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1/reactions"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/comments/list-review-comments-on-a-pull-request.html b/cache/api.github.com/v3/pulls/comments/list-review-comments-on-a-pull-request.html
new file mode 100644
index 0000000000..c907c47680
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/comments/list-review-comments-on-a-pull-request.html
@@ -0,0 +1,162 @@
+
+
+
+ List review comments on a pull request
+
+Note: Multi-line comments on pull requests are currently in public beta and subject to change.
+
+
+
+
+Note: Multi-line comments in a pull request diff is currently available for developers to preview. To access the new response fields during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.comfort-fade-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Lists all review comments for a pull request. By default, review comments are in ascending order by ID.
+GET /repos/:owner/:repo/pulls/:pull_number/comments
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+sort
+string
+Can be either created
or updated
comments. Default: created
+
+
+
+direction
+string
+Can be either asc
or desc
. Ignored without sort
parameter.
+
+
+since
+string
+This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
. Only returns comments updated
at or after this time.
+
+
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
+ "id": 10,
+ "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
+ "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
+ "path": "file1.txt",
+ "position": 1,
+ "original_position": 4,
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840",
+ "in_reply_to_id": 8,
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Great stuff!",
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1",
+ "author_association": "NONE",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
+ }
+ },
+ "start_line": 1,
+ "original_start_line": 1,
+ "start_side": "RIGHT",
+ "line": 2,
+ "original_line": 2,
+ "side": "RIGHT"
+ }
+]
+
+
+
+ Multi-line comment summary
+
+Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.
+
+
+Use the comfort-fade
preview header and the line
parameter to show multi-line comment-supported fields in the response.
+If you use the comfort-fade
preview header, your response will show:
+
+- For multi-line comments, values for
start_line
, original_start_line
, start_side
, line
, original_line
, and side
.
+- For single-line comments, values for
line
, original_line
, and side
and a null
value for start_line
, original_start_line
, and start_side
.
+
+If you don't use the comfort-fade
preview header, multi-line and single-line comments will appear the same way in the response with a single position
attribute. Your response will show:
+
+- For multi-line comments, the last line of the comment range for the
position
attribute.
+- For single-line comments, the diff-positioned way of referencing comments for the
position
attribute. For more information, see position
in the input parameters table.
+
+
+
+ Reactions summary
+
+Note: An additional reactions
object in the review comment payload is currently available for developers to preview.
+During the preview period, the APIs may change without advance notice.
+Please see the blog post for full details.
+
+To access the API you must provide a custom media type in the Accept
header:
+
+application/vnd.github.squirrel-girl-preview
+
+
+
+The reactions
key will have the following payload where url
can be used to construct the API location for listing and creating reactions.
+{
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1/reactions"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/comments/sections.json b/cache/api.github.com/v3/pulls/comments/sections.json
index 4f025538df..01d6032522 100644
--- a/cache/api.github.com/v3/pulls/comments/sections.json
+++ b/cache/api.github.com/v3/pulls/comments/sections.json
@@ -1,38 +1,38 @@
[
{
- "id": "list-comments-on-a-pull-request",
- "name": "List comments on a pull request",
- "url": "https://developer.github.com/v3/pulls/comments/#list-comments-on-a-pull-request"
+ "id": "list-review-comments-on-a-pull-request",
+ "name": "List review comments on a pull request",
+ "url": "https://developer.github.com/v3/pulls/comments/#list-review-comments-on-a-pull-request"
},
{
- "id": "list-comments-in-a-repository",
- "name": "List comments in a repository",
- "url": "https://developer.github.com/v3/pulls/comments/#list-comments-in-a-repository"
+ "id": "list-review-comments-in-a-repository",
+ "name": "List review comments in a repository",
+ "url": "https://developer.github.com/v3/pulls/comments/#list-review-comments-in-a-repository"
},
{
- "id": "get-a-single-comment",
- "name": "Get a single comment",
- "url": "https://developer.github.com/v3/pulls/comments/#get-a-single-comment"
+ "id": "get-a-review-comment-for-a-pull-request",
+ "name": "Get a review comment for a pull request",
+ "url": "https://developer.github.com/v3/pulls/comments/#get-a-review-comment-for-a-pull-request"
},
{
- "id": "create-a-comment",
- "name": "Create a comment",
- "url": "https://developer.github.com/v3/pulls/comments/#create-a-comment"
+ "id": "create-a-review-comment-for-a-pull-request",
+ "name": "Create a review comment for a pull request",
+ "url": "https://developer.github.com/v3/pulls/comments/#create-a-review-comment-for-a-pull-request"
},
{
- "id": "create-a-review-comment-reply",
- "name": "Create a review comment reply",
- "url": "https://developer.github.com/v3/pulls/comments/#create-a-review-comment-reply"
+ "id": "create-a-reply-for-a-review-comment",
+ "name": "Create a reply for a review comment",
+ "url": "https://developer.github.com/v3/pulls/comments/#create-a-reply-for-a-review-comment"
},
{
- "id": "edit-a-comment",
- "name": "Edit a comment",
- "url": "https://developer.github.com/v3/pulls/comments/#edit-a-comment"
+ "id": "update-a-review-comment-for-a-pull-request",
+ "name": "Update a review comment for a pull request",
+ "url": "https://developer.github.com/v3/pulls/comments/#update-a-review-comment-for-a-pull-request"
},
{
- "id": "delete-a-comment",
- "name": "Delete a comment",
- "url": "https://developer.github.com/v3/pulls/comments/#delete-a-comment"
+ "id": "delete-a-review-comment-for-a-pull-request",
+ "name": "Delete a review comment for a pull request",
+ "url": "https://developer.github.com/v3/pulls/comments/#delete-a-review-comment-for-a-pull-request"
},
{
"id": "custom-media-types",
diff --git a/cache/api.github.com/v3/pulls/comments/update-a-review-comment-for-a-pull-request.html b/cache/api.github.com/v3/pulls/comments/update-a-review-comment-for-a-pull-request.html
new file mode 100644
index 0000000000..ab13e40bec
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/comments/update-a-review-comment-for-a-pull-request.html
@@ -0,0 +1,128 @@
+
+
+
+ Update a review comment for a pull request
+
+Note: Multi-line comments on pull requests are currently in public beta and subject to change.
+
+
+
+
+Note: Multi-line comments in a pull request diff is currently available for developers to preview. To access the new response fields during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.comfort-fade-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Enables you to edit a review comment.
+PATCH /repos/:owner/:repo/pulls/comments/:comment_id
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+body
+string
+
+Required. The text of the reply to the review comment.
+
+
+
+
+
+ Example{
+ "body": "I like this too!"
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
+ "id": 10,
+ "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
+ "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
+ "path": "file1.txt",
+ "position": 1,
+ "original_position": 4,
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840",
+ "in_reply_to_id": 8,
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Great stuff!",
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1",
+ "author_association": "NONE",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
+ }
+ },
+ "start_line": 1,
+ "original_start_line": 1,
+ "start_side": "RIGHT",
+ "line": 2,
+ "original_line": 2,
+ "side": "RIGHT"
+}
+
+
+
+ Multi-line comment summary
+
+Note: New parameters and response fields are available for developers to preview. During the preview period, these response fields may change without advance notice. Please see the blog post for full details.
+
+
+Use the comfort-fade
preview header and the line
parameter to show multi-line comment-supported fields in the response.
+If you use the comfort-fade
preview header, your response will show:
+
+- For multi-line comments, values for
start_line
, original_start_line
, start_side
, line
, original_line
, and side
.
+- For single-line comments, values for
line
, original_line
, and side
and a null
value for start_line
, original_start_line
, and start_side
.
+
+If you don't use the comfort-fade
preview header, multi-line and single-line comments will appear the same way in the response with a single position
attribute. Your response will show:
+
+- For multi-line comments, the last line of the comment range for the
position
attribute.
+- For single-line comments, the diff-positioned way of referencing comments for the
position
attribute. For more information, see position
in the input parameters table.
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/get-a-pull-request.html b/cache/api.github.com/v3/pulls/get-a-pull-request.html
new file mode 100644
index 0000000000..19a0eec4bc
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/get-a-pull-request.html
@@ -0,0 +1,559 @@
+
+
+
+ Get a pull request
+Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+
+
+Note: You can now use the REST API to add a reason when you lock an issue, and you will see lock reasons in responses that include issues or pull requests. You will also see lock reasons in locked
events. This feature is currently available for developers to preview. See the blog post for full details. To access this feature, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.sailor-v-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Lists details of a pull request by providing its number.
+GET /repos/:owner/:repo/pulls/:pull_number
+
+
+
+ ResponseWhen you get, create, or edit a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the mergeable
key. For more information, see "Checking mergeability of pull requests".
+The value of the mergeable
attribute can be true
, false
, or null
. If the value is null
, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-null
value for the mergeable
attribute in the response. If mergeable
is true
, then merge_commit_sha
will be the SHA of the test merge commit.
+The value of the merge_commit_sha
attribute changes depending on the state of the pull request. Before merging a pull request, the merge_commit_sha
attribute holds the SHA of the test merge commit. After merging a pull request, the merge_commit_sha
attribute changes depending on how you merged the pull request:
+
+- If merged as a merge commit,
merge_commit_sha
represents the SHA of the merge commit.
+- If merged via a squash,
merge_commit_sha
represents the SHA of the squashed commit on the base branch.
+- If rebased,
merge_commit_sha
represents the commit that the base branch was updated to.
+
+Pass the appropriate media type to fetch diff and patch formats.
+Status: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347",
+ "id": 1,
+ "node_id": "MDExOlB1bGxSZXF1ZXN0MQ==",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1347",
+ "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff",
+ "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch",
+ "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347",
+ "commits_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits",
+ "review_comments_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments",
+ "review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}",
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments",
+ "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "number": 1347,
+ "state": "open",
+ "locked": true,
+ "title": "Amazing new feature",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Please pull these awesome changes in!",
+ "labels": [
+ {
+ "id": 208045946,
+ "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=",
+ "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
+ "name": "bug",
+ "description": "Something isn't working",
+ "color": "f29513",
+ "default": true
+ }
+ ],
+ "milestone": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1",
+ "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0",
+ "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels",
+ "id": 1002604,
+ "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==",
+ "number": 1,
+ "state": "open",
+ "title": "v1.0",
+ "description": "Tracking milestone for version 1.0",
+ "creator": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "open_issues": 4,
+ "closed_issues": 8,
+ "created_at": "2011-04-10T20:09:31Z",
+ "updated_at": "2014-03-03T18:58:10Z",
+ "closed_at": "2013-02-12T13:22:01Z",
+ "due_on": "2012-10-09T23:39:01Z"
+ },
+ "active_lock_reason": "too heated",
+ "created_at": "2011-01-26T19:01:12Z",
+ "updated_at": "2011-01-26T19:01:12Z",
+ "closed_at": "2011-01-26T19:01:12Z",
+ "merged_at": "2011-01-26T19:01:12Z",
+ "merge_commit_sha": "e5bd3914e2e596debea16f433f57875b5b90bcd6",
+ "assignee": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "assignees": [
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ {
+ "login": "hubot",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/hubot_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/hubot",
+ "html_url": "https://github.com/hubot",
+ "followers_url": "https://api.github.com/users/hubot/followers",
+ "following_url": "https://api.github.com/users/hubot/following{/other_user}",
+ "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/hubot/subscriptions",
+ "organizations_url": "https://api.github.com/users/hubot/orgs",
+ "repos_url": "https://api.github.com/users/hubot/repos",
+ "events_url": "https://api.github.com/users/hubot/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/hubot/received_events",
+ "type": "User",
+ "site_admin": true
+ }
+ ],
+ "requested_reviewers": [
+ {
+ "login": "other_user",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/other_user_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/other_user",
+ "html_url": "https://github.com/other_user",
+ "followers_url": "https://api.github.com/users/other_user/followers",
+ "following_url": "https://api.github.com/users/other_user/following{/other_user}",
+ "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/other_user/subscriptions",
+ "organizations_url": "https://api.github.com/users/other_user/orgs",
+ "repos_url": "https://api.github.com/users/other_user/repos",
+ "events_url": "https://api.github.com/users/other_user/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/other_user/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ ],
+ "requested_teams": [
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+ ],
+ "head": {
+ "label": "octocat:new-topic",
+ "ref": "new-topic",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "repo": {
+ "id": 1296269,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
+ "name": "Hello-World",
+ "full_name": "octocat/Hello-World",
+ "owner": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/octocat/Hello-World",
+ "description": "This your first repo!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octocat/Hello-World",
+ "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
+ "clone_url": "https://github.com/octocat/Hello-World.git",
+ "mirror_url": "git:git.example.com/octocat/Hello-World",
+ "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks",
+ "svn_url": "https://svn.github.com/octocat/Hello-World",
+ "homepage": "https://github.com",
+ "language": null,
+ "forks_count": 9,
+ "stargazers_count": 80,
+ "watchers_count": 80,
+ "size": 108,
+ "default_branch": "master",
+ "open_issues_count": 0,
+ "is_template": true,
+ "topics": [
+ "octocat",
+ "atom",
+ "electron",
+ "api"
+ ],
+ "has_issues": true,
+ "has_projects": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "has_downloads": true,
+ "archived": false,
+ "disabled": false,
+ "visibility": "public",
+ "pushed_at": "2011-01-26T19:06:43Z",
+ "created_at": "2011-01-26T19:01:12Z",
+ "updated_at": "2011-01-26T19:14:43Z",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "allow_rebase_merge": true,
+ "template_repository": null,
+ "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
+ "allow_squash_merge": true,
+ "allow_merge_commit": true,
+ "subscribers_count": 42,
+ "network_count": 0
+ }
+ },
+ "base": {
+ "label": "octocat:master",
+ "ref": "master",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "repo": {
+ "id": 1296269,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
+ "name": "Hello-World",
+ "full_name": "octocat/Hello-World",
+ "owner": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/octocat/Hello-World",
+ "description": "This your first repo!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octocat/Hello-World",
+ "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
+ "clone_url": "https://github.com/octocat/Hello-World.git",
+ "mirror_url": "git:git.example.com/octocat/Hello-World",
+ "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks",
+ "svn_url": "https://svn.github.com/octocat/Hello-World",
+ "homepage": "https://github.com",
+ "language": null,
+ "forks_count": 9,
+ "stargazers_count": 80,
+ "watchers_count": 80,
+ "size": 108,
+ "default_branch": "master",
+ "open_issues_count": 0,
+ "is_template": true,
+ "topics": [
+ "octocat",
+ "atom",
+ "electron",
+ "api"
+ ],
+ "has_issues": true,
+ "has_projects": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "has_downloads": true,
+ "archived": false,
+ "disabled": false,
+ "visibility": "public",
+ "pushed_at": "2011-01-26T19:06:43Z",
+ "created_at": "2011-01-26T19:01:12Z",
+ "updated_at": "2011-01-26T19:14:43Z",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "allow_rebase_merge": true,
+ "template_repository": null,
+ "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
+ "allow_squash_merge": true,
+ "allow_merge_commit": true,
+ "subscribers_count": 42,
+ "network_count": 0
+ }
+ },
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1347"
+ },
+ "issue": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347"
+ },
+ "comments": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments"
+ },
+ "review_comments": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments"
+ },
+ "review_comment": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}"
+ },
+ "commits": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits"
+ },
+ "statuses": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ }
+ },
+ "author_association": "OWNER",
+ "draft": false,
+ "merged": false,
+ "mergeable": true,
+ "rebaseable": true,
+ "mergeable_state": "clean",
+ "merged_by": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "comments": 10,
+ "review_comments": 0,
+ "maintainer_can_modify": true,
+ "commits": 3,
+ "additions": 100,
+ "deletions": 3,
+ "changed_files": 5
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/index.html b/cache/api.github.com/v3/pulls/index.html
index 374ba99e63..50da303372 100644
--- a/cache/api.github.com/v3/pulls/index.html
+++ b/cache/api.github.com/v3/pulls/index.html
@@ -369,14 +369,14 @@
- Link Relations
- List pull requests
-- Get a single pull request
+- Get a pull request
- Create a pull request
- Update a pull request branch
- Update a pull request
- List commits on a pull request
- List pull requests files
-- Get if a pull request has been merged
-- Merge a pull request (Merge Button)
+- Check if a pull request has been merged
+- Merge a pull request
- Labels, assignees, and milestones
- Custom media types
@@ -1017,7 +1017,7 @@
-
+ Get a pull request
Get a single pull request
@@ -2255,7 +2255,7 @@
expected_head_sha
string
-The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a 422 Unprocessable Entity
status. You can use the "List commits on a repository" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref.
+The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a 422 Unprocessable Entity
status. You can use the "List commits" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref.
@@ -2900,7 +2900,7 @@
- List commits on a pull request
Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the Commit List API.
+Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the List commits endpoint.
GET /repos/:owner/:repo/pulls/:pull_number/commits
@@ -3037,7 +3037,7 @@
-
+ Check if a pull request has been merged
Get if a pull request has been mergedGET /repos/:owner/:repo/pulls/:pull_number/merge
@@ -3058,7 +3058,7 @@
-
+ Merge a pull request
Merge a pull request (Merge Button)
This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
diff --git a/cache/api.github.com/v3/pulls/list-commits-on-a-pull-request.html b/cache/api.github.com/v3/pulls/list-commits-on-a-pull-request.html
index e883f1f31f..a6ec8b6aa0 100644
--- a/cache/api.github.com/v3/pulls/list-commits-on-a-pull-request.html
+++ b/cache/api.github.com/v3/pulls/list-commits-on-a-pull-request.html
@@ -1,7 +1,7 @@
- List commits on a pull requestLists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the Commit List API.
+Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the List commits endpoint.
GET /repos/:owner/:repo/pulls/:pull_number/commits
diff --git a/cache/api.github.com/v3/pulls/merge-a-pull-request.html b/cache/api.github.com/v3/pulls/merge-a-pull-request.html
new file mode 100644
index 0000000000..b7ae640673
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/merge-a-pull-request.html
@@ -0,0 +1,67 @@
+
+
+
+ Merge a pull request
This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
+PUT /repos/:owner/:repo/pulls/:pull_number/merge
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+commit_title
+string
+Title for the automatic commit message.
+
+
+commit_message
+string
+Extra detail to append to automatic commit message.
+
+
+sha
+string
+SHA that pull request head must match to allow merge.
+
+
+merge_method
+string
+Merge method to use. Possible values are merge
, squash
or rebase
. Default is merge
.
+
+
+
+
+
+ Response if merge was successfulStatus: 200 OK
+
+{
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "merged": true,
+ "message": "Pull Request successfully merged"
+}
+
+
+
+ Response if merge cannot be performedStatus: 405 Method not allowed
+
+{
+ "message": "Pull Request is not mergeable",
+ "documentation_url": "https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button"
+}
+
+
+
+ Response if sha was provided and pull request head did not matchStatus: 409 Conflict
+
+{
+ "message": "Head branch was modified. Review and try the merge again.",
+ "documentation_url": "https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/review_requests/index.html b/cache/api.github.com/v3/pulls/review_requests/index.html
index 6e8520540b..cc63df4523 100644
--- a/cache/api.github.com/v3/pulls/review_requests/index.html
+++ b/cache/api.github.com/v3/pulls/review_requests/index.html
@@ -367,15 +367,15 @@
Review Requests
-- List review requests
-- Create a review request
-- Delete a review request
+- List requested reviewers for a pull request
+- Request reviewers for a pull request
+- Remove requested reviewers from a pull request
Pull request authors and repository owners and collaborators can request a pull request review from anyone with write access to the repository. Each requested reviewer will receive a notification asking them to review the pull request.
-
+ List requested reviewers for a pull request
List review requestsGET /repos/:owner/:repo/pulls/:pull_number/requested_reviewers
@@ -434,7 +434,7 @@
-
+ Request reviewers for a pull request
Create a review request
This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
@@ -1034,7 +1034,7 @@
-
+ Remove requested reviewers from a pull request
Delete a review requestDELETE /repos/:owner/:repo/pulls/:pull_number/requested_reviewers
diff --git a/cache/api.github.com/v3/pulls/review_requests/list-requested-reviewers-for-a-pull-request.html b/cache/api.github.com/v3/pulls/review_requests/list-requested-reviewers-for-a-pull-request.html
new file mode 100644
index 0000000000..5f6c6e5707
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/review_requests/list-requested-reviewers-for-a-pull-request.html
@@ -0,0 +1,52 @@
+
+
+
+ List requested reviewers for a pull requestGET /repos/:owner/:repo/pulls/:pull_number/requested_reviewers
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+{
+ "users": [
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ ],
+ "teams": [
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+ ]
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/review_requests/remove-requested-reviewers-from-a-pull-request.html b/cache/api.github.com/v3/pulls/review_requests/remove-requested-reviewers-from-a-pull-request.html
new file mode 100644
index 0000000000..de92eef3ae
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/review_requests/remove-requested-reviewers-from-a-pull-request.html
@@ -0,0 +1,47 @@
+
+
+
+ Remove requested reviewers from a pull requestDELETE /repos/:owner/:repo/pulls/:pull_number/requested_reviewers
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+reviewers
+
+array
of string
s
+An array of user login
s that will be removed.
+
+
+team_reviewers
+
+array
of string
s
+An array of team slug
s that will be removed.
+
+
+
+
+
+ Example{
+ "reviewers": [
+ "octocat",
+ "hubot",
+ "other_user"
+ ],
+ "team_reviewers": [
+ "justice-league"
+ ]
+}
+
+
+
+ ResponseStatus: 200 OK
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/review_requests/request-reviewers-for-a-pull-request.html b/cache/api.github.com/v3/pulls/review_requests/request-reviewers-for-a-pull-request.html
new file mode 100644
index 0000000000..712f2fe5bb
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/review_requests/request-reviewers-for-a-pull-request.html
@@ -0,0 +1,584 @@
+
+
+
+ Request reviewers for a pull requestThis endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
+POST /repos/:owner/:repo/pulls/:pull_number/requested_reviewers
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+reviewers
+
+array
of string
s
+An array of user login
s that will be requested.
+
+
+team_reviewers
+
+array
of string
s
+An array of team slug
s that will be requested.
+
+
+
+
+
+ Example{
+ "reviewers": [
+ "octocat",
+ "hubot",
+ "other_user"
+ ],
+ "team_reviewers": [
+ "justice-league"
+ ]
+}
+
+
+
+ Response if user is not a collaboratorStatus: 422 Unprocessable Entity
+
+
+
+ ResponseStatus: 201 Created
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347",
+ "id": 1,
+ "node_id": "MDExOlB1bGxSZXF1ZXN0MQ==",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1347",
+ "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff",
+ "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch",
+ "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347",
+ "commits_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits",
+ "review_comments_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments",
+ "review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}",
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments",
+ "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "number": 1347,
+ "state": "open",
+ "locked": true,
+ "title": "Amazing new feature",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Please pull these awesome changes in!",
+ "labels": [
+ {
+ "id": 208045946,
+ "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=",
+ "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
+ "name": "bug",
+ "description": "Something isn't working",
+ "color": "f29513",
+ "default": true
+ }
+ ],
+ "milestone": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1",
+ "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0",
+ "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels",
+ "id": 1002604,
+ "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==",
+ "number": 1,
+ "state": "open",
+ "title": "v1.0",
+ "description": "Tracking milestone for version 1.0",
+ "creator": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "open_issues": 4,
+ "closed_issues": 8,
+ "created_at": "2011-04-10T20:09:31Z",
+ "updated_at": "2014-03-03T18:58:10Z",
+ "closed_at": "2013-02-12T13:22:01Z",
+ "due_on": "2012-10-09T23:39:01Z"
+ },
+ "active_lock_reason": "too heated",
+ "created_at": "2011-01-26T19:01:12Z",
+ "updated_at": "2011-01-26T19:01:12Z",
+ "closed_at": "2011-01-26T19:01:12Z",
+ "merged_at": "2011-01-26T19:01:12Z",
+ "merge_commit_sha": "e5bd3914e2e596debea16f433f57875b5b90bcd6",
+ "assignee": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "assignees": [
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ {
+ "login": "hubot",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/hubot_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/hubot",
+ "html_url": "https://github.com/hubot",
+ "followers_url": "https://api.github.com/users/hubot/followers",
+ "following_url": "https://api.github.com/users/hubot/following{/other_user}",
+ "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/hubot/subscriptions",
+ "organizations_url": "https://api.github.com/users/hubot/orgs",
+ "repos_url": "https://api.github.com/users/hubot/repos",
+ "events_url": "https://api.github.com/users/hubot/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/hubot/received_events",
+ "type": "User",
+ "site_admin": true
+ }
+ ],
+ "requested_reviewers": [
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ {
+ "login": "hubot",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/hubot_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/hubot",
+ "html_url": "https://github.com/hubot",
+ "followers_url": "https://api.github.com/users/hubot/followers",
+ "following_url": "https://api.github.com/users/hubot/following{/other_user}",
+ "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/hubot/subscriptions",
+ "organizations_url": "https://api.github.com/users/hubot/orgs",
+ "repos_url": "https://api.github.com/users/hubot/repos",
+ "events_url": "https://api.github.com/users/hubot/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/hubot/received_events",
+ "type": "User",
+ "site_admin": true
+ },
+ {
+ "login": "other_user",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/other_user_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/other_user",
+ "html_url": "https://github.com/other_user",
+ "followers_url": "https://api.github.com/users/other_user/followers",
+ "following_url": "https://api.github.com/users/other_user/following{/other_user}",
+ "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/other_user/subscriptions",
+ "organizations_url": "https://api.github.com/users/other_user/orgs",
+ "repos_url": "https://api.github.com/users/other_user/repos",
+ "events_url": "https://api.github.com/users/other_user/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/other_user/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ ],
+ "requested_teams": [
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+ ],
+ "head": {
+ "label": "octocat:new-topic",
+ "ref": "new-topic",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "repo": {
+ "id": 1296269,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
+ "name": "Hello-World",
+ "full_name": "octocat/Hello-World",
+ "owner": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/octocat/Hello-World",
+ "description": "This your first repo!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octocat/Hello-World",
+ "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
+ "clone_url": "https://github.com/octocat/Hello-World.git",
+ "mirror_url": "git:git.example.com/octocat/Hello-World",
+ "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks",
+ "svn_url": "https://svn.github.com/octocat/Hello-World",
+ "homepage": "https://github.com",
+ "language": null,
+ "forks_count": 9,
+ "stargazers_count": 80,
+ "watchers_count": 80,
+ "size": 108,
+ "default_branch": "master",
+ "open_issues_count": 0,
+ "is_template": true,
+ "topics": [
+ "octocat",
+ "atom",
+ "electron",
+ "api"
+ ],
+ "has_issues": true,
+ "has_projects": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "has_downloads": true,
+ "archived": false,
+ "disabled": false,
+ "visibility": "public",
+ "pushed_at": "2011-01-26T19:06:43Z",
+ "created_at": "2011-01-26T19:01:12Z",
+ "updated_at": "2011-01-26T19:14:43Z",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "allow_rebase_merge": true,
+ "template_repository": null,
+ "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
+ "allow_squash_merge": true,
+ "allow_merge_commit": true,
+ "subscribers_count": 42,
+ "network_count": 0
+ }
+ },
+ "base": {
+ "label": "octocat:master",
+ "ref": "master",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "repo": {
+ "id": 1296269,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
+ "name": "Hello-World",
+ "full_name": "octocat/Hello-World",
+ "owner": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/octocat/Hello-World",
+ "description": "This your first repo!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octocat/Hello-World",
+ "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
+ "clone_url": "https://github.com/octocat/Hello-World.git",
+ "mirror_url": "git:git.example.com/octocat/Hello-World",
+ "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks",
+ "svn_url": "https://svn.github.com/octocat/Hello-World",
+ "homepage": "https://github.com",
+ "language": null,
+ "forks_count": 9,
+ "stargazers_count": 80,
+ "watchers_count": 80,
+ "size": 108,
+ "default_branch": "master",
+ "open_issues_count": 0,
+ "is_template": true,
+ "topics": [
+ "octocat",
+ "atom",
+ "electron",
+ "api"
+ ],
+ "has_issues": true,
+ "has_projects": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "has_downloads": true,
+ "archived": false,
+ "disabled": false,
+ "visibility": "public",
+ "pushed_at": "2011-01-26T19:06:43Z",
+ "created_at": "2011-01-26T19:01:12Z",
+ "updated_at": "2011-01-26T19:14:43Z",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "allow_rebase_merge": true,
+ "template_repository": null,
+ "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
+ "allow_squash_merge": true,
+ "allow_merge_commit": true,
+ "subscribers_count": 42,
+ "network_count": 0
+ }
+ },
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1347"
+ },
+ "issue": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347"
+ },
+ "comments": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments"
+ },
+ "review_comments": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments"
+ },
+ "review_comment": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}"
+ },
+ "commits": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits"
+ },
+ "statuses": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ }
+ },
+ "author_association": "OWNER",
+ "draft": false
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/review_requests/sections.json b/cache/api.github.com/v3/pulls/review_requests/sections.json
index fe86a46149..044095183c 100644
--- a/cache/api.github.com/v3/pulls/review_requests/sections.json
+++ b/cache/api.github.com/v3/pulls/review_requests/sections.json
@@ -1,17 +1,17 @@
[
{
- "id": "list-review-requests",
- "name": "List review requests",
- "url": "https://developer.github.com/v3/pulls/review_requests/#list-review-requests"
+ "id": "list-requested-reviewers-for-a-pull-request",
+ "name": "List requested reviewers for a pull request",
+ "url": "https://developer.github.com/v3/pulls/review_requests/#list-requested-reviewers-for-a-pull-request"
},
{
- "id": "create-a-review-request",
- "name": "Create a review request",
- "url": "https://developer.github.com/v3/pulls/review_requests/#create-a-review-request"
+ "id": "request-reviewers-for-a-pull-request",
+ "name": "Request reviewers for a pull request",
+ "url": "https://developer.github.com/v3/pulls/review_requests/#request-reviewers-for-a-pull-request"
},
{
- "id": "delete-a-review-request",
- "name": "Delete a review request",
- "url": "https://developer.github.com/v3/pulls/review_requests/#delete-a-review-request"
+ "id": "remove-requested-reviewers-from-a-pull-request",
+ "name": "Remove requested reviewers from a pull request",
+ "url": "https://developer.github.com/v3/pulls/review_requests/#remove-requested-reviewers-from-a-pull-request"
}
]
diff --git a/cache/api.github.com/v3/pulls/reviews/create-a-review-for-a-pull-request.html b/cache/api.github.com/v3/pulls/reviews/create-a-review-for-a-pull-request.html
new file mode 100644
index 0000000000..bfd042fa0c
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/reviews/create-a-review-for-a-pull-request.html
@@ -0,0 +1,139 @@
+
+
+
+ Create a review for a pull requestThis endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
+Pull request reviews created in the PENDING
state do not include the submitted_at
property in the response.
+POST /repos/:owner/:repo/pulls/:pull_number/reviews
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+commit_id
+string
+The SHA of the commit that needs a review. Not using the latest commit SHA may render your review comment outdated if a subsequent commit modifies the line you specify as the position
. Defaults to the most recent commit in the pull request when you do not specify a value.
+
+
+body
+string
+
+Required when using REQUEST_CHANGES
or COMMENT
for the event
parameter. The body text of the pull request review.
+
+
+event
+string
+The review action you want to perform. The review actions include: APPROVE
, REQUEST_CHANGES
, or COMMENT
. By leaving this blank, you set the review action state to PENDING
, which means you will need to submit the pull request review when you are ready.
+
+
+comments
+
+array
of draft review comment objects
+
+Use the following table to specify the location, destination, and contents of the draft review comment.
+
+
+
+When specifying draft review comments
, you need to include the following values:
+
+
+
+Name
+Type
+Description
+
+
+
+
+path
+string
+
+Required. The relative path to the file that necessitates a review comment.
+
+
+position
+integer
+
+Required. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note below.
+
+
+body
+string
+
+Required. Text of the review comment.
+
+
+
+
+
+Note:
+To comment on a specific line in a file, you need to first determine the position of that line in the diff. The GitHub REST API v3 offers the application/vnd.github.v3.diff
media type. To see a pull request diff, add this media type to the Accept
header of a call to the single pull request endpoint.
+
+The position
value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
+
+
+
+
+ Example{
+ "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091",
+ "body": "This is close to perfect! Please address the suggested inline change.",
+ "event": "REQUEST_CHANGES",
+ "comments": [
+ {
+ "path": "file.md",
+ "position": 6,
+ "body": "Please add more information here, and fix this typo."
+ }
+ ]
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "id": 80,
+ "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "This is close to perfect! Please address the suggested inline change.",
+ "state": "CHANGES_REQUESTED",
+ "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12",
+ "_links": {
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12"
+ }
+ },
+ "submitted_at": "2019-11-17T17:43:43Z",
+ "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/reviews/delete-a-pending-review-for-a-pull-request.html b/cache/api.github.com/v3/pulls/reviews/delete-a-pending-review-for-a-pull-request.html
new file mode 100644
index 0000000000..2d62821e27
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/reviews/delete-a-pending-review-for-a-pull-request.html
@@ -0,0 +1,47 @@
+
+
+
+ Delete a pending review for a pull requestDELETE /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "id": 80,
+ "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Here is the body for the review.",
+ "state": "PENDING",
+ "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12",
+ "_links": {
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12"
+ }
+ },
+ "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/reviews/dismiss-a-review-for-a-pull-request.html b/cache/api.github.com/v3/pulls/reviews/dismiss-a-review-for-a-pull-request.html
new file mode 100644
index 0000000000..29fcb78a36
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/reviews/dismiss-a-review-for-a-pull-request.html
@@ -0,0 +1,72 @@
+
+
+
+ Dismiss a review for a pull requestPUT /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals
+
+
+
+Note: To dismiss a pull request review on a protected branch, you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.
+
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+message
+string
+
+Required. The message for the pull request review dismissal
+
+
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "id": 80,
+ "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Here is the body for the review.",
+ "state": "DISMISSED",
+ "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12",
+ "_links": {
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12"
+ }
+ },
+ "submitted_at": "2019-11-17T17:43:43Z",
+ "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/reviews/get-a-review-for-a-pull-request.html b/cache/api.github.com/v3/pulls/reviews/get-a-review-for-a-pull-request.html
new file mode 100644
index 0000000000..dccc4a8b92
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/reviews/get-a-review-for-a-pull-request.html
@@ -0,0 +1,48 @@
+
+
+
+ Get a review for a pull requestGET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "id": 80,
+ "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Here is the body for the review.",
+ "state": "APPROVED",
+ "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12",
+ "_links": {
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12"
+ }
+ },
+ "submitted_at": "2019-11-17T17:43:43Z",
+ "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/reviews/index.html b/cache/api.github.com/v3/pulls/reviews/index.html
index 236c9971a4..cb00b12274 100644
--- a/cache/api.github.com/v3/pulls/reviews/index.html
+++ b/cache/api.github.com/v3/pulls/reviews/index.html
@@ -367,21 +367,21 @@
Reviews
-- List reviews on a pull request
-- Get a single review
-- Delete a pending review
-- Get comments for a single review
-- Create a pull request review
-- Update a pull request review
-- Submit a pull request review
-- Dismiss a pull request review
+- List reviews for a pull request
+- Get a review for a pull request
+- Delete a pending review for a pull request
+- List comments for a pull request review
+- Create a review for a pull request
+- Update a review for a pull request
+- Submit a review for a pull request
+- Dismiss a review for a pull request
Pull Request Reviews are groups of Pull Request Review Comments on the Pull
Request, grouped together with a state and optional body comment.
-
+ List reviews for a pull request
List reviews on a pull requestGET /repos/:owner/:repo/pulls/:pull_number/reviews
@@ -442,7 +442,7 @@
-
+ Get a review for a pull request
Get a single reviewGET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id
@@ -497,7 +497,7 @@
-
+ Delete a pending review for a pull request
Delete a pending reviewDELETE /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id
@@ -551,9 +551,11 @@
-
+ List comments for a pull request review
+ Get comments for a single review
List comments for a specific pull request review.
+
GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments
@@ -569,9 +571,9 @@
[
{
"url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
"id": 10,
"node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
- "pull_request_review_id": 42,
"diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
"path": "file1.txt",
"position": 1,
@@ -622,7 +624,7 @@
-
+ Create a review for a pull request
Create a pull request review
This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
@@ -658,7 +660,7 @@
event
string
-The review action you want to perform. The review actions include: APPROVE
, REQUEST_CHANGES
, or COMMENT
. By leaving this blank, you set the review action state to PENDING
, which means you will need to submit the pull request review when you are ready.
+The review action you want to perform. The review actions include: APPROVE
, REQUEST_CHANGES
, or COMMENT
. By leaving this blank, you set the review action state to PENDING
, which means you will need to submit the pull request review when you are ready.
comments
@@ -705,7 +707,7 @@
Note:
-To comment on a specific line in a file, you need to first determine the position of that line in the diff. The GitHub REST API v3 offers the application/vnd.github.v3.diff
media type. To see a pull request diff, add this media type to the Accept
header of a call to the single pull request endpoint.
+To comment on a specific line in a file, you need to first determine the position of that line in the diff. The GitHub REST API v3 offers the application/vnd.github.v3.diff
media type. To see a pull request diff, add this media type to the Accept
header of a call to the single pull request endpoint.
The position
value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
@@ -778,7 +780,7 @@
-
+ Update a review for a pull request
Update a pull request review
Update the review summary comment with new text.
@@ -865,7 +867,7 @@
-
+ Submit a review for a pull request
Submit a pull request reviewPOST /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events
@@ -946,7 +948,7 @@
-
+ Dismiss a review for a pull request
Dismiss a pull request reviewPUT /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals
diff --git a/cache/api.github.com/v3/pulls/reviews/list-comments-for-a-pull-request-review.html b/cache/api.github.com/v3/pulls/reviews/list-comments-for-a-pull-request-review.html
new file mode 100644
index 0000000000..ddfa8b8d32
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/reviews/list-comments-for-a-pull-request-review.html
@@ -0,0 +1,65 @@
+
+
+
+ List comments for a pull request reviewList comments for a specific pull request review.
+GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "pull_request_review_id": 42,
+ "id": 10,
+ "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
+ "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
+ "path": "file1.txt",
+ "position": 1,
+ "original_position": 4,
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840",
+ "in_reply_to_id": 8,
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Great stuff!",
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1",
+ "author_association": "NONE",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
+ }
+ }
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/reviews/list-review-comments-for-a-pull-request.html b/cache/api.github.com/v3/pulls/reviews/list-review-comments-for-a-pull-request.html
new file mode 100644
index 0000000000..699ae207ec
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/reviews/list-review-comments-for-a-pull-request.html
@@ -0,0 +1,64 @@
+
+
+
+ List review comments for a pull requestGET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1",
+ "id": 10,
+ "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw",
+ "pull_request_review_id": 42,
+ "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...",
+ "path": "file1.txt",
+ "position": 1,
+ "original_position": 4,
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840",
+ "in_reply_to_id": 8,
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Great stuff!",
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1",
+ "author_association": "NONE",
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
+ }
+ }
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/reviews/list-reviews-for-a-pull-request.html b/cache/api.github.com/v3/pulls/reviews/list-reviews-for-a-pull-request.html
new file mode 100644
index 0000000000..db51b013a4
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/reviews/list-reviews-for-a-pull-request.html
@@ -0,0 +1,53 @@
+
+
+
+ List reviews for a pull requestGET /repos/:owner/:repo/pulls/:pull_number/reviews
+
+
+
+ ResponseThe list of reviews returns in chronological order.
+Status: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "id": 80,
+ "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Here is the body for the review.",
+ "state": "APPROVED",
+ "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12",
+ "_links": {
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12"
+ }
+ },
+ "submitted_at": "2019-11-17T17:43:43Z",
+ "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091"
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/reviews/sections.json b/cache/api.github.com/v3/pulls/reviews/sections.json
index eb3f9a8194..331b05b087 100644
--- a/cache/api.github.com/v3/pulls/reviews/sections.json
+++ b/cache/api.github.com/v3/pulls/reviews/sections.json
@@ -1,42 +1,42 @@
[
{
- "id": "list-reviews-on-a-pull-request",
- "name": "List reviews on a pull request",
- "url": "https://developer.github.com/v3/pulls/reviews/#list-reviews-on-a-pull-request"
+ "id": "list-reviews-for-a-pull-request",
+ "name": "List reviews for a pull request",
+ "url": "https://developer.github.com/v3/pulls/reviews/#list-reviews-for-a-pull-request"
},
{
- "id": "get-a-single-review",
- "name": "Get a single review",
- "url": "https://developer.github.com/v3/pulls/reviews/#get-a-single-review"
+ "id": "get-a-review-for-a-pull-request",
+ "name": "Get a review for a pull request",
+ "url": "https://developer.github.com/v3/pulls/reviews/#get-a-review-for-a-pull-request"
},
{
- "id": "delete-a-pending-review",
- "name": "Delete a pending review",
- "url": "https://developer.github.com/v3/pulls/reviews/#delete-a-pending-review"
+ "id": "delete-a-pending-review-for-a-pull-request",
+ "name": "Delete a pending review for a pull request",
+ "url": "https://developer.github.com/v3/pulls/reviews/#delete-a-pending-review-for-a-pull-request"
},
{
- "id": "get-comments-for-a-single-review",
- "name": "Get comments for a single review",
- "url": "https://developer.github.com/v3/pulls/reviews/#get-comments-for-a-single-review"
+ "id": "list-comments-for-a-pull-request-review",
+ "name": "List comments for a pull request review",
+ "url": "https://developer.github.com/v3/pulls/reviews/#list-comments-for-a-pull-request-review"
},
{
- "id": "create-a-pull-request-review",
- "name": "Create a pull request review",
- "url": "https://developer.github.com/v3/pulls/reviews/#create-a-pull-request-review"
+ "id": "create-a-review-for-a-pull-request",
+ "name": "Create a review for a pull request",
+ "url": "https://developer.github.com/v3/pulls/reviews/#create-a-review-for-a-pull-request"
},
{
- "id": "update-a-pull-request-review",
- "name": "Update a pull request review",
- "url": "https://developer.github.com/v3/pulls/reviews/#update-a-pull-request-review"
+ "id": "update-a-review-for-a-pull-request",
+ "name": "Update a review for a pull request",
+ "url": "https://developer.github.com/v3/pulls/reviews/#update-a-review-for-a-pull-request"
},
{
- "id": "submit-a-pull-request-review",
- "name": "Submit a pull request review",
- "url": "https://developer.github.com/v3/pulls/reviews/#submit-a-pull-request-review"
+ "id": "submit-a-review-for-a-pull-request",
+ "name": "Submit a review for a pull request",
+ "url": "https://developer.github.com/v3/pulls/reviews/#submit-a-review-for-a-pull-request"
},
{
- "id": "dismiss-a-pull-request-review",
- "name": "Dismiss a pull request review",
- "url": "https://developer.github.com/v3/pulls/reviews/#dismiss-a-pull-request-review"
+ "id": "dismiss-a-review-for-a-pull-request",
+ "name": "Dismiss a review for a pull request",
+ "url": "https://developer.github.com/v3/pulls/reviews/#dismiss-a-review-for-a-pull-request"
}
]
diff --git a/cache/api.github.com/v3/pulls/reviews/submit-a-review-for-a-pull-request.html b/cache/api.github.com/v3/pulls/reviews/submit-a-review-for-a-pull-request.html
new file mode 100644
index 0000000000..ae0aef1078
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/reviews/submit-a-review-for-a-pull-request.html
@@ -0,0 +1,72 @@
+
+
+
+ Submit a review for a pull requestPOST /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+body
+string
+The body text of the pull request review
+
+
+event
+string
+
+Required. The review action you want to perform. The review actions include: APPROVE
, REQUEST_CHANGES
, or COMMENT
. When you leave this blank, the API returns HTTP 422 (Unrecognizable entity) and sets the review action state to PENDING
, which means you will need to re-submit the pull request review using a review action.
+
+
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "id": 80,
+ "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Here is the body for the review.",
+ "state": "APPROVED",
+ "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12",
+ "_links": {
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12"
+ }
+ },
+ "submitted_at": "2019-11-17T17:43:43Z",
+ "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/reviews/update-a-review-for-a-pull-request.html b/cache/api.github.com/v3/pulls/reviews/update-a-review-for-a-pull-request.html
new file mode 100644
index 0000000000..ee6e43ed6f
--- /dev/null
+++ b/cache/api.github.com/v3/pulls/reviews/update-a-review-for-a-pull-request.html
@@ -0,0 +1,74 @@
+
+
+
+ Update a review for a pull requestUpdate the review summary comment with new text.
+PUT /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+body
+string
+
+Required. The body text of the pull request review.
+
+
+
+
+
+ Example{
+ "body": "This is close to perfect! Please address the suggested inline change. And add more about this."
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "id": 80,
+ "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "This is close to perfect! Please address the suggested inline change. And add more about this.",
+ "state": "CHANGES_REQUESTED",
+ "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80",
+ "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12",
+ "_links": {
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80"
+ },
+ "pull_request": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12"
+ }
+ },
+ "submitted_at": "2019-11-17T17:43:43Z",
+ "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/pulls/sections.json b/cache/api.github.com/v3/pulls/sections.json
index e9a834ed24..865bac1a67 100644
--- a/cache/api.github.com/v3/pulls/sections.json
+++ b/cache/api.github.com/v3/pulls/sections.json
@@ -10,9 +10,9 @@
"url": "https://developer.github.com/v3/pulls/#list-pull-requests"
},
{
- "id": "get-a-single-pull-request",
- "name": "Get a single pull request",
- "url": "https://developer.github.com/v3/pulls/#get-a-single-pull-request"
+ "id": "get-a-pull-request",
+ "name": "Get a pull request",
+ "url": "https://developer.github.com/v3/pulls/#get-a-pull-request"
},
{
"id": "create-a-pull-request",
@@ -40,14 +40,14 @@
"url": "https://developer.github.com/v3/pulls/#list-pull-requests-files"
},
{
- "id": "get-if-a-pull-request-has-been-merged",
- "name": "Get if a pull request has been merged",
- "url": "https://developer.github.com/v3/pulls/#get-if-a-pull-request-has-been-merged"
+ "id": "check-if-a-pull-request-has-been-merged",
+ "name": "Check if a pull request has been merged",
+ "url": "https://developer.github.com/v3/pulls/#check-if-a-pull-request-has-been-merged"
},
{
- "id": "merge-a-pull-request-merge-button",
- "name": "Merge a pull request (Merge Button)",
- "url": "https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button"
+ "id": "merge-a-pull-request",
+ "name": "Merge a pull request",
+ "url": "https://developer.github.com/v3/pulls/#merge-a-pull-request"
},
{
"id": "labels-assignees-and-milestones",
diff --git a/cache/api.github.com/v3/pulls/update-a-pull-request-branch.html b/cache/api.github.com/v3/pulls/update-a-pull-request-branch.html
index af077185bb..f4ca0c1973 100644
--- a/cache/api.github.com/v3/pulls/update-a-pull-request-branch.html
+++ b/cache/api.github.com/v3/pulls/update-a-pull-request-branch.html
@@ -30,7 +30,7 @@
expected_head_sha
string
-The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a 422 Unprocessable Entity
status. You can use the "List commits on a repository" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref.
+The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a 422 Unprocessable Entity
status. You can use the "List commits" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref.
diff --git a/cache/api.github.com/v3/repos/branches/add-admin-enforcement-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/add-admin-enforcement-of-protected-branch.html
deleted file mode 100644
index 7a9761ce72..0000000000
--- a/cache/api.github.com/v3/repos/branches/add-admin-enforcement-of-protected-branch.html
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
- Add admin enforcement of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-
Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
-POST /repos/:owner/:repo/branches/:branch/protection/enforce_admins
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins",
- "enabled": true
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/add-app-access-restrictions.html b/cache/api.github.com/v3/repos/branches/add-app-access-restrictions.html
new file mode 100644
index 0000000000..19b6b73acd
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/add-app-access-restrictions.html
@@ -0,0 +1,74 @@
+
+
+
+ Add app access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Grants the specified apps push access for this branch. Only installed GitHub Apps with write
access to the contents
permission can be added as authorized actors on a protected branch.
+POST /repos/:owner/:repo/branches/:branch/protection/restrictions/apps
+
+
+
+ Parameters
+
+
+Type
+Description
+
+
+
+
+array
+The GitHub Apps that have push access to this branch. Use the app's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
+
+
+
+
+
+ Example[
+ "octoapp"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "id": 1,
+ "slug": "octoapp",
+ "node_id": "MDExOkludGVncmF0aW9uMQ==",
+ "owner": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "name": "Octocat App",
+ "description": "",
+ "external_url": "https://example.com",
+ "html_url": "https://github.com/apps/octoapp",
+ "created_at": "2017-07-08T16:18:44-04:00",
+ "updated_at": "2017-07-08T16:18:44-04:00",
+ "permissions": {
+ "metadata": "read",
+ "contents": "read",
+ "issues": "write",
+ "single_file": "write"
+ },
+ "events": [
+ "push",
+ "pull_request"
+ ]
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/add-app-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/add-app-restrictions-of-protected-branch.html
deleted file mode 100644
index e4f80eac1c..0000000000
--- a/cache/api.github.com/v3/repos/branches/add-app-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
- Add app restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Grants the specified apps push access for this branch. Only installed GitHub Apps with write
access to the contents
permission can be added as authorized actors on a protected branch.
-POST /repos/:owner/:repo/branches/:branch/protection/restrictions/apps
-
-
-
- Parameters
-
-
-Type
-Description
-
-
-
-
-array
-The GitHub Apps that have push access to this branch. Use the app's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
-
-
-
-
-
- Example[
- "octoapp"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "id": 1,
- "slug": "octoapp",
- "node_id": "MDExOkludGVncmF0aW9uMQ==",
- "owner": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "name": "Octocat App",
- "description": "",
- "external_url": "https://example.com",
- "html_url": "https://github.com/apps/octoapp",
- "created_at": "2017-07-08T16:18:44-04:00",
- "updated_at": "2017-07-08T16:18:44-04:00",
- "permissions": {
- "metadata": "read",
- "contents": "read",
- "issues": "write",
- "single_file": "write"
- },
- "events": [
- "push",
- "pull_request"
- ]
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/add-required-signatures-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/add-required-signatures-of-protected-branch.html
deleted file mode 100644
index 98f7f38ae1..0000000000
--- a/cache/api.github.com/v3/repos/branches/add-required-signatures-of-protected-branch.html
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
- Add required signatures of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-
-
-Note: Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.zzzax-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.
-POST /repos/:owner/:repo/branches/:branch/protection/required_signatures
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures",
- "enabled": true
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/add-required-status-checks-contexts-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/add-required-status-checks-contexts-of-protected-branch.html
deleted file mode 100644
index 7f095bc9df..0000000000
--- a/cache/api.github.com/v3/repos/branches/add-required-status-checks-contexts-of-protected-branch.html
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
- Add required status checks contexts of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-POST /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts
-
-
-
- Example[
- "continuous-integration/jenkins"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- "continuous-integration/travis-ci",
- "continuous-integration/jenkins"
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/add-status-check-contexts.html b/cache/api.github.com/v3/repos/branches/add-status-check-contexts.html
new file mode 100644
index 0000000000..7224eaf5a5
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/add-status-check-contexts.html
@@ -0,0 +1,24 @@
+
+
+
+ Add status check contexts
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+POST /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts
+
+
+
+ Example[
+ "continuous-integration/jenkins"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ "continuous-integration/travis-ci",
+ "continuous-integration/jenkins"
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/add-team-access-restrictions.html b/cache/api.github.com/v3/repos/branches/add-team-access-restrictions.html
new file mode 100644
index 0000000000..099c1dc9bd
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/add-team-access-restrictions.html
@@ -0,0 +1,53 @@
+
+
+
+ Add team access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Grants the specified teams push access for this branch. You can also give push access to child teams.
+POST /repos/:owner/:repo/branches/:branch/protection/restrictions/teams
+
+
+
+ Parameters
+
+
+Type
+Description
+
+
+
+
+array
+The teams that can have push access. Use the team's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
+
+
+
+
+
+ Example[
+ "justice-league"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/add-team-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/add-team-restrictions-of-protected-branch.html
deleted file mode 100644
index cb4d9fccd7..0000000000
--- a/cache/api.github.com/v3/repos/branches/add-team-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
- Add team restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Grants the specified teams push access for this branch. You can also give push access to child teams.
-POST /repos/:owner/:repo/branches/:branch/protection/restrictions/teams
-
-
-
- Parameters
-
-
-Type
-Description
-
-
-
-
-array
-The teams that can have push access. Use the team's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
-
-
-
-
-
- Example[
- "justice-league"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "id": 1,
- "node_id": "MDQ6VGVhbTE=",
- "url": "https://api.github.com/teams/1",
- "html_url": "https://api.github.com/teams/justice-league",
- "name": "Justice League",
- "slug": "justice-league",
- "description": "A great team.",
- "privacy": "closed",
- "permission": "admin",
- "members_url": "https://api.github.com/teams/1/members{/member}",
- "repositories_url": "https://api.github.com/teams/1/repos",
- "parent": null
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/add-user-access-restrictions.html b/cache/api.github.com/v3/repos/branches/add-user-access-restrictions.html
new file mode 100644
index 0000000000..a42a67cf94
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/add-user-access-restrictions.html
@@ -0,0 +1,59 @@
+
+
+
+ Add user access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Grants the specified people push access for this branch.
+POST /repos/:owner/:repo/branches/:branch/protection/restrictions/users
+
+
+
+ Parameters
+
+
+Type
+Description
+
+
+
+
+array
+Usernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
+
+
+
+
+
+ Example[
+ "octocat"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/add-user-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/add-user-restrictions-of-protected-branch.html
deleted file mode 100644
index 2225bccbee..0000000000
--- a/cache/api.github.com/v3/repos/branches/add-user-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
- Add user restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Grants the specified people push access for this branch.
-POST /repos/:owner/:repo/branches/:branch/protection/restrictions/users
-
-
-
- Parameters
-
-
-Type
-Description
-
-
-
-
-array
-Usernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
-
-
-
-
-
- Example[
- "octocat"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/create-commit-signature-protection.html b/cache/api.github.com/v3/repos/branches/create-commit-signature-protection.html
new file mode 100644
index 0000000000..7c7972270c
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/create-commit-signature-protection.html
@@ -0,0 +1,32 @@
+
+
+
+ Create commit signature protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+
+
+Note: Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.zzzax-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits.
+POST /repos/:owner/:repo/branches/:branch/protection/required_signatures
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures",
+ "enabled": true
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/delete-access-restrictions.html b/cache/api.github.com/v3/repos/branches/delete-access-restrictions.html
new file mode 100644
index 0000000000..e4b1678b0d
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/delete-access-restrictions.html
@@ -0,0 +1,12 @@
+
+
+
+ Delete access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Disables the ability to restrict who can push to this branch.
+DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions
+
+Status: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/delete-admin-branch-protection.html b/cache/api.github.com/v3/repos/branches/delete-admin-branch-protection.html
new file mode 100644
index 0000000000..9512324a62
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/delete-admin-branch-protection.html
@@ -0,0 +1,12 @@
+
+
+
+ Delete admin branch protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
+DELETE /repos/:owner/:repo/branches/:branch/protection/enforce_admins
+
+Status: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/delete-branch-protection.html b/cache/api.github.com/v3/repos/branches/delete-branch-protection.html
new file mode 100644
index 0000000000..ad9831e53c
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/delete-branch-protection.html
@@ -0,0 +1,13 @@
+
+
+
+ Delete branch protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+DELETE /repos/:owner/:repo/branches/:branch/protection
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/delete-commit-signature-protection.html b/cache/api.github.com/v3/repos/branches/delete-commit-signature-protection.html
new file mode 100644
index 0000000000..a6b0f52c44
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/delete-commit-signature-protection.html
@@ -0,0 +1,25 @@
+
+
+
+ Delete commit signature protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+
+
+Note: Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.zzzax-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.
+DELETE /repos/:owner/:repo/branches/:branch/protection/required_signatures
+
+Status: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/delete-pull-request-review-protection.html b/cache/api.github.com/v3/repos/branches/delete-pull-request-review-protection.html
new file mode 100644
index 0000000000..d0094efe4d
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/delete-pull-request-review-protection.html
@@ -0,0 +1,11 @@
+
+
+
+ Delete pull request review protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+DELETE /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews
+
+Status: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-a-branch.html b/cache/api.github.com/v3/repos/branches/get-a-branch.html
new file mode 100644
index 0000000000..90a6532590
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/get-a-branch.html
@@ -0,0 +1,82 @@
+
+
+
+ Get a branchGET /repos/:owner/:repo/branches/:branch
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "name": "master",
+ "commit": {
+ "sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
+ "node_id": "MDY6Q29tbWl0N2ZkMWE2MGIwMWY5MWIzMTRmNTk5NTVhNGU0ZDRlODBkOGVkZjExZA==",
+ "commit": {
+ "author": {
+ "name": "The Octocat",
+ "date": "2012-03-06T15:06:50-08:00",
+ "email": "octocat@nowhere.com"
+ },
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
+ "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.",
+ "tree": {
+ "sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
+ },
+ "committer": {
+ "name": "The Octocat",
+ "date": "2012-03-06T15:06:50-08:00",
+ "email": "octocat@nowhere.com"
+ },
+ "verification": {
+ "verified": false,
+ "reason": "unsigned",
+ "signature": null,
+ "payload": null
+ }
+ },
+ "author": {
+ "gravatar_id": "",
+ "avatar_url": "https://secure.gravatar.com/avatar/7ad39074b0584bc555d0417ae3e7d974?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
+ "url": "https://api.github.com/users/octocat",
+ "id": 583231,
+ "login": "octocat"
+ },
+ "parents": [
+ {
+ "sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
+ },
+ {
+ "sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303"
+ }
+ ],
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
+ "committer": {
+ "gravatar_id": "",
+ "avatar_url": "https://secure.gravatar.com/avatar/7ad39074b0584bc555d0417ae3e7d974?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
+ "url": "https://api.github.com/users/octocat",
+ "id": 583231,
+ "login": "octocat"
+ }
+ },
+ "_links": {
+ "html": "https://github.com/octocat/Hello-World/tree/master",
+ "self": "https://api.github.com/repos/octocat/Hello-World/branches/master"
+ },
+ "protected": true,
+ "protection": {
+ "enabled": true,
+ "required_status_checks": {
+ "enforcement_level": "non_admins",
+ "contexts": [
+ "ci-test",
+ "linter"
+ ]
+ }
+ },
+ "protection_url": "https://api.github.com/repos/octocat/hello-world/branches/master/protection"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-access-restrictions.html b/cache/api.github.com/v3/repos/branches/get-access-restrictions.html
new file mode 100644
index 0000000000..9183cfafb6
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/get-access-restrictions.html
@@ -0,0 +1,99 @@
+
+
+
+ Get access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Lists who has access to this protected branch.
+
+
+Note: Users, apps, and teams restrictions
are only available for organization-owned repositories.
+
+
+GET /repos/:owner/:repo/branches/:branch/protection/restrictions
+
+Status: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions",
+ "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users",
+ "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams",
+ "apps_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams",
+ "users": [
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ ],
+ "teams": [
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+ ],
+ "apps": [
+ {
+ "id": 1,
+ "slug": "octoapp",
+ "node_id": "MDExOkludGVncmF0aW9uMQ==",
+ "owner": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "name": "Octocat App",
+ "description": "",
+ "external_url": "https://example.com",
+ "html_url": "https://github.com/apps/octoapp",
+ "created_at": "2017-07-08T16:18:44-04:00",
+ "updated_at": "2017-07-08T16:18:44-04:00",
+ "permissions": {
+ "metadata": "read",
+ "contents": "read",
+ "issues": "write",
+ "single_file": "write"
+ },
+ "events": [
+ "push",
+ "pull_request"
+ ]
+ }
+ ]
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-admin-branch-protection.html b/cache/api.github.com/v3/repos/branches/get-admin-branch-protection.html
new file mode 100644
index 0000000000..2ed5f178d1
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/get-admin-branch-protection.html
@@ -0,0 +1,16 @@
+
+
+
+ Get admin branch protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+GET /repos/:owner/:repo/branches/:branch/protection/enforce_admins
+
+Status: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins",
+ "enabled": true
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-admin-enforcement-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/get-admin-enforcement-of-protected-branch.html
deleted file mode 100644
index 6024283edf..0000000000
--- a/cache/api.github.com/v3/repos/branches/get-admin-enforcement-of-protected-branch.html
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
- Get admin enforcement of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-GET /repos/:owner/:repo/branches/:branch/protection/enforce_admins
-
-Status: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins",
- "enabled": true
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-all-status-check-contexts.html b/cache/api.github.com/v3/repos/branches/get-all-status-check-contexts.html
new file mode 100644
index 0000000000..96d418cdaf
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/get-all-status-check-contexts.html
@@ -0,0 +1,15 @@
+
+
+
+ Get all status check contexts
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts
+
+Status: 200 OK
+
+[
+ "continuous-integration/travis-ci"
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-branch.html b/cache/api.github.com/v3/repos/branches/get-branch.html
deleted file mode 100644
index e9cf1919a9..0000000000
--- a/cache/api.github.com/v3/repos/branches/get-branch.html
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-
- Get branchGET /repos/:owner/:repo/branches/:branch
-
-
-
- ResponseStatus: 200 OK
-
-{
- "name": "master",
- "commit": {
- "sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
- "node_id": "MDY6Q29tbWl0N2ZkMWE2MGIwMWY5MWIzMTRmNTk5NTVhNGU0ZDRlODBkOGVkZjExZA==",
- "commit": {
- "author": {
- "name": "The Octocat",
- "date": "2012-03-06T15:06:50-08:00",
- "email": "octocat@nowhere.com"
- },
- "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
- "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.",
- "tree": {
- "sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
- "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
- },
- "committer": {
- "name": "The Octocat",
- "date": "2012-03-06T15:06:50-08:00",
- "email": "octocat@nowhere.com"
- },
- "verification": {
- "verified": false,
- "reason": "unsigned",
- "signature": null,
- "payload": null
- }
- },
- "author": {
- "gravatar_id": "",
- "avatar_url": "https://secure.gravatar.com/avatar/7ad39074b0584bc555d0417ae3e7d974?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
- "url": "https://api.github.com/users/octocat",
- "id": 583231,
- "login": "octocat"
- },
- "parents": [
- {
- "sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
- },
- {
- "sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303"
- }
- ],
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
- "committer": {
- "gravatar_id": "",
- "avatar_url": "https://secure.gravatar.com/avatar/7ad39074b0584bc555d0417ae3e7d974?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
- "url": "https://api.github.com/users/octocat",
- "id": 583231,
- "login": "octocat"
- }
- },
- "_links": {
- "html": "https://github.com/octocat/Hello-World/tree/master",
- "self": "https://api.github.com/repos/octocat/Hello-World/branches/master"
- },
- "protected": true,
- "protection": {
- "enabled": true,
- "required_status_checks": {
- "enforcement_level": "non_admins",
- "contexts": [
- "ci-test",
- "linter"
- ]
- }
- },
- "protection_url": "https://api.github.com/repos/octocat/hello-world/branches/master/protection"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-commit-signature-protection.html b/cache/api.github.com/v3/repos/branches/get-commit-signature-protection.html
new file mode 100644
index 0000000000..ecaea96f08
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/get-commit-signature-protection.html
@@ -0,0 +1,33 @@
+
+
+
+ Get commit signature protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+
+
+Note: Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.zzzax-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of true
indicates you must sign commits on this branch. For more information, see Signing commits with GPG in GitHub Help.
+Note: You must enable branch protection to require signed commits.
+GET /repos/:owner/:repo/branches/:branch/protection/required_signatures
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures",
+ "enabled": true
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-pull-request-review-enforcement-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/get-pull-request-review-enforcement-of-protected-branch.html
deleted file mode 100644
index d5dc43c89d..0000000000
--- a/cache/api.github.com/v3/repos/branches/get-pull-request-review-enforcement-of-protected-branch.html
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
- Get pull request review enforcement of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-
-
-Note: The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.luke-cage-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-GET /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews
-
-Status: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews",
- "dismissal_restrictions": {
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions",
- "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/users",
- "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/teams",
- "users": [
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
- ],
- "teams": [
- {
- "id": 1,
- "node_id": "MDQ6VGVhbTE=",
- "url": "https://api.github.com/teams/1",
- "html_url": "https://api.github.com/teams/justice-league",
- "name": "Justice League",
- "slug": "justice-league",
- "description": "A great team.",
- "privacy": "closed",
- "permission": "admin",
- "members_url": "https://api.github.com/teams/1/members{/member}",
- "repositories_url": "https://api.github.com/teams/1/repos",
- "parent": null
- }
- ]
- },
- "dismiss_stale_reviews": true,
- "require_code_owner_reviews": true,
- "required_approving_review_count": 2
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-pull-request-review-protection.html b/cache/api.github.com/v3/repos/branches/get-pull-request-review-protection.html
new file mode 100644
index 0000000000..65f076d3ed
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/get-pull-request-review-protection.html
@@ -0,0 +1,74 @@
+
+
+
+ Get pull request review protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+
+
+Note: The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.luke-cage-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+GET /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews
+
+Status: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews",
+ "dismissal_restrictions": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions",
+ "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/users",
+ "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/teams",
+ "users": [
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ ],
+ "teams": [
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+ ]
+ },
+ "dismiss_stale_reviews": true,
+ "require_code_owner_reviews": true,
+ "required_approving_review_count": 2
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-required-signatures-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/get-required-signatures-of-protected-branch.html
deleted file mode 100644
index 1ba86e1eca..0000000000
--- a/cache/api.github.com/v3/repos/branches/get-required-signatures-of-protected-branch.html
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
- Get required signatures of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-
-
-Note: Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.zzzax-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of true
indicates you must sign commits on this branch. For more information, see Signing commits with GPG in GitHub Help.
-Note: You must enable branch protection to require signed commits.
-GET /repos/:owner/:repo/branches/:branch/protection/required_signatures
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures",
- "enabled": true
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-required-status-checks-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/get-required-status-checks-of-protected-branch.html
deleted file mode 100644
index b447d11767..0000000000
--- a/cache/api.github.com/v3/repos/branches/get-required-status-checks-of-protected-branch.html
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
- Get required status checks of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks",
- "strict": true,
- "contexts": [
- "continuous-integration/travis-ci"
- ],
- "contexts_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/get-restrictions-of-protected-branch.html
deleted file mode 100644
index 93c9d54795..0000000000
--- a/cache/api.github.com/v3/repos/branches/get-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
- Get restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Lists who has access to this protected branch.
-{{#note}}
-Note: Users, apps, and teams restrictions
are only available for organization-owned repositories.
-GET /repos/:owner/:repo/branches/:branch/protection/restrictions
-
-Status: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions",
- "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users",
- "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams",
- "apps_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams",
- "users": [
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
- ],
- "teams": [
- {
- "id": 1,
- "node_id": "MDQ6VGVhbTE=",
- "url": "https://api.github.com/teams/1",
- "html_url": "https://api.github.com/teams/justice-league",
- "name": "Justice League",
- "slug": "justice-league",
- "description": "A great team.",
- "privacy": "closed",
- "permission": "admin",
- "members_url": "https://api.github.com/teams/1/members{/member}",
- "repositories_url": "https://api.github.com/teams/1/repos",
- "parent": null
- }
- ],
- "apps": [
- {
- "id": 1,
- "slug": "octoapp",
- "node_id": "MDExOkludGVncmF0aW9uMQ==",
- "owner": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "name": "Octocat App",
- "description": "",
- "external_url": "https://example.com",
- "html_url": "https://github.com/apps/octoapp",
- "created_at": "2017-07-08T16:18:44-04:00",
- "updated_at": "2017-07-08T16:18:44-04:00",
- "permissions": {
- "metadata": "read",
- "contents": "read",
- "issues": "write",
- "single_file": "write"
- },
- "events": [
- "push",
- "pull_request"
- ]
- }
- ]
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/get-status-checks-protection.html b/cache/api.github.com/v3/repos/branches/get-status-checks-protection.html
new file mode 100644
index 0000000000..0b3ecbab22
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/get-status-checks-protection.html
@@ -0,0 +1,22 @@
+
+
+
+ Get status checks protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks",
+ "strict": true,
+ "contexts": [
+ "continuous-integration/travis-ci"
+ ],
+ "contexts_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/index.html b/cache/api.github.com/v3/repos/branches/index.html
index 1731241d51..398fead137 100644
--- a/cache/api.github.com/v3/repos/branches/index.html
+++ b/cache/api.github.com/v3/repos/branches/index.html
@@ -368,40 +368,40 @@
- List branches
-- Get branch
+- Get a branch
- Get branch protection
- Update branch protection
-- Remove branch protection
-- Get required status checks of protected branch
-- Update required status checks of protected branch
-- Remove required status checks of protected branch
-- List required status checks contexts of protected branch
-- Replace required status checks contexts of protected branch
-- Add required status checks contexts of protected branch
-- Remove required status checks contexts of protected branch
-- Get pull request review enforcement of protected branch
-- Update pull request review enforcement of protected branch
-- Remove pull request review enforcement of protected branch
-- Get required signatures of protected branch
-- Add required signatures of protected branch
-- Remove required signatures of protected branch
-- Get admin enforcement of protected branch
-- Add admin enforcement of protected branch
-- Remove admin enforcement of protected branch
-- Get restrictions of protected branch
-- Remove restrictions of protected branch
-- List teams with access to protected branch
-- Replace team restrictions of protected branch
-- Add team restrictions of protected branch
-- Remove team restrictions of protected branch
-- List users with access to protected branch
-- Replace user restrictions of protected branch
-- Add user restrictions of protected branch
-- Remove user restrictions of protected branch
-- List apps with access to protected branch
-- Replace app restrictions of protected branch
-- Add app restrictions of protected branch
-- Remove app restrictions of protected branch
+- Delete branch protection
+- Get status checks protection
+- Update status check potection
+- Remove status check protection
+- Get all status check contexts
+- Set status check contexts
+- Add status check contexts
+- Remove status check contexts
+- Get pull request review protection
+- Update pull request review protection
+- Delete pull request review protection
+- Get commit signature protection
+- Create commit signature protection
+- Delete commit signature protection
+- Get admin branch protection
+- Set admin branch protection
+- Delete admin branch protection
+- Get access restrictions
+- Delete access restrictions
+- List teams with access to the protected branch
+- Set team access restrictions
+- Add team access restrictions
+- Remove team access restrictions
+- List users with access to the protected branch
+- Set user access restrictions
+- Add user access restrictions
+- Remove user access restrictions
+- List apps with access to the protected branch
+- Set app access restrictions
+- Add app access restrictions
+- Remove app access restrictions
@@ -470,7 +470,7 @@
-
+ Get a branch
Get branchGET /repos/:owner/:repo/branches/:branch
@@ -1172,7 +1172,7 @@
-
+ Delete branch protection
Remove branch protection
@@ -1191,7 +1191,7 @@
-
+ Get status checks protection
Get required status checks of protected branch
@@ -1221,7 +1221,7 @@
-
+ Update status check potection
Update required status checks of protected branch
@@ -1292,7 +1292,7 @@
-
+ Remove status check protection
Remove required status checks of protected branch
@@ -1308,7 +1308,7 @@
-
+ Get all status check contexts
List required status checks contexts of protected branch
@@ -1330,7 +1330,7 @@
-
+ Set status check contexts
Replace required status checks contexts of protected branch
@@ -1364,7 +1364,7 @@
-
+ Add status check contexts
Add required status checks contexts of protected branch
@@ -1399,7 +1399,7 @@
-
+ Remove status check contexts
Remove required status checks contexts of protected branch
@@ -1433,7 +1433,7 @@
-
+ Get pull request review protection
Get pull request review enforcement of protected branch
@@ -1516,7 +1516,7 @@
-
+ Update pull request review protection
Update pull request review enforcement of protected branch
@@ -1690,7 +1690,7 @@
-
+ Delete pull request review protection
Remove pull request review enforcement of protected branch
@@ -1706,7 +1706,7 @@
-
+ Get commit signature protection
Get required signatures of protected branch
@@ -1751,7 +1751,7 @@
-
+ Create commit signature protection
Add required signatures of protected branch
@@ -1794,7 +1794,7 @@
-
+ Delete commit signature protection
Remove required signatures of protected branch
@@ -1827,7 +1827,7 @@
-
+ Get admin branch protection
Get admin enforcement of protected branch
@@ -1850,7 +1850,7 @@
-
+ Set admin branch protection
Add admin enforcement of protected branch
@@ -1878,7 +1878,7 @@
-
+ Delete admin branch protection
Remove admin enforcement of protected branch
@@ -1896,7 +1896,7 @@
-
+ Get access restrictions
Get restrictions of protected branch
@@ -1904,12 +1904,13 @@
-
Lists who has access to this protected branch.
-{{#note}}
+Lists who has access to this protected branch.
-Note: Users, apps, and teams restrictions
are only available for organization-owned repositories.
+
+Note: Users, apps, and teams restrictions
are only available for organization-owned repositories.
+
GET /repos/:owner/:repo/branches/:branch/protection/restrictions
@@ -2003,7 +2004,7 @@
-
+ Delete access restrictions
Remove restrictions of protected branch
@@ -2021,7 +2022,7 @@
-
+ List teams with access to the protected branch
List teams with access to protected branch
@@ -2057,7 +2058,7 @@
-
+ Set team access restrictions
Replace team restrictions of protected branch
@@ -2124,7 +2125,7 @@
-
+ Add team access restrictions
Add team restrictions of protected branch
@@ -2191,7 +2192,7 @@
-
+ Remove team access restrictions
Remove team restrictions of protected branch
@@ -2258,7 +2259,7 @@
-
+ List users with access to the protected branch
List users with access to protected branch
@@ -2301,7 +2302,7 @@
-
+ Set user access restrictions
Replace user restrictions of protected branch
@@ -2374,7 +2375,7 @@
-
+ Add user access restrictions
Add user restrictions of protected branch
@@ -2447,7 +2448,7 @@
-
+ Remove user access restrictions
Remove user restrictions of protected branch
@@ -2520,7 +2521,7 @@
-
+ List apps with access to the protected branch
List apps with access to protected branch
@@ -2578,7 +2579,7 @@
-
+ Set app access restrictions
Replace app restrictions of protected branch
@@ -2666,7 +2667,7 @@
-
+ Add app access restrictions
Add app restrictions of protected branch
@@ -2754,7 +2755,7 @@
-
+ Remove app access restrictions
Remove app restrictions of protected branch
diff --git a/cache/api.github.com/v3/repos/branches/list-apps-with-access-to-protected-branch.html b/cache/api.github.com/v3/repos/branches/list-apps-with-access-to-protected-branch.html
deleted file mode 100644
index 6a85031f19..0000000000
--- a/cache/api.github.com/v3/repos/branches/list-apps-with-access-to-protected-branch.html
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
- List apps with access to protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Lists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with write
access to the contents
permission can be added as authorized actors on a protected branch.
-GET /repos/:owner/:repo/branches/:branch/protection/restrictions/apps
-
-Status: 200 OK
-
-[
- {
- "id": 1,
- "slug": "octoapp",
- "node_id": "MDExOkludGVncmF0aW9uMQ==",
- "owner": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "name": "Octocat App",
- "description": "",
- "external_url": "https://example.com",
- "html_url": "https://github.com/apps/octoapp",
- "created_at": "2017-07-08T16:18:44-04:00",
- "updated_at": "2017-07-08T16:18:44-04:00",
- "permissions": {
- "metadata": "read",
- "contents": "read",
- "issues": "write",
- "single_file": "write"
- },
- "events": [
- "push",
- "pull_request"
- ]
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/list-apps-with-access-to-the-protected-branch.html b/cache/api.github.com/v3/repos/branches/list-apps-with-access-to-the-protected-branch.html
new file mode 100644
index 0000000000..38451b5df8
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/list-apps-with-access-to-the-protected-branch.html
@@ -0,0 +1,50 @@
+
+
+
+ List apps with access to the protected branch
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Lists the GitHub Apps that have push access to this branch. Only installed GitHub Apps with write
access to the contents
permission can be added as authorized actors on a protected branch.
+GET /repos/:owner/:repo/branches/:branch/protection/restrictions/apps
+
+Status: 200 OK
+
+[
+ {
+ "id": 1,
+ "slug": "octoapp",
+ "node_id": "MDExOkludGVncmF0aW9uMQ==",
+ "owner": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "name": "Octocat App",
+ "description": "",
+ "external_url": "https://example.com",
+ "html_url": "https://github.com/apps/octoapp",
+ "created_at": "2017-07-08T16:18:44-04:00",
+ "updated_at": "2017-07-08T16:18:44-04:00",
+ "permissions": {
+ "metadata": "read",
+ "contents": "read",
+ "issues": "write",
+ "single_file": "write"
+ },
+ "events": [
+ "push",
+ "pull_request"
+ ]
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/list-required-status-checks-contexts-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/list-required-status-checks-contexts-of-protected-branch.html
deleted file mode 100644
index 74138a9960..0000000000
--- a/cache/api.github.com/v3/repos/branches/list-required-status-checks-contexts-of-protected-branch.html
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
- List required status checks contexts of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts
-
-Status: 200 OK
-
-[
- "continuous-integration/travis-ci"
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/list-teams-with-access-to-protected-branch.html b/cache/api.github.com/v3/repos/branches/list-teams-with-access-to-protected-branch.html
deleted file mode 100644
index 3e15da27fe..0000000000
--- a/cache/api.github.com/v3/repos/branches/list-teams-with-access-to-protected-branch.html
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
- List teams with access to protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Lists the teams who have push access to this branch. The list includes child teams.
-GET /repos/:owner/:repo/branches/:branch/protection/restrictions/teams
-
-
-
- Response[
- {
- "id": 1,
- "node_id": "MDQ6VGVhbTE=",
- "url": "https://api.github.com/teams/1",
- "html_url": "https://api.github.com/teams/justice-league",
- "name": "Justice League",
- "slug": "justice-league",
- "description": "A great team.",
- "privacy": "closed",
- "permission": "admin",
- "members_url": "https://api.github.com/teams/1/members{/member}",
- "repositories_url": "https://api.github.com/teams/1/repos",
- "parent": null
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/list-teams-with-access-to-the-protected-branch.html b/cache/api.github.com/v3/repos/branches/list-teams-with-access-to-the-protected-branch.html
new file mode 100644
index 0000000000..e015819b0f
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/list-teams-with-access-to-the-protected-branch.html
@@ -0,0 +1,29 @@
+
+
+
+ List teams with access to the protected branch
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Lists the teams who have push access to this branch. The list includes child teams.
+GET /repos/:owner/:repo/branches/:branch/protection/restrictions/teams
+
+
+
+ Response[
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/list-users-with-access-to-protected-branch.html b/cache/api.github.com/v3/repos/branches/list-users-with-access-to-protected-branch.html
deleted file mode 100644
index a539879362..0000000000
--- a/cache/api.github.com/v3/repos/branches/list-users-with-access-to-protected-branch.html
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
- List users with access to protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Lists the people who have push access to this branch.
-GET /repos/:owner/:repo/branches/:branch/protection/restrictions/users
-
-Status: 200 OK
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/list-users-with-access-to-the-protected-branch.html b/cache/api.github.com/v3/repos/branches/list-users-with-access-to-the-protected-branch.html
new file mode 100644
index 0000000000..e5c5f3d45a
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/list-users-with-access-to-the-protected-branch.html
@@ -0,0 +1,35 @@
+
+
+
+ List users with access to the protected branch
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Lists the people who have push access to this branch.
+GET /repos/:owner/:repo/branches/:branch/protection/restrictions/users
+
+Status: 200 OK
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-admin-enforcement-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/remove-admin-enforcement-of-protected-branch.html
deleted file mode 100644
index fe8bf2f806..0000000000
--- a/cache/api.github.com/v3/repos/branches/remove-admin-enforcement-of-protected-branch.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- Remove admin enforcement of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
-DELETE /repos/:owner/:repo/branches/:branch/protection/enforce_admins
-
-Status: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-app-access-restrictions.html b/cache/api.github.com/v3/repos/branches/remove-app-access-restrictions.html
new file mode 100644
index 0000000000..e580cba5ca
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/remove-app-access-restrictions.html
@@ -0,0 +1,74 @@
+
+
+
+ Remove app access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Removes the ability of an app to push to this branch. Only installed GitHub Apps with write
access to the contents
permission can be added as authorized actors on a protected branch.
+DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/apps
+
+
+
+ Parameters
+
+
+Type
+Description
+
+
+
+
+array
+The GitHub Apps that have push access to this branch. Use the app's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
+
+
+
+
+
+ Example[
+ "octoapp"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "id": 1,
+ "slug": "octoapp",
+ "node_id": "MDExOkludGVncmF0aW9uMQ==",
+ "owner": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "name": "Octocat App",
+ "description": "",
+ "external_url": "https://example.com",
+ "html_url": "https://github.com/apps/octoapp",
+ "created_at": "2017-07-08T16:18:44-04:00",
+ "updated_at": "2017-07-08T16:18:44-04:00",
+ "permissions": {
+ "metadata": "read",
+ "contents": "read",
+ "issues": "write",
+ "single_file": "write"
+ },
+ "events": [
+ "push",
+ "pull_request"
+ ]
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-app-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/remove-app-restrictions-of-protected-branch.html
deleted file mode 100644
index ec9eefeed5..0000000000
--- a/cache/api.github.com/v3/repos/branches/remove-app-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
- Remove app restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Removes the ability of an app to push to this branch. Only installed GitHub Apps with write
access to the contents
permission can be added as authorized actors on a protected branch.
-DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/apps
-
-
-
- Parameters
-
-
-Type
-Description
-
-
-
-
-array
-The GitHub Apps that have push access to this branch. Use the app's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
-
-
-
-
-
- Example[
- "octoapp"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "id": 1,
- "slug": "octoapp",
- "node_id": "MDExOkludGVncmF0aW9uMQ==",
- "owner": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "name": "Octocat App",
- "description": "",
- "external_url": "https://example.com",
- "html_url": "https://github.com/apps/octoapp",
- "created_at": "2017-07-08T16:18:44-04:00",
- "updated_at": "2017-07-08T16:18:44-04:00",
- "permissions": {
- "metadata": "read",
- "contents": "read",
- "issues": "write",
- "single_file": "write"
- },
- "events": [
- "push",
- "pull_request"
- ]
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-branch-protection.html b/cache/api.github.com/v3/repos/branches/remove-branch-protection.html
deleted file mode 100644
index 659edf01f3..0000000000
--- a/cache/api.github.com/v3/repos/branches/remove-branch-protection.html
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- Remove branch protection
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-DELETE /repos/:owner/:repo/branches/:branch/protection
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-pull-request-review-enforcement-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/remove-pull-request-review-enforcement-of-protected-branch.html
deleted file mode 100644
index 93064032e8..0000000000
--- a/cache/api.github.com/v3/repos/branches/remove-pull-request-review-enforcement-of-protected-branch.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- Remove pull request review enforcement of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-DELETE /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews
-
-Status: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-required-signatures-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/remove-required-signatures-of-protected-branch.html
deleted file mode 100644
index 077441f6ce..0000000000
--- a/cache/api.github.com/v3/repos/branches/remove-required-signatures-of-protected-branch.html
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
- Remove required signatures of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-
-
-Note: Protected Branches API can now manage a setting for requiring signed commits. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.zzzax-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits.
-DELETE /repos/:owner/:repo/branches/:branch/protection/required_signatures
-
-Status: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-required-status-checks-contexts-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/remove-required-status-checks-contexts-of-protected-branch.html
deleted file mode 100644
index 41fc351e84..0000000000
--- a/cache/api.github.com/v3/repos/branches/remove-required-status-checks-contexts-of-protected-branch.html
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
- Remove required status checks contexts of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts
-
-
-
- Example[
- "continuous-integration/jenkins"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- "continuous-integration/travis-ci"
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-required-status-checks-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/remove-required-status-checks-of-protected-branch.html
deleted file mode 100644
index 7cc3861a5c..0000000000
--- a/cache/api.github.com/v3/repos/branches/remove-required-status-checks-of-protected-branch.html
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- Remove required status checks of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks
-
-Status: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/remove-restrictions-of-protected-branch.html
deleted file mode 100644
index 9f2e9b602b..0000000000
--- a/cache/api.github.com/v3/repos/branches/remove-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- Remove restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Disables the ability to restrict who can push to this branch.
-DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions
-
-Status: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-status-check-contexts.html b/cache/api.github.com/v3/repos/branches/remove-status-check-contexts.html
new file mode 100644
index 0000000000..84b3f27172
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/remove-status-check-contexts.html
@@ -0,0 +1,23 @@
+
+
+
+ Remove status check contexts
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts
+
+
+
+ Example[
+ "continuous-integration/jenkins"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ "continuous-integration/travis-ci"
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-status-check-protection.html b/cache/api.github.com/v3/repos/branches/remove-status-check-protection.html
new file mode 100644
index 0000000000..c95871d522
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/remove-status-check-protection.html
@@ -0,0 +1,11 @@
+
+
+
+ Remove status check protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks
+
+Status: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-team-access-restrictions.html b/cache/api.github.com/v3/repos/branches/remove-team-access-restrictions.html
new file mode 100644
index 0000000000..61002c705a
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/remove-team-access-restrictions.html
@@ -0,0 +1,53 @@
+
+
+
+ Remove team access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Removes the ability of a team to push to this branch. You can also remove push access for child teams.
+DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/teams
+
+
+
+ Parameters
+
+
+Type
+Description
+
+
+
+
+array
+Teams that should no longer have push access. Use the team's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
+
+
+
+
+
+ Example[
+ "octocats"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-team-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/remove-team-restrictions-of-protected-branch.html
deleted file mode 100644
index dc8207cfbf..0000000000
--- a/cache/api.github.com/v3/repos/branches/remove-team-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
- Remove team restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Removes the ability of a team to push to this branch. You can also remove push access for child teams.
-DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/teams
-
-
-
- Parameters
-
-
-Type
-Description
-
-
-
-
-array
-Teams that should no longer have push access. Use the team's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
-
-
-
-
-
- Example[
- "octocats"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "id": 1,
- "node_id": "MDQ6VGVhbTE=",
- "url": "https://api.github.com/teams/1",
- "html_url": "https://api.github.com/teams/justice-league",
- "name": "Justice League",
- "slug": "justice-league",
- "description": "A great team.",
- "privacy": "closed",
- "permission": "admin",
- "members_url": "https://api.github.com/teams/1/members{/member}",
- "repositories_url": "https://api.github.com/teams/1/repos",
- "parent": null
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-user-access-restrictions.html b/cache/api.github.com/v3/repos/branches/remove-user-access-restrictions.html
new file mode 100644
index 0000000000..3bc0ea9502
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/remove-user-access-restrictions.html
@@ -0,0 +1,59 @@
+
+
+
+ Remove user access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Removes the ability of a user to push to this branch.
+DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/users
+
+
+
+ Parameters
+
+
+Type
+Description
+
+
+
+
+array
+Usernames of the people who should no longer have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
+
+
+
+
+
+ Example[
+ "defunkt"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/remove-user-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/remove-user-restrictions-of-protected-branch.html
deleted file mode 100644
index e1450d43f4..0000000000
--- a/cache/api.github.com/v3/repos/branches/remove-user-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
- Remove user restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Removes the ability of a user to push to this branch.
-DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/users
-
-
-
- Parameters
-
-
-Type
-Description
-
-
-
-
-array
-Usernames of the people who should no longer have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
-
-
-
-
-
- Example[
- "defunkt"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/replace-app-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/replace-app-restrictions-of-protected-branch.html
deleted file mode 100644
index 070227a42c..0000000000
--- a/cache/api.github.com/v3/repos/branches/replace-app-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
- Replace app restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with write
access to the contents
permission can be added as authorized actors on a protected branch.
-PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/apps
-
-
-
- Parameters
-
-
-Type
-Description
-
-
-
-
-array
-The GitHub Apps that have push access to this branch. Use the app's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
-
-
-
-
-
- Example[
- "octoapp"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "id": 1,
- "slug": "octoapp",
- "node_id": "MDExOkludGVncmF0aW9uMQ==",
- "owner": {
- "login": "github",
- "id": 1,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
- "url": "https://api.github.com/orgs/github",
- "repos_url": "https://api.github.com/orgs/github/repos",
- "events_url": "https://api.github.com/orgs/github/events",
- "hooks_url": "https://api.github.com/orgs/github/hooks",
- "issues_url": "https://api.github.com/orgs/github/issues",
- "members_url": "https://api.github.com/orgs/github/members{/member}",
- "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "description": "A great organization"
- },
- "name": "Octocat App",
- "description": "",
- "external_url": "https://example.com",
- "html_url": "https://github.com/apps/octoapp",
- "created_at": "2017-07-08T16:18:44-04:00",
- "updated_at": "2017-07-08T16:18:44-04:00",
- "permissions": {
- "metadata": "read",
- "contents": "read",
- "issues": "write",
- "single_file": "write"
- },
- "events": [
- "push",
- "pull_request"
- ]
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/replace-required-status-checks-contexts-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/replace-required-status-checks-contexts-of-protected-branch.html
deleted file mode 100644
index 1561a6277f..0000000000
--- a/cache/api.github.com/v3/repos/branches/replace-required-status-checks-contexts-of-protected-branch.html
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
- Replace required status checks contexts of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-PUT /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts
-
-
-
- Example[
- "continuous-integration/travis-ci"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- "continuous-integration/travis-ci"
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/replace-team-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/replace-team-restrictions-of-protected-branch.html
deleted file mode 100644
index 74ed82c69d..0000000000
--- a/cache/api.github.com/v3/repos/branches/replace-team-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
- Replace team restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.
-PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/teams
-
-
-
- Parameters
-
-
-Type
-Description
-
-
-
-
-array
-The teams that can have push access. Use the team's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
-
-
-
-
-
- Example[
- "justice-league"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "id": 1,
- "node_id": "MDQ6VGVhbTE=",
- "url": "https://api.github.com/teams/1",
- "html_url": "https://api.github.com/teams/justice-league",
- "name": "Justice League",
- "slug": "justice-league",
- "description": "A great team.",
- "privacy": "closed",
- "permission": "admin",
- "members_url": "https://api.github.com/teams/1/members{/member}",
- "repositories_url": "https://api.github.com/teams/1/repos",
- "parent": null
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/replace-user-restrictions-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/replace-user-restrictions-of-protected-branch.html
deleted file mode 100644
index 2b480fba82..0000000000
--- a/cache/api.github.com/v3/repos/branches/replace-user-restrictions-of-protected-branch.html
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
- Replace user restrictions of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.
-PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/users
-
-
-
- Parameters
-
-
-Type
-Description
-
-
-
-
-array
-Usernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
-
-
-
-
-
- Example[
- "octocat"
-]
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/sections.json b/cache/api.github.com/v3/repos/branches/sections.json
index bb0605df6f..677dc14ccf 100644
--- a/cache/api.github.com/v3/repos/branches/sections.json
+++ b/cache/api.github.com/v3/repos/branches/sections.json
@@ -5,9 +5,9 @@
"url": "https://developer.github.com/v3/repos/branches/#list-branches"
},
{
- "id": "get-branch",
- "name": "Get branch",
- "url": "https://developer.github.com/v3/repos/branches/#get-branch"
+ "id": "get-a-branch",
+ "name": "Get a branch",
+ "url": "https://developer.github.com/v3/repos/branches/#get-a-branch"
},
{
"id": "get-branch-protection",
@@ -20,158 +20,158 @@
"url": "https://developer.github.com/v3/repos/branches/#update-branch-protection"
},
{
- "id": "remove-branch-protection",
- "name": "Remove branch protection",
- "url": "https://developer.github.com/v3/repos/branches/#remove-branch-protection"
+ "id": "delete-branch-protection",
+ "name": "Delete branch protection",
+ "url": "https://developer.github.com/v3/repos/branches/#delete-branch-protection"
},
{
- "id": "get-required-status-checks-of-protected-branch",
- "name": "Get required status checks of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#get-required-status-checks-of-protected-branch"
+ "id": "get-status-checks-protection",
+ "name": "Get status checks protection",
+ "url": "https://developer.github.com/v3/repos/branches/#get-status-checks-protection"
},
{
- "id": "update-required-status-checks-of-protected-branch",
- "name": "Update required status checks of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#update-required-status-checks-of-protected-branch"
+ "id": "update-status-check-potection",
+ "name": "Update status check potection",
+ "url": "https://developer.github.com/v3/repos/branches/#update-status-check-potection"
},
{
- "id": "remove-required-status-checks-of-protected-branch",
- "name": "Remove required status checks of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#remove-required-status-checks-of-protected-branch"
+ "id": "remove-status-check-protection",
+ "name": "Remove status check protection",
+ "url": "https://developer.github.com/v3/repos/branches/#remove-status-check-protection"
},
{
- "id": "list-required-status-checks-contexts-of-protected-branch",
- "name": "List required status checks contexts of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#list-required-status-checks-contexts-of-protected-branch"
+ "id": "get-all-status-check-contexts",
+ "name": "Get all status check contexts",
+ "url": "https://developer.github.com/v3/repos/branches/#get-all-status-check-contexts"
},
{
- "id": "replace-required-status-checks-contexts-of-protected-branch",
- "name": "Replace required status checks contexts of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#replace-required-status-checks-contexts-of-protected-branch"
+ "id": "set-status-check-contexts",
+ "name": "Set status check contexts",
+ "url": "https://developer.github.com/v3/repos/branches/#set-status-check-contexts"
},
{
- "id": "add-required-status-checks-contexts-of-protected-branch",
- "name": "Add required status checks contexts of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#add-required-status-checks-contexts-of-protected-branch"
+ "id": "add-status-check-contexts",
+ "name": "Add status check contexts",
+ "url": "https://developer.github.com/v3/repos/branches/#add-status-check-contexts"
},
{
- "id": "remove-required-status-checks-contexts-of-protected-branch",
- "name": "Remove required status checks contexts of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#remove-required-status-checks-contexts-of-protected-branch"
+ "id": "remove-status-check-contexts",
+ "name": "Remove status check contexts",
+ "url": "https://developer.github.com/v3/repos/branches/#remove-status-check-contexts"
},
{
- "id": "get-pull-request-review-enforcement-of-protected-branch",
- "name": "Get pull request review enforcement of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#get-pull-request-review-enforcement-of-protected-branch"
+ "id": "get-pull-request-review-protection",
+ "name": "Get pull request review protection",
+ "url": "https://developer.github.com/v3/repos/branches/#get-pull-request-review-protection"
},
{
- "id": "update-pull-request-review-enforcement-of-protected-branch",
- "name": "Update pull request review enforcement of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#update-pull-request-review-enforcement-of-protected-branch"
+ "id": "update-pull-request-review-protection",
+ "name": "Update pull request review protection",
+ "url": "https://developer.github.com/v3/repos/branches/#update-pull-request-review-protection"
},
{
- "id": "remove-pull-request-review-enforcement-of-protected-branch",
- "name": "Remove pull request review enforcement of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#remove-pull-request-review-enforcement-of-protected-branch"
+ "id": "delete-pull-request-review-protection",
+ "name": "Delete pull request review protection",
+ "url": "https://developer.github.com/v3/repos/branches/#delete-pull-request-review-protection"
},
{
- "id": "get-required-signatures-of-protected-branch",
- "name": "Get required signatures of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#get-required-signatures-of-protected-branch"
+ "id": "get-commit-signature-protection",
+ "name": "Get commit signature protection",
+ "url": "https://developer.github.com/v3/repos/branches/#get-commit-signature-protection"
},
{
- "id": "add-required-signatures-of-protected-branch",
- "name": "Add required signatures of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#add-required-signatures-of-protected-branch"
+ "id": "create-commit-signature-protection",
+ "name": "Create commit signature protection",
+ "url": "https://developer.github.com/v3/repos/branches/#create-commit-signature-protection"
},
{
- "id": "remove-required-signatures-of-protected-branch",
- "name": "Remove required signatures of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#remove-required-signatures-of-protected-branch"
+ "id": "delete-commit-signature-protection",
+ "name": "Delete commit signature protection",
+ "url": "https://developer.github.com/v3/repos/branches/#delete-commit-signature-protection"
},
{
- "id": "get-admin-enforcement-of-protected-branch",
- "name": "Get admin enforcement of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#get-admin-enforcement-of-protected-branch"
+ "id": "get-admin-branch-protection",
+ "name": "Get admin branch protection",
+ "url": "https://developer.github.com/v3/repos/branches/#get-admin-branch-protection"
},
{
- "id": "add-admin-enforcement-of-protected-branch",
- "name": "Add admin enforcement of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#add-admin-enforcement-of-protected-branch"
+ "id": "set-admin-branch-protection",
+ "name": "Set admin branch protection",
+ "url": "https://developer.github.com/v3/repos/branches/#set-admin-branch-protection"
},
{
- "id": "remove-admin-enforcement-of-protected-branch",
- "name": "Remove admin enforcement of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#remove-admin-enforcement-of-protected-branch"
+ "id": "delete-admin-branch-protection",
+ "name": "Delete admin branch protection",
+ "url": "https://developer.github.com/v3/repos/branches/#delete-admin-branch-protection"
},
{
- "id": "get-restrictions-of-protected-branch",
- "name": "Get restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#get-restrictions-of-protected-branch"
+ "id": "get-access-restrictions",
+ "name": "Get access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#get-access-restrictions"
},
{
- "id": "remove-restrictions-of-protected-branch",
- "name": "Remove restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#remove-restrictions-of-protected-branch"
+ "id": "delete-access-restrictions",
+ "name": "Delete access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#delete-access-restrictions"
},
{
- "id": "list-teams-with-access-to-protected-branch",
- "name": "List teams with access to protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#list-teams-with-access-to-protected-branch"
+ "id": "list-teams-with-access-to-the-protected-branch",
+ "name": "List teams with access to the protected branch",
+ "url": "https://developer.github.com/v3/repos/branches/#list-teams-with-access-to-the-protected-branch"
},
{
- "id": "replace-team-restrictions-of-protected-branch",
- "name": "Replace team restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#replace-team-restrictions-of-protected-branch"
+ "id": "set-team-access-restrictions",
+ "name": "Set team access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#set-team-access-restrictions"
},
{
- "id": "add-team-restrictions-of-protected-branch",
- "name": "Add team restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#add-team-restrictions-of-protected-branch"
+ "id": "add-team-access-restrictions",
+ "name": "Add team access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#add-team-access-restrictions"
},
{
- "id": "remove-team-restrictions-of-protected-branch",
- "name": "Remove team restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#remove-team-restrictions-of-protected-branch"
+ "id": "remove-team-access-restrictions",
+ "name": "Remove team access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#remove-team-access-restrictions"
},
{
- "id": "list-users-with-access-to-protected-branch",
- "name": "List users with access to protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#list-users-with-access-to-protected-branch"
+ "id": "list-users-with-access-to-the-protected-branch",
+ "name": "List users with access to the protected branch",
+ "url": "https://developer.github.com/v3/repos/branches/#list-users-with-access-to-the-protected-branch"
},
{
- "id": "replace-user-restrictions-of-protected-branch",
- "name": "Replace user restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#replace-user-restrictions-of-protected-branch"
+ "id": "set-user-access-restrictions",
+ "name": "Set user access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#set-user-access-restrictions"
},
{
- "id": "add-user-restrictions-of-protected-branch",
- "name": "Add user restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#add-user-restrictions-of-protected-branch"
+ "id": "add-user-access-restrictions",
+ "name": "Add user access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#add-user-access-restrictions"
},
{
- "id": "remove-user-restrictions-of-protected-branch",
- "name": "Remove user restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#remove-user-restrictions-of-protected-branch"
+ "id": "remove-user-access-restrictions",
+ "name": "Remove user access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#remove-user-access-restrictions"
},
{
- "id": "list-apps-with-access-to-protected-branch",
- "name": "List apps with access to protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#list-apps-with-access-to-protected-branch"
+ "id": "list-apps-with-access-to-the-protected-branch",
+ "name": "List apps with access to the protected branch",
+ "url": "https://developer.github.com/v3/repos/branches/#list-apps-with-access-to-the-protected-branch"
},
{
- "id": "replace-app-restrictions-of-protected-branch",
- "name": "Replace app restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#replace-app-restrictions-of-protected-branch"
+ "id": "set-app-access-restrictions",
+ "name": "Set app access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#set-app-access-restrictions"
},
{
- "id": "add-app-restrictions-of-protected-branch",
- "name": "Add app restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#add-app-restrictions-of-protected-branch"
+ "id": "add-app-access-restrictions",
+ "name": "Add app access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#add-app-access-restrictions"
},
{
- "id": "remove-app-restrictions-of-protected-branch",
- "name": "Remove app restrictions of protected branch",
- "url": "https://developer.github.com/v3/repos/branches/#remove-app-restrictions-of-protected-branch"
+ "id": "remove-app-access-restrictions",
+ "name": "Remove app access restrictions",
+ "url": "https://developer.github.com/v3/repos/branches/#remove-app-access-restrictions"
}
]
diff --git a/cache/api.github.com/v3/repos/branches/set-admin-branch-protection.html b/cache/api.github.com/v3/repos/branches/set-admin-branch-protection.html
new file mode 100644
index 0000000000..ac73f71189
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/set-admin-branch-protection.html
@@ -0,0 +1,19 @@
+
+
+
+ Set admin branch protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
+POST /repos/:owner/:repo/branches/:branch/protection/enforce_admins
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins",
+ "enabled": true
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/set-app-access-restrictions.html b/cache/api.github.com/v3/repos/branches/set-app-access-restrictions.html
new file mode 100644
index 0000000000..dcce539ce9
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/set-app-access-restrictions.html
@@ -0,0 +1,74 @@
+
+
+
+ Set app access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only installed GitHub Apps with write
access to the contents
permission can be added as authorized actors on a protected branch.
+PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/apps
+
+
+
+ Parameters
+
+
+Type
+Description
+
+
+
+
+array
+The GitHub Apps that have push access to this branch. Use the app's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
+
+
+
+
+
+ Example[
+ "octoapp"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "id": 1,
+ "slug": "octoapp",
+ "node_id": "MDExOkludGVncmF0aW9uMQ==",
+ "owner": {
+ "login": "github",
+ "id": 1,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
+ "url": "https://api.github.com/orgs/github",
+ "repos_url": "https://api.github.com/orgs/github/repos",
+ "events_url": "https://api.github.com/orgs/github/events",
+ "hooks_url": "https://api.github.com/orgs/github/hooks",
+ "issues_url": "https://api.github.com/orgs/github/issues",
+ "members_url": "https://api.github.com/orgs/github/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/github/public_members{/member}",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "description": "A great organization"
+ },
+ "name": "Octocat App",
+ "description": "",
+ "external_url": "https://example.com",
+ "html_url": "https://github.com/apps/octoapp",
+ "created_at": "2017-07-08T16:18:44-04:00",
+ "updated_at": "2017-07-08T16:18:44-04:00",
+ "permissions": {
+ "metadata": "read",
+ "contents": "read",
+ "issues": "write",
+ "single_file": "write"
+ },
+ "events": [
+ "push",
+ "pull_request"
+ ]
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/set-status-check-contexts.html b/cache/api.github.com/v3/repos/branches/set-status-check-contexts.html
new file mode 100644
index 0000000000..8274f6b635
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/set-status-check-contexts.html
@@ -0,0 +1,23 @@
+
+
+
+ Set status check contexts
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+PUT /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts
+
+
+
+ Example[
+ "continuous-integration/travis-ci"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ "continuous-integration/travis-ci"
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/set-team-access-restrictions.html b/cache/api.github.com/v3/repos/branches/set-team-access-restrictions.html
new file mode 100644
index 0000000000..ebd0c95936
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/set-team-access-restrictions.html
@@ -0,0 +1,53 @@
+
+
+
+ Set team access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams.
+PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/teams
+
+
+
+ Parameters
+
+
+Type
+Description
+
+
+
+
+array
+The teams that can have push access. Use the team's slug
. Note: The list of users, apps, and teams in total is limited to 100 items.
+
+
+
+
+
+ Example[
+ "justice-league"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/set-user-access-restrictions.html b/cache/api.github.com/v3/repos/branches/set-user-access-restrictions.html
new file mode 100644
index 0000000000..b2ec85e9a3
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/set-user-access-restrictions.html
@@ -0,0 +1,59 @@
+
+
+
+ Set user access restrictions
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.
+PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/users
+
+
+
+ Parameters
+
+
+Type
+Description
+
+
+
+
+array
+Usernames for people who can have push access. Note: The list of users, apps, and teams in total is limited to 100 items.
+
+
+
+
+
+ Example[
+ "octocat"
+]
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/update-pull-request-review-enforcement-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/update-pull-request-review-enforcement-of-protected-branch.html
deleted file mode 100644
index dca177fb10..0000000000
--- a/cache/api.github.com/v3/repos/branches/update-pull-request-review-enforcement-of-protected-branch.html
+++ /dev/null
@@ -1,154 +0,0 @@
-
-
-
- Update pull request review enforcement of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-
-
-Note: The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.luke-cage-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
-PATCH /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews
-
-
-
- ParametersThe object passed can have the following keys:
-
-
-
-Name
-Type
-Description
-
-
-
-
-dismissal_restrictions
-object
-Specify which users and teams can dismiss pull request reviews. Pass an empty dismissal_restrictions
object to disable. User and team dismissal_restrictions
are only available for organization-owned repositories. Omit this parameter for personal repositories.
-
-
-dismiss_stale_reviews
-boolean
-Set to true
if you want to automatically dismiss approving reviews when someone pushes a new commit.
-
-
-require_code_owner_reviews
-boolean
-Blocks merging pull requests until code owners have reviewed.
-
-
-required_approving_review_count
-integer
-Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6.
-
-
-
-The dismissal_restrictions
object must have the following keys:
-
-
-
-Name
-Type
-Description
-
-
-
-
-users
-array
-The list of user login
s with dismissal access
-
-
-teams
-array
-The list of team slug
s with dismissal access
-
-
-
-
-
-Note: Passing new arrays of users
and teams
replaces their previous values.
-
-
-
-
- Example{
- "dismissal_restrictions": {
- "users": [
- "octocat"
- ],
- "teams": [
- "justice-league"
- ]
- },
- "dismiss_stale_reviews": true,
- "require_code_owner_reviews": true,
- "required_approving_review_count": 2
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews",
- "dismissal_restrictions": {
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions",
- "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/users",
- "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/teams",
- "users": [
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
- ],
- "teams": [
- {
- "id": 1,
- "node_id": "MDQ6VGVhbTE=",
- "url": "https://api.github.com/teams/1",
- "html_url": "https://api.github.com/teams/justice-league",
- "name": "Justice League",
- "slug": "justice-league",
- "description": "A great team.",
- "privacy": "closed",
- "permission": "admin",
- "members_url": "https://api.github.com/teams/1/members{/member}",
- "repositories_url": "https://api.github.com/teams/1/repos",
- "parent": null
- }
- ]
- },
- "dismiss_stale_reviews": true,
- "require_code_owner_reviews": true,
- "required_approving_review_count": 2
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/update-pull-request-review-protection.html b/cache/api.github.com/v3/repos/branches/update-pull-request-review-protection.html
new file mode 100644
index 0000000000..13b7ce57b2
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/update-pull-request-review-protection.html
@@ -0,0 +1,154 @@
+
+
+
+ Update pull request review protection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+
+
+Note: The Protected Branches API now has a setting for requiring a specified number of approving pull request reviews before merging. This feature is currently available for developers to preview. See the blog post for full details. To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.luke-cage-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.
+PATCH /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews
+
+
+
+ ParametersThe object passed can have the following keys:
+
+
+
+Name
+Type
+Description
+
+
+
+
+dismissal_restrictions
+object
+Specify which users and teams can dismiss pull request reviews. Pass an empty dismissal_restrictions
object to disable. User and team dismissal_restrictions
are only available for organization-owned repositories. Omit this parameter for personal repositories.
+
+
+dismiss_stale_reviews
+boolean
+Set to true
if you want to automatically dismiss approving reviews when someone pushes a new commit.
+
+
+require_code_owner_reviews
+boolean
+Blocks merging pull requests until code owners have reviewed.
+
+
+required_approving_review_count
+integer
+Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6.
+
+
+
+The dismissal_restrictions
object must have the following keys:
+
+
+
+Name
+Type
+Description
+
+
+
+
+users
+array
+The list of user login
s with dismissal access
+
+
+teams
+array
+The list of team slug
s with dismissal access
+
+
+
+
+
+Note: Passing new arrays of users
and teams
replaces their previous values.
+
+
+
+
+ Example{
+ "dismissal_restrictions": {
+ "users": [
+ "octocat"
+ ],
+ "teams": [
+ "justice-league"
+ ]
+ },
+ "dismiss_stale_reviews": true,
+ "require_code_owner_reviews": true,
+ "required_approving_review_count": 2
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews",
+ "dismissal_restrictions": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions",
+ "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/users",
+ "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/teams",
+ "users": [
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ ],
+ "teams": [
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+ ]
+ },
+ "dismiss_stale_reviews": true,
+ "require_code_owner_reviews": true,
+ "required_approving_review_count": 2
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/update-required-status-checks-of-protected-branch.html b/cache/api.github.com/v3/repos/branches/update-required-status-checks-of-protected-branch.html
deleted file mode 100644
index bf63fda630..0000000000
--- a/cache/api.github.com/v3/repos/branches/update-required-status-checks-of-protected-branch.html
+++ /dev/null
@@ -1,56 +0,0 @@
-
-
-
- Update required status checks of protected branch
-Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
-
-
-Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.
-PATCH /repos/:owner/:repo/branches/:branch/protection/required_status_checks
-
-
-
- ParametersThe object passed can have the following keys:
-
-
-
-Name
-Type
-Description
-
-
-
-
-strict
-boolean
-Require branches to be up to date before merging.
-
-
-contexts
-array
-The list of status checks to require in order to merge into this branch
-
-
-
-
-
- Example{
- "strict": true,
- "contexts": [
- "continuous-integration/travis-ci"
- ]
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks",
- "strict": true,
- "contexts": [
- "continuous-integration/travis-ci"
- ],
- "contexts_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/branches/update-status-check-potection.html b/cache/api.github.com/v3/repos/branches/update-status-check-potection.html
new file mode 100644
index 0000000000..72eedaf65b
--- /dev/null
+++ b/cache/api.github.com/v3/repos/branches/update-status-check-potection.html
@@ -0,0 +1,56 @@
+
+
+
+ Update status check potection
+Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.
+
+
+Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled.
+PATCH /repos/:owner/:repo/branches/:branch/protection/required_status_checks
+
+
+
+ ParametersThe object passed can have the following keys:
+
+
+
+Name
+Type
+Description
+
+
+
+
+strict
+boolean
+Require branches to be up to date before merging.
+
+
+contexts
+array
+The list of status checks to require in order to merge into this branch
+
+
+
+
+
+ Example{
+ "strict": true,
+ "contexts": [
+ "continuous-integration/travis-ci"
+ ]
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks",
+ "strict": true,
+ "contexts": [
+ "continuous-integration/travis-ci"
+ ],
+ "contexts_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/add-a-repository-collaborator.html b/cache/api.github.com/v3/repos/collaborators/add-a-repository-collaborator.html
new file mode 100644
index 0000000000..08d41ac0a9
--- /dev/null
+++ b/cache/api.github.com/v3/repos/collaborators/add-a-repository-collaborator.html
@@ -0,0 +1,159 @@
+
+
+
+ Add a repository collaboratorThis endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
+PUT /repos/:owner/:repo/collaborators/:username
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+permission
+string
+The permission to grant the collaborator. Only valid on organization-owned repositories. Can be one of:
* pull
- can pull, but not push to or administer this repository.
* push
- can pull and push, but not administer this repository.
* admin
- can pull, push and administer this repository.
* maintain
- Recommended for project managers who need to manage the repository without access to sensitive or destructive actions.
* triage
- Recommended for contributors who need to proactively manage issues and pull requests without write access.
Default: push
+
+
+
+
+For more information the permission levels, see "Repository permission levels for an organization" in the GitHub Help documentation.
+Note that, if you choose not to pass any parameters, you'll need to set Content-Length
to zero when calling out to this endpoint. For more information, see "HTTP verbs."
+
+
+The invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the repository invitations API endpoints.
+
+
+
+
+ Rate limitsTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.
+
+
+ Response when person is already a collaboratorStatus: 204 No Content
+
+
+
+ Response when a new invitation is createdStatus: 201 Created
+
+{
+ "id": 1,
+ "repository": {
+ "id": 1296269,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
+ "name": "Hello-World",
+ "full_name": "octocat/Hello-World",
+ "owner": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/octocat/Hello-World",
+ "description": "This your first repo!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octocat/Hello-World",
+ "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ },
+ "invitee": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "inviter": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "permissions": "write",
+ "created_at": "2016-06-13T14:52:50-05:00",
+ "url": "https://api.github.com/user/repository_invitations/1296269",
+ "html_url": "https://github.com/octocat/Hello-World/invitations"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/add-user-as-a-collaborator.html b/cache/api.github.com/v3/repos/collaborators/add-user-as-a-collaborator.html
deleted file mode 100644
index 7b7675125b..0000000000
--- a/cache/api.github.com/v3/repos/collaborators/add-user-as-a-collaborator.html
+++ /dev/null
@@ -1,159 +0,0 @@
-
-
-
- Add user as a collaboratorThis endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
-PUT /repos/:owner/:repo/collaborators/:username
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-permission
-string
-The permission to grant the collaborator. Only valid on organization-owned repositories. Can be one of:
* pull
- can pull, but not push to or administer this repository.
* push
- can pull and push, but not administer this repository.
* admin
- can pull, push and administer this repository.
* maintain
- Recommended for project managers who need to manage the repository without access to sensitive or destructive actions.
* triage
- Recommended for contributors who need to proactively manage issues and pull requests without write access.
Default: push
-
-
-
-
-For more information the permission levels, see "Repository permission levels for an organization" in the GitHub Help documentation.
-Note that, if you choose not to pass any parameters, you'll need to set Content-Length
to zero when calling out to this endpoint. For more information, see "HTTP verbs."
-
-
-The invitee will receive a notification that they have been invited to the repository, which they must accept or decline. They may do this via the notifications page, the email they receive, or by using the repository invitations API endpoints.
-
-
-
-
- Rate limitsTo prevent abuse, you are limited to sending 50 invitations to a repository per 24 hour period. Note there is no limit if you are inviting organization members to an organization repository.
-
-
- Response when person is already a collaboratorStatus: 204 No Content
-
-
-
- Response when a new invitation is createdStatus: 201 Created
-
-{
- "id": 1,
- "repository": {
- "id": 1296269,
- "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
- "name": "Hello-World",
- "full_name": "octocat/Hello-World",
- "owner": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "private": false,
- "html_url": "https://github.com/octocat/Hello-World",
- "description": "This your first repo!",
- "fork": false,
- "url": "https://api.github.com/repos/octocat/Hello-World",
- "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
- "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
- "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
- "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
- "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
- "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
- "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
- "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
- "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
- "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
- "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
- "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
- "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
- "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
- "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
- "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
- "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
- "git_url": "git:github.com/octocat/Hello-World.git",
- "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
- "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
- "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
- "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
- "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
- "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
- "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
- "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
- "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
- "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
- "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
- "ssh_url": "git@github.com:octocat/Hello-World.git",
- "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
- "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
- "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
- "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
- "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
- "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
- "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "invitee": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "inviter": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "permissions": "write",
- "created_at": "2016-06-13T14:52:50-05:00",
- "url": "https://api.github.com/user/repository_invitations/1296269",
- "html_url": "https://github.com/octocat/Hello-World/invitations"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/check-if-a-user-is-a-collaborator.html b/cache/api.github.com/v3/repos/collaborators/check-if-a-user-is-a-collaborator.html
deleted file mode 100644
index 82838705fd..0000000000
--- a/cache/api.github.com/v3/repos/collaborators/check-if-a-user-is-a-collaborator.html
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
- Check if a user is a collaboratorFor organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.
-Team members will include the members of child teams.
-GET /repos/:owner/:repo/collaborators/:username
-
-
-
- Response if user is a collaboratorStatus: 204 No Content
-
-
-
- Response if user is not a collaboratorStatus: 404 Not Found
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/check-if-a-user-is-a-repository-collaborator.html b/cache/api.github.com/v3/repos/collaborators/check-if-a-user-is-a-repository-collaborator.html
new file mode 100644
index 0000000000..f6618e193f
--- /dev/null
+++ b/cache/api.github.com/v3/repos/collaborators/check-if-a-user-is-a-repository-collaborator.html
@@ -0,0 +1,15 @@
+
+
+
+ Check if a user is a repository collaboratorFor organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.
+Team members will include the members of child teams.
+GET /repos/:owner/:repo/collaborators/:username
+
+
+
+ Response if user is a collaboratorStatus: 204 No Content
+
+
+
+ Response if user is not a collaboratorStatus: 404 Not Found
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/get-repository-permissions-for-a-user.html b/cache/api.github.com/v3/repos/collaborators/get-repository-permissions-for-a-user.html
new file mode 100644
index 0000000000..e7c0fc4289
--- /dev/null
+++ b/cache/api.github.com/v3/repos/collaborators/get-repository-permissions-for-a-user.html
@@ -0,0 +1,34 @@
+
+
+
+ Get repository permissions for a userChecks the repository permission of a collaborator. The possible repository permissions are admin
, write
, read
, and none
.
+GET /repos/:owner/:repo/collaborators/:username/permission
+
+
+
+ Response if user has admin permissionsStatus: 200 OK
+
+{
+ "permission": "admin",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/index.html b/cache/api.github.com/v3/repos/collaborators/index.html
index b657a5e7b3..875e82a6f1 100644
--- a/cache/api.github.com/v3/repos/collaborators/index.html
+++ b/cache/api.github.com/v3/repos/collaborators/index.html
@@ -367,17 +367,17 @@
Collaborators
-- List collaborators
-- Check if a user is a collaborator
-- Review a user's permission level
-- Add user as a collaborator
-- Remove user as a collaborator
+- List repository collaborators
+- Check if a user is a repository collaborator
+- Get repository permissions for a user
+- Add a repository collaborator
+- Remove a repository collaborator
-
+ List repository collaborators
List collaboratorsFor organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.
@@ -448,7 +448,7 @@
-
+ Check if a user is a repository collaborator
Check if a user is a collaborator
For organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.
@@ -473,7 +473,7 @@
-
+ Get repository permissions for a user
Review a user's permission level
Checks the repository permission of a collaborator. The possible repository permissions are admin
, write
, read
, and none
.
@@ -515,7 +515,7 @@
-
+ Add a repository collaborator
Add user as a collaborator
This endpoint triggers notifications. Creating content too quickly using this endpoint may result in abuse rate limiting. See "Abuse rate limits" and "Dealing with abuse rate limits" for details.
@@ -692,7 +692,7 @@
-
+ Remove a repository collaborator
Remove user as a collaboratorDELETE /repos/:owner/:repo/collaborators/:username
diff --git a/cache/api.github.com/v3/repos/collaborators/list-collaborators.html b/cache/api.github.com/v3/repos/collaborators/list-collaborators.html
deleted file mode 100644
index 0b92be1416..0000000000
--- a/cache/api.github.com/v3/repos/collaborators/list-collaborators.html
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
- List collaboratorsFor organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.
-Team members will include the members of child teams.
-GET /repos/:owner/:repo/collaborators
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-affiliation
-string
-Filter collaborators returned by their affiliation. Can be one of:
* outside
: All outside collaborators of an organization-owned repository.
* direct
: All collaborators with permissions to an organization-owned repository, regardless of organization membership status.
* all
: All collaborators the authenticated user can see.
Default: all
-
-
-
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false,
- "permissions": {
- "pull": true,
- "push": true,
- "admin": false
- }
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/list-repository-collaborators.html b/cache/api.github.com/v3/repos/collaborators/list-repository-collaborators.html
new file mode 100644
index 0000000000..ab174f2baf
--- /dev/null
+++ b/cache/api.github.com/v3/repos/collaborators/list-repository-collaborators.html
@@ -0,0 +1,60 @@
+
+
+
+ List repository collaboratorsFor organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.
+Team members will include the members of child teams.
+GET /repos/:owner/:repo/collaborators
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+affiliation
+string
+Filter collaborators returned by their affiliation. Can be one of:
* outside
: All outside collaborators of an organization-owned repository.
* direct
: All collaborators with permissions to an organization-owned repository, regardless of organization membership status.
* all
: All collaborators the authenticated user can see.
Default: all
+
+
+
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false,
+ "permissions": {
+ "pull": true,
+ "push": true,
+ "admin": false
+ }
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/remove-a-repository-collaborator.html b/cache/api.github.com/v3/repos/collaborators/remove-a-repository-collaborator.html
new file mode 100644
index 0000000000..5a8fa683ee
--- /dev/null
+++ b/cache/api.github.com/v3/repos/collaborators/remove-a-repository-collaborator.html
@@ -0,0 +1,9 @@
+
+
+
+ Remove a repository collaboratorDELETE /repos/:owner/:repo/collaborators/:username
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/remove-user-as-a-collaborator.html b/cache/api.github.com/v3/repos/collaborators/remove-user-as-a-collaborator.html
deleted file mode 100644
index 5f109c01b6..0000000000
--- a/cache/api.github.com/v3/repos/collaborators/remove-user-as-a-collaborator.html
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- Remove user as a collaboratorDELETE /repos/:owner/:repo/collaborators/:username
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/review-a-users-permission-level.html b/cache/api.github.com/v3/repos/collaborators/review-a-users-permission-level.html
deleted file mode 100644
index 5f9a70cdd0..0000000000
--- a/cache/api.github.com/v3/repos/collaborators/review-a-users-permission-level.html
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
- Review a user's permission levelChecks the repository permission of a collaborator. The possible repository permissions are admin
, write
, read
, and none
.
-GET /repos/:owner/:repo/collaborators/:username/permission
-
-
-
- Response if user has admin permissionsStatus: 200 OK
-
-{
- "permission": "admin",
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/collaborators/sections.json b/cache/api.github.com/v3/repos/collaborators/sections.json
index 9224921098..2904a46618 100644
--- a/cache/api.github.com/v3/repos/collaborators/sections.json
+++ b/cache/api.github.com/v3/repos/collaborators/sections.json
@@ -1,27 +1,27 @@
[
{
- "id": "list-collaborators",
- "name": "List collaborators",
- "url": "https://developer.github.com/v3/repos/collaborators/#list-collaborators"
+ "id": "list-repository-collaborators",
+ "name": "List repository collaborators",
+ "url": "https://developer.github.com/v3/repos/collaborators/#list-repository-collaborators"
},
{
- "id": "check-if-a-user-is-a-collaborator",
- "name": "Check if a user is a collaborator",
- "url": "https://developer.github.com/v3/repos/collaborators/#check-if-a-user-is-a-collaborator"
+ "id": "check-if-a-user-is-a-repository-collaborator",
+ "name": "Check if a user is a repository collaborator",
+ "url": "https://developer.github.com/v3/repos/collaborators/#check-if-a-user-is-a-repository-collaborator"
},
{
- "id": "review-a-users-permission-level",
- "name": "Review a user's permission level",
- "url": "https://developer.github.com/v3/repos/collaborators/#review-a-users-permission-level"
+ "id": "get-repository-permissions-for-a-user",
+ "name": "Get repository permissions for a user",
+ "url": "https://developer.github.com/v3/repos/collaborators/#get-repository-permissions-for-a-user"
},
{
- "id": "add-user-as-a-collaborator",
- "name": "Add user as a collaborator",
- "url": "https://developer.github.com/v3/repos/collaborators/#add-user-as-a-collaborator"
+ "id": "add-a-repository-collaborator",
+ "name": "Add a repository collaborator",
+ "url": "https://developer.github.com/v3/repos/collaborators/#add-a-repository-collaborator"
},
{
- "id": "remove-user-as-a-collaborator",
- "name": "Remove user as a collaborator",
- "url": "https://developer.github.com/v3/repos/collaborators/#remove-user-as-a-collaborator"
+ "id": "remove-a-repository-collaborator",
+ "name": "Remove a repository collaborator",
+ "url": "https://developer.github.com/v3/repos/collaborators/#remove-a-repository-collaborator"
}
]
diff --git a/cache/api.github.com/v3/repos/comments/get-a-commit-comment.html b/cache/api.github.com/v3/repos/comments/get-a-commit-comment.html
new file mode 100644
index 0000000000..138892ae7f
--- /dev/null
+++ b/cache/api.github.com/v3/repos/comments/get-a-commit-comment.html
@@ -0,0 +1,72 @@
+
+
+
+ Get a commit commentGET /repos/:owner/:repo/comments/:comment_id
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1",
+ "url": "https://api.github.com/repos/octocat/Hello-World/comments/1",
+ "id": 1,
+ "node_id": "MDEzOkNvbW1pdENvbW1lbnQx",
+ "body": "Great stuff",
+ "path": "file1.txt",
+ "position": 4,
+ "line": 14,
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z"
+}
+
+
+
+ Reactions summary
+
+
+
+An additional reactions
object in the commit comment payload is currently available for developers to preview.
+ During the preview period, the APIs may change without advance notice.
+ Please see the blog post for full details.
+
+To access the API you must provide a custom media type in the Accept
header:
+
+ application/vnd.github.squirrel-girl-preview
+
+
+The reactions
key will have the following payload where url
can be used to construct the API location for listing and creating reactions.
+
+
+{
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "url": "https://api.github.com/repos/octocat/Hello-World/comments/1/reactions"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/comments/get-a-single-commit-comment.html b/cache/api.github.com/v3/repos/comments/get-a-single-commit-comment.html
deleted file mode 100644
index 4dd713ca18..0000000000
--- a/cache/api.github.com/v3/repos/comments/get-a-single-commit-comment.html
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
- Get a single commit commentGET /repos/:owner/:repo/comments/:comment_id
-
-
-
- ResponseStatus: 200 OK
-
-{
- "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1",
- "url": "https://api.github.com/repos/octocat/Hello-World/comments/1",
- "id": 1,
- "node_id": "MDEzOkNvbW1pdENvbW1lbnQx",
- "body": "Great stuff",
- "path": "file1.txt",
- "position": 4,
- "line": 14,
- "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "created_at": "2011-04-14T16:00:49Z",
- "updated_at": "2011-04-14T16:00:49Z"
-}
-
-
-
- Reactions summary
-
-
-
-An additional reactions
object in the commit comment payload is currently available for developers to preview.
- During the preview period, the APIs may change without advance notice.
- Please see the blog post for full details.
-
-To access the API you must provide a custom media type in the Accept
header:
-
- application/vnd.github.squirrel-girl-preview
-
-
-The reactions
key will have the following payload where url
can be used to construct the API location for listing and creating reactions.
-
-
-{
- "total_count": 5,
- "+1": 3,
- "-1": 1,
- "laugh": 0,
- "confused": 0,
- "heart": 1,
- "hooray": 0,
- "url": "https://api.github.com/repos/octocat/Hello-World/comments/1/reactions"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/comments/index.html b/cache/api.github.com/v3/repos/comments/index.html
index 0547f27841..14e5d64750 100644
--- a/cache/api.github.com/v3/repos/comments/index.html
+++ b/cache/api.github.com/v3/repos/comments/index.html
@@ -368,9 +368,9 @@
- List commit comments for a repository
-- List comments for a single commit
+- List commit comments
- Create a commit comment
-- Get a single commit comment
+- Get a commit comment
- Update a commit comment
- Delete a commit comment
- Custom media types
@@ -469,7 +469,7 @@
-
+ List commit comments
List comments for a single commit
Use the :commit_sha
to specify the commit that will have its comments listed.
@@ -662,7 +662,7 @@
-
+ Get a commit comment
Get a single commit commentGET /repos/:owner/:repo/comments/:comment_id
diff --git a/cache/api.github.com/v3/repos/comments/list-comments-for-a-single-commit.html b/cache/api.github.com/v3/repos/comments/list-comments-for-a-single-commit.html
deleted file mode 100644
index 3239af1cad..0000000000
--- a/cache/api.github.com/v3/repos/comments/list-comments-for-a-single-commit.html
+++ /dev/null
@@ -1,77 +0,0 @@
-
-
-
- List comments for a single commitUse the :commit_sha
to specify the commit that will have its comments listed.
-GET /repos/:owner/:repo/commits/:commit_sha/comments
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1",
- "url": "https://api.github.com/repos/octocat/Hello-World/comments/1",
- "id": 1,
- "node_id": "MDEzOkNvbW1pdENvbW1lbnQx",
- "body": "Great stuff",
- "path": "file1.txt",
- "position": 4,
- "line": 14,
- "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "created_at": "2011-04-14T16:00:49Z",
- "updated_at": "2011-04-14T16:00:49Z"
- }
-]
-
-
-
- Reactions summary
-
-
-
-An additional reactions
object in the commit comment payload is currently available for developers to preview.
- During the preview period, the APIs may change without advance notice.
- Please see the blog post for full details.
-
-To access the API you must provide a custom media type in the Accept
header:
-
- application/vnd.github.squirrel-girl-preview
-
-
-The reactions
key will have the following payload where url
can be used to construct the API location for listing and creating reactions.
-
-
-{
- "total_count": 5,
- "+1": 3,
- "-1": 1,
- "laugh": 0,
- "confused": 0,
- "heart": 1,
- "hooray": 0,
- "url": "https://api.github.com/repos/octocat/Hello-World/comments/1/reactions"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/comments/list-commit-comments.html b/cache/api.github.com/v3/repos/comments/list-commit-comments.html
new file mode 100644
index 0000000000..197929b746
--- /dev/null
+++ b/cache/api.github.com/v3/repos/comments/list-commit-comments.html
@@ -0,0 +1,77 @@
+
+
+
+ List commit commentsUse the :commit_sha
to specify the commit that will have its comments listed.
+GET /repos/:owner/:repo/commits/:commit_sha/comments
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1",
+ "url": "https://api.github.com/repos/octocat/Hello-World/comments/1",
+ "id": 1,
+ "node_id": "MDEzOkNvbW1pdENvbW1lbnQx",
+ "body": "Great stuff",
+ "path": "file1.txt",
+ "position": 4,
+ "line": 14,
+ "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "created_at": "2011-04-14T16:00:49Z",
+ "updated_at": "2011-04-14T16:00:49Z"
+ }
+]
+
+
+
+ Reactions summary
+
+
+
+An additional reactions
object in the commit comment payload is currently available for developers to preview.
+ During the preview period, the APIs may change without advance notice.
+ Please see the blog post for full details.
+
+To access the API you must provide a custom media type in the Accept
header:
+
+ application/vnd.github.squirrel-girl-preview
+
+
+The reactions
key will have the following payload where url
can be used to construct the API location for listing and creating reactions.
+
+
+{
+ "total_count": 5,
+ "+1": 3,
+ "-1": 1,
+ "laugh": 0,
+ "confused": 0,
+ "heart": 1,
+ "hooray": 0,
+ "url": "https://api.github.com/repos/octocat/Hello-World/comments/1/reactions"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/comments/sections.json b/cache/api.github.com/v3/repos/comments/sections.json
index 62a6e594e2..d9408edb51 100644
--- a/cache/api.github.com/v3/repos/comments/sections.json
+++ b/cache/api.github.com/v3/repos/comments/sections.json
@@ -5,9 +5,9 @@
"url": "https://developer.github.com/v3/repos/comments/#list-commit-comments-for-a-repository"
},
{
- "id": "list-comments-for-a-single-commit",
- "name": "List comments for a single commit",
- "url": "https://developer.github.com/v3/repos/comments/#list-comments-for-a-single-commit"
+ "id": "list-commit-comments",
+ "name": "List commit comments",
+ "url": "https://developer.github.com/v3/repos/comments/#list-commit-comments"
},
{
"id": "create-a-commit-comment",
@@ -15,9 +15,9 @@
"url": "https://developer.github.com/v3/repos/comments/#create-a-commit-comment"
},
{
- "id": "get-a-single-commit-comment",
- "name": "Get a single commit comment",
- "url": "https://developer.github.com/v3/repos/comments/#get-a-single-commit-comment"
+ "id": "get-a-commit-comment",
+ "name": "Get a commit comment",
+ "url": "https://developer.github.com/v3/repos/comments/#get-a-commit-comment"
},
{
"id": "update-a-commit-comment",
diff --git a/cache/api.github.com/v3/repos/commits/compare-two-commits.html b/cache/api.github.com/v3/repos/commits/compare-two-commits.html
index 747fa4e943..2c692e4e83 100644
--- a/cache/api.github.com/v3/repos/commits/compare-two-commits.html
+++ b/cache/api.github.com/v3/repos/commits/compare-two-commits.html
@@ -8,7 +8,7 @@
- Working with large comparisons
The response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the Commit List API to enumerate all commits in the range.
+The response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the List commits to enumerate all commits in the range.
For comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long to generate. You can typically resolve this error by using a smaller commit range.
diff --git a/cache/api.github.com/v3/repos/commits/get-a-commit.html b/cache/api.github.com/v3/repos/commits/get-a-commit.html
new file mode 100644
index 0000000000..dee7d3e2ab
--- /dev/null
+++ b/cache/api.github.com/v3/repos/commits/get-a-commit.html
@@ -0,0 +1,211 @@
+ Example
+
+
+ Get a commitReturns the contents of a single commit reference. You must have read
access for the repository to use this endpoint.
+You can pass the appropriate media type to fetch diff
and patch
formats. Diffs with binary data will have no patch
property.
+To return only the SHA-1 hash of the commit reference, you can provide the sha
custom media type in the Accept
header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.
+
GET /repos/:owner/:repo/commits/:ref
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==",
+ "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments",
+ "commit": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "author": {
+ "name": "Monalisa Octocat",
+ "email": "support@github.com",
+ "date": "2011-04-14T16:00:49Z"
+ },
+ "committer": {
+ "name": "Monalisa Octocat",
+ "email": "support@github.com",
+ "date": "2011-04-14T16:00:49Z"
+ },
+ "message": "Fix all the bugs",
+ "tree": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ },
+ "comment_count": 0,
+ "verification": {
+ "verified": false,
+ "reason": "unsigned",
+ "signature": null,
+ "payload": null
+ }
+ },
+ "author": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "committer": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "parents": [
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ }
+ ],
+ "stats": {
+ "additions": 104,
+ "deletions": 4,
+ "total": 108
+ },
+ "files": [
+ {
+ "filename": "file1.txt",
+ "additions": 10,
+ "deletions": 2,
+ "changes": 12,
+ "status": "modified",
+ "raw_url": "https://github.com/octocat/Hello-World/raw/7ca483543807a51b6079e54ac4cc392bc29ae284/file1.txt",
+ "blob_url": "https://github.com/octocat/Hello-World/blob/7ca483543807a51b6079e54ac4cc392bc29ae284/file1.txt",
+ "patch": "@@ -29,7 +29,7 @@\n....."
+ }
+ ]
+}
+
+
+
+ Signature verification object
The response will include a verification
object that describes the result of verifying the commit's signature. The following fields are included in the verification
object:
+
+
+
+Name
+Type
+Description
+
+
+
+
+verified
+boolean
+Indicates whether GitHub considers the signature in this commit to be verified.
+
+
+reason
+string
+The reason for verified
value. Possible values and their meanings are enumerated in table below.
+
+
+signature
+string
+The signature that was extracted from the commit.
+
+
+payload
+string
+The value that was signed.
+
+
+
+These are the possible values for reason
in the verification
object:
+
+
+
+Value
+Description
+
+
+
+
+expired_key
+The key that made the signature is expired.
+
+
+not_signing_key
+The "signing" flag is not among the usage flags in the GPG key that made the signature.
+
+
+gpgverify_error
+There was an error communicating with the signature verification service.
+
+
+gpgverify_unavailable
+The signature verification service is currently unavailable.
+
+
+unsigned
+The object does not include a signature.
+
+
+unknown_signature_type
+A non-PGP signature was found in the commit.
+
+
+no_user
+No user was associated with the committer
email address in the commit.
+
+
+unverified_email
+The committer
email address in the commit was associated with a user, but the email address is not verified on her/his account.
+
+
+bad_email
+The committer
email address in the commit is not included in the identities of the PGP key that made the signature.
+
+
+unknown_key
+The key that made the signature has not been registered with any user's account.
+
+
+malformed_signature
+There was an error parsing the signature.
+
+
+invalid
+The signature could not be cryptographically verified using the key whose key-id was found in the signature.
+
+
+valid
+None of the above errors applied, so the signature is considered to be verified.
+
+
+
+
+
+ Response when retrieving the SHA-1 of a commit referenceStatus: 200 OK
+
+6dcb09b5b57875f334f61aebed695e2e4193db5e
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/commits/get-a-single-commit.html b/cache/api.github.com/v3/repos/commits/get-a-single-commit.html
deleted file mode 100644
index 56338611ca..0000000000
--- a/cache/api.github.com/v3/repos/commits/get-a-single-commit.html
+++ /dev/null
@@ -1,211 +0,0 @@
-
-
-
- Get a single commitReturns the contents of a single commit reference. You must have read
access for the repository to use this endpoint.
-You can pass the appropriate media type to fetch diff
and patch
formats. Diffs with binary data will have no patch
property.
-To return only the SHA-1 hash of the commit reference, you can provide the sha
custom media type in the Accept
header. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.
-GET /repos/:owner/:repo/commits/:ref
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==",
- "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments",
- "commit": {
- "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "author": {
- "name": "Monalisa Octocat",
- "email": "support@github.com",
- "date": "2011-04-14T16:00:49Z"
- },
- "committer": {
- "name": "Monalisa Octocat",
- "email": "support@github.com",
- "date": "2011-04-14T16:00:49Z"
- },
- "message": "Fix all the bugs",
- "tree": {
- "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
- },
- "comment_count": 0,
- "verification": {
- "verified": false,
- "reason": "unsigned",
- "signature": null,
- "payload": null
- }
- },
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "committer": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "parents": [
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
- }
- ],
- "stats": {
- "additions": 104,
- "deletions": 4,
- "total": 108
- },
- "files": [
- {
- "filename": "file1.txt",
- "additions": 10,
- "deletions": 2,
- "changes": 12,
- "status": "modified",
- "raw_url": "https://github.com/octocat/Hello-World/raw/7ca483543807a51b6079e54ac4cc392bc29ae284/file1.txt",
- "blob_url": "https://github.com/octocat/Hello-World/blob/7ca483543807a51b6079e54ac4cc392bc29ae284/file1.txt",
- "patch": "@@ -29,7 +29,7 @@\n....."
- }
- ]
-}
-
-
-
- Signature verification objectThe response will include a verification
object that describes the result of verifying the commit's signature. The following fields are included in the verification
object:
-
-
-
-Name
-Type
-Description
-
-
-
-
-verified
-boolean
-Indicates whether GitHub considers the signature in this commit to be verified.
-
-
-reason
-string
-The reason for verified
value. Possible values and their meanings are enumerated in table below.
-
-
-signature
-string
-The signature that was extracted from the commit.
-
-
-payload
-string
-The value that was signed.
-
-
-
-These are the possible values for reason
in the verification
object:
-
-
-
-Value
-Description
-
-
-
-
-expired_key
-The key that made the signature is expired.
-
-
-not_signing_key
-The "signing" flag is not among the usage flags in the GPG key that made the signature.
-
-
-gpgverify_error
-There was an error communicating with the signature verification service.
-
-
-gpgverify_unavailable
-The signature verification service is currently unavailable.
-
-
-unsigned
-The object does not include a signature.
-
-
-unknown_signature_type
-A non-PGP signature was found in the commit.
-
-
-no_user
-No user was associated with the committer
email address in the commit.
-
-
-unverified_email
-The committer
email address in the commit was associated with a user, but the email address is not verified on her/his account.
-
-
-bad_email
-The committer
email address in the commit is not included in the identities of the PGP key that made the signature.
-
-
-unknown_key
-The key that made the signature has not been registered with any user's account.
-
-
-malformed_signature
-There was an error parsing the signature.
-
-
-invalid
-The signature could not be cryptographically verified using the key whose key-id was found in the signature.
-
-
-valid
-None of the above errors applied, so the signature is considered to be verified.
-
-
-
-
-
- Response when retrieving the SHA-1 of a commit referenceStatus: 200 OK
-
-6dcb09b5b57875f334f61aebed695e2e4193db5e
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/commits/index.html b/cache/api.github.com/v3/repos/commits/index.html
index 67f85561b3..a51473259e 100644
--- a/cache/api.github.com/v3/repos/commits/index.html
+++ b/cache/api.github.com/v3/repos/commits/index.html
@@ -367,17 +367,17 @@
Commits
-- List commits on a repository
-- Get a single commit
+- List commits
+- Get a commit
- Compare two commits
- List branches for HEAD commit
-- List pull requests associated with commit
+- List pull requests associated with a commit
The Repo Commits API supports listing, viewing, and comparing commits in a repository.
-
+ List commits
List commits on a repositoryGET /repos/:owner/:repo/commits
@@ -618,7 +618,7 @@
-
+ Get a commit
Get a single commit
Returns the contents of a single commit reference. You must have read
access for the repository to use this endpoint.
@@ -864,7 +864,7 @@
- Working with large comparisons
The response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the Commit List API to enumerate all commits in the range.
+The response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the List commits to enumerate all commits in the range.
For comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long to generate. You can typically resolve this error by using a smaller commit range.
@@ -1294,7 +1294,7 @@
-
+ List pull requests associated with a commit
List pull requests associated with commit
diff --git a/cache/api.github.com/v3/repos/commits/list-commits-on-a-repository.html b/cache/api.github.com/v3/repos/commits/list-commits-on-a-repository.html
deleted file mode 100644
index 57c0a613eb..0000000000
--- a/cache/api.github.com/v3/repos/commits/list-commits-on-a-repository.html
+++ /dev/null
@@ -1,227 +0,0 @@
-
-
-
- List commits on a repositoryGET /repos/:owner/:repo/commits
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-sha
-string
-SHA or branch to start listing commits from. Default: the repository’s default branch (usually master
).
-
-
-path
-string
-Only commits containing this file path will be returned.
-
-
-author
-string
-GitHub login or email address by which to filter by commit author.
-
-
-since
-string
-Only commits after this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
-
-
-until
-string
-Only commits before this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
-
-
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==",
- "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments",
- "commit": {
- "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "author": {
- "name": "Monalisa Octocat",
- "email": "support@github.com",
- "date": "2011-04-14T16:00:49Z"
- },
- "committer": {
- "name": "Monalisa Octocat",
- "email": "support@github.com",
- "date": "2011-04-14T16:00:49Z"
- },
- "message": "Fix all the bugs",
- "tree": {
- "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
- },
- "comment_count": 0,
- "verification": {
- "verified": false,
- "reason": "unsigned",
- "signature": null,
- "payload": null
- }
- },
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "committer": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "parents": [
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
- }
- ]
- }
-]
-
-
-
- Signature verification objectThe response will include a verification
object that describes the result of verifying the commit's signature. The following fields are included in the verification
object:
-
-
-
-Name
-Type
-Description
-
-
-
-
-verified
-boolean
-Indicates whether GitHub considers the signature in this commit to be verified.
-
-
-reason
-string
-The reason for verified
value. Possible values and their meanings are enumerated in table below.
-
-
-signature
-string
-The signature that was extracted from the commit.
-
-
-payload
-string
-The value that was signed.
-
-
-
-These are the possible values for reason
in the verification
object:
-
-
-
-Value
-Description
-
-
-
-
-expired_key
-The key that made the signature is expired.
-
-
-not_signing_key
-The "signing" flag is not among the usage flags in the GPG key that made the signature.
-
-
-gpgverify_error
-There was an error communicating with the signature verification service.
-
-
-gpgverify_unavailable
-The signature verification service is currently unavailable.
-
-
-unsigned
-The object does not include a signature.
-
-
-unknown_signature_type
-A non-PGP signature was found in the commit.
-
-
-no_user
-No user was associated with the committer
email address in the commit.
-
-
-unverified_email
-The committer
email address in the commit was associated with a user, but the email address is not verified on her/his account.
-
-
-bad_email
-The committer
email address in the commit is not included in the identities of the PGP key that made the signature.
-
-
-unknown_key
-The key that made the signature has not been registered with any user's account.
-
-
-malformed_signature
-There was an error parsing the signature.
-
-
-invalid
-The signature could not be cryptographically verified using the key whose key-id was found in the signature.
-
-
-valid
-None of the above errors applied, so the signature is considered to be verified.
-
-
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/commits/list-commits.html b/cache/api.github.com/v3/repos/commits/list-commits.html
new file mode 100644
index 0000000000..35369464bc
--- /dev/null
+++ b/cache/api.github.com/v3/repos/commits/list-commits.html
@@ -0,0 +1,227 @@
+
+
+
+ List commitsGET /repos/:owner/:repo/commits
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+sha
+string
+SHA or branch to start listing commits from. Default: the repository’s default branch (usually master
).
+
+
+path
+string
+Only commits containing this file path will be returned.
+
+
+author
+string
+GitHub login or email address by which to filter by commit author.
+
+
+since
+string
+Only commits after this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
+
+
+until
+string
+Only commits before this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
+
+
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==",
+ "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments",
+ "commit": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "author": {
+ "name": "Monalisa Octocat",
+ "email": "support@github.com",
+ "date": "2011-04-14T16:00:49Z"
+ },
+ "committer": {
+ "name": "Monalisa Octocat",
+ "email": "support@github.com",
+ "date": "2011-04-14T16:00:49Z"
+ },
+ "message": "Fix all the bugs",
+ "tree": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ },
+ "comment_count": 0,
+ "verification": {
+ "verified": false,
+ "reason": "unsigned",
+ "signature": null,
+ "payload": null
+ }
+ },
+ "author": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "committer": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "parents": [
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ }
+ ]
+ }
+]
+
+
+
+ Signature verification objectThe response will include a verification
object that describes the result of verifying the commit's signature. The following fields are included in the verification
object:
+
+
+
+Name
+Type
+Description
+
+
+
+
+verified
+boolean
+Indicates whether GitHub considers the signature in this commit to be verified.
+
+
+reason
+string
+The reason for verified
value. Possible values and their meanings are enumerated in table below.
+
+
+signature
+string
+The signature that was extracted from the commit.
+
+
+payload
+string
+The value that was signed.
+
+
+
+These are the possible values for reason
in the verification
object:
+
+
+
+Value
+Description
+
+
+
+
+expired_key
+The key that made the signature is expired.
+
+
+not_signing_key
+The "signing" flag is not among the usage flags in the GPG key that made the signature.
+
+
+gpgverify_error
+There was an error communicating with the signature verification service.
+
+
+gpgverify_unavailable
+The signature verification service is currently unavailable.
+
+
+unsigned
+The object does not include a signature.
+
+
+unknown_signature_type
+A non-PGP signature was found in the commit.
+
+
+no_user
+No user was associated with the committer
email address in the commit.
+
+
+unverified_email
+The committer
email address in the commit was associated with a user, but the email address is not verified on her/his account.
+
+
+bad_email
+The committer
email address in the commit is not included in the identities of the PGP key that made the signature.
+
+
+unknown_key
+The key that made the signature has not been registered with any user's account.
+
+
+malformed_signature
+There was an error parsing the signature.
+
+
+invalid
+The signature could not be cryptographically verified using the key whose key-id was found in the signature.
+
+
+valid
+None of the above errors applied, so the signature is considered to be verified.
+
+
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/commits/list-pull-requests-associated-with-a-commit.html b/cache/api.github.com/v3/repos/commits/list-pull-requests-associated-with-a-commit.html
new file mode 100644
index 0000000000..6211f0ce35
--- /dev/null
+++ b/cache/api.github.com/v3/repos/commits/list-pull-requests-associated-with-a-commit.html
@@ -0,0 +1,519 @@
+
+
+
+ List pull requests associated with a commit
+
+Note: Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the blog post for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.groot-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the List pull requests endpoint.
+GET /repos/:owner/:repo/commits/:commit_sha/pulls
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347",
+ "id": 1,
+ "node_id": "MDExOlB1bGxSZXF1ZXN0MQ==",
+ "html_url": "https://github.com/octocat/Hello-World/pull/1347",
+ "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff",
+ "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch",
+ "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347",
+ "commits_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits",
+ "review_comments_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments",
+ "review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}",
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments",
+ "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "number": 1347,
+ "state": "open",
+ "locked": true,
+ "title": "Amazing new feature",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "Please pull these awesome changes in!",
+ "labels": [
+ {
+ "id": 208045946,
+ "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=",
+ "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
+ "name": "bug",
+ "description": "Something isn't working",
+ "color": "f29513",
+ "default": true
+ }
+ ],
+ "milestone": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1",
+ "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0",
+ "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels",
+ "id": 1002604,
+ "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==",
+ "number": 1,
+ "state": "open",
+ "title": "v1.0",
+ "description": "Tracking milestone for version 1.0",
+ "creator": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "open_issues": 4,
+ "closed_issues": 8,
+ "created_at": "2011-04-10T20:09:31Z",
+ "updated_at": "2014-03-03T18:58:10Z",
+ "closed_at": "2013-02-12T13:22:01Z",
+ "due_on": "2012-10-09T23:39:01Z"
+ },
+ "active_lock_reason": "too heated",
+ "created_at": "2011-01-26T19:01:12Z",
+ "updated_at": "2011-01-26T19:01:12Z",
+ "closed_at": "2011-01-26T19:01:12Z",
+ "merged_at": "2011-01-26T19:01:12Z",
+ "merge_commit_sha": "e5bd3914e2e596debea16f433f57875b5b90bcd6",
+ "assignee": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "assignees": [
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ {
+ "login": "hubot",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/hubot_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/hubot",
+ "html_url": "https://github.com/hubot",
+ "followers_url": "https://api.github.com/users/hubot/followers",
+ "following_url": "https://api.github.com/users/hubot/following{/other_user}",
+ "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/hubot/subscriptions",
+ "organizations_url": "https://api.github.com/users/hubot/orgs",
+ "repos_url": "https://api.github.com/users/hubot/repos",
+ "events_url": "https://api.github.com/users/hubot/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/hubot/received_events",
+ "type": "User",
+ "site_admin": true
+ }
+ ],
+ "requested_reviewers": [
+ {
+ "login": "other_user",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/other_user_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/other_user",
+ "html_url": "https://github.com/other_user",
+ "followers_url": "https://api.github.com/users/other_user/followers",
+ "following_url": "https://api.github.com/users/other_user/following{/other_user}",
+ "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/other_user/subscriptions",
+ "organizations_url": "https://api.github.com/users/other_user/orgs",
+ "repos_url": "https://api.github.com/users/other_user/repos",
+ "events_url": "https://api.github.com/users/other_user/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/other_user/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ ],
+ "requested_teams": [
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+ ],
+ "head": {
+ "label": "octocat:new-topic",
+ "ref": "new-topic",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "repo": {
+ "id": 1296269,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
+ "name": "Hello-World",
+ "full_name": "octocat/Hello-World",
+ "owner": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/octocat/Hello-World",
+ "description": "This your first repo!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octocat/Hello-World",
+ "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
+ "clone_url": "https://github.com/octocat/Hello-World.git",
+ "mirror_url": "git:git.example.com/octocat/Hello-World",
+ "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks",
+ "svn_url": "https://svn.github.com/octocat/Hello-World",
+ "homepage": "https://github.com",
+ "language": null,
+ "forks_count": 9,
+ "stargazers_count": 80,
+ "watchers_count": 80,
+ "size": 108,
+ "default_branch": "master",
+ "open_issues_count": 0,
+ "is_template": true,
+ "topics": [
+ "octocat",
+ "atom",
+ "electron",
+ "api"
+ ],
+ "has_issues": true,
+ "has_projects": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "has_downloads": true,
+ "archived": false,
+ "disabled": false,
+ "visibility": "public",
+ "pushed_at": "2011-01-26T19:06:43Z",
+ "created_at": "2011-01-26T19:01:12Z",
+ "updated_at": "2011-01-26T19:14:43Z",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "allow_rebase_merge": true,
+ "template_repository": null,
+ "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
+ "allow_squash_merge": true,
+ "allow_merge_commit": true,
+ "subscribers_count": 42,
+ "network_count": 0
+ }
+ },
+ "base": {
+ "label": "octocat:master",
+ "ref": "master",
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "user": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "repo": {
+ "id": 1296269,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
+ "name": "Hello-World",
+ "full_name": "octocat/Hello-World",
+ "owner": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/octocat/Hello-World",
+ "description": "This your first repo!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octocat/Hello-World",
+ "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
+ "clone_url": "https://github.com/octocat/Hello-World.git",
+ "mirror_url": "git:git.example.com/octocat/Hello-World",
+ "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks",
+ "svn_url": "https://svn.github.com/octocat/Hello-World",
+ "homepage": "https://github.com",
+ "language": null,
+ "forks_count": 9,
+ "stargazers_count": 80,
+ "watchers_count": 80,
+ "size": 108,
+ "default_branch": "master",
+ "open_issues_count": 0,
+ "is_template": true,
+ "topics": [
+ "octocat",
+ "atom",
+ "electron",
+ "api"
+ ],
+ "has_issues": true,
+ "has_projects": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "has_downloads": true,
+ "archived": false,
+ "disabled": false,
+ "visibility": "public",
+ "pushed_at": "2011-01-26T19:06:43Z",
+ "created_at": "2011-01-26T19:01:12Z",
+ "updated_at": "2011-01-26T19:14:43Z",
+ "permissions": {
+ "admin": false,
+ "push": false,
+ "pull": true
+ },
+ "allow_rebase_merge": true,
+ "template_repository": null,
+ "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
+ "allow_squash_merge": true,
+ "allow_merge_commit": true,
+ "subscribers_count": 42,
+ "network_count": 0
+ }
+ },
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347"
+ },
+ "html": {
+ "href": "https://github.com/octocat/Hello-World/pull/1347"
+ },
+ "issue": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347"
+ },
+ "comments": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments"
+ },
+ "review_comments": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments"
+ },
+ "review_comment": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}"
+ },
+ "commits": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits"
+ },
+ "statuses": {
+ "href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ }
+ },
+ "author_association": "OWNER",
+ "draft": false
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/commits/list-pull-requests-associated-with-commit.html b/cache/api.github.com/v3/repos/commits/list-pull-requests-associated-with-commit.html
deleted file mode 100644
index 3ceb9e06a2..0000000000
--- a/cache/api.github.com/v3/repos/commits/list-pull-requests-associated-with-commit.html
+++ /dev/null
@@ -1,519 +0,0 @@
-
-
-
- List pull requests associated with commit
-
-Note: Listing branches or pull requests for a commit in the Commits API is currently available for developers to preview. See the blog post for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.groot-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-Lists all pull requests containing the provided commit SHA, which can be from any point in the commit history. The results will include open and closed pull requests. Additional preview headers may be required to see certain details for associated pull requests, such as whether a pull request is in a draft state. For more information about previews that might affect this endpoint, see the List pull requests endpoint.
-GET /repos/:owner/:repo/commits/:commit_sha/pulls
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347",
- "id": 1,
- "node_id": "MDExOlB1bGxSZXF1ZXN0MQ==",
- "html_url": "https://github.com/octocat/Hello-World/pull/1347",
- "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff",
- "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch",
- "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347",
- "commits_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits",
- "review_comments_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments",
- "review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}",
- "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments",
- "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "number": 1347,
- "state": "open",
- "locked": true,
- "title": "Amazing new feature",
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "body": "Please pull these awesome changes in!",
- "labels": [
- {
- "id": 208045946,
- "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=",
- "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
- "name": "bug",
- "description": "Something isn't working",
- "color": "f29513",
- "default": true
- }
- ],
- "milestone": {
- "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1",
- "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0",
- "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels",
- "id": 1002604,
- "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==",
- "number": 1,
- "state": "open",
- "title": "v1.0",
- "description": "Tracking milestone for version 1.0",
- "creator": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "open_issues": 4,
- "closed_issues": 8,
- "created_at": "2011-04-10T20:09:31Z",
- "updated_at": "2014-03-03T18:58:10Z",
- "closed_at": "2013-02-12T13:22:01Z",
- "due_on": "2012-10-09T23:39:01Z"
- },
- "active_lock_reason": "too heated",
- "created_at": "2011-01-26T19:01:12Z",
- "updated_at": "2011-01-26T19:01:12Z",
- "closed_at": "2011-01-26T19:01:12Z",
- "merged_at": "2011-01-26T19:01:12Z",
- "merge_commit_sha": "e5bd3914e2e596debea16f433f57875b5b90bcd6",
- "assignee": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "assignees": [
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- {
- "login": "hubot",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/hubot_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/hubot",
- "html_url": "https://github.com/hubot",
- "followers_url": "https://api.github.com/users/hubot/followers",
- "following_url": "https://api.github.com/users/hubot/following{/other_user}",
- "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/hubot/subscriptions",
- "organizations_url": "https://api.github.com/users/hubot/orgs",
- "repos_url": "https://api.github.com/users/hubot/repos",
- "events_url": "https://api.github.com/users/hubot/events{/privacy}",
- "received_events_url": "https://api.github.com/users/hubot/received_events",
- "type": "User",
- "site_admin": true
- }
- ],
- "requested_reviewers": [
- {
- "login": "other_user",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/other_user_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/other_user",
- "html_url": "https://github.com/other_user",
- "followers_url": "https://api.github.com/users/other_user/followers",
- "following_url": "https://api.github.com/users/other_user/following{/other_user}",
- "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/other_user/subscriptions",
- "organizations_url": "https://api.github.com/users/other_user/orgs",
- "repos_url": "https://api.github.com/users/other_user/repos",
- "events_url": "https://api.github.com/users/other_user/events{/privacy}",
- "received_events_url": "https://api.github.com/users/other_user/received_events",
- "type": "User",
- "site_admin": false
- }
- ],
- "requested_teams": [
- {
- "id": 1,
- "node_id": "MDQ6VGVhbTE=",
- "url": "https://api.github.com/teams/1",
- "html_url": "https://api.github.com/teams/justice-league",
- "name": "Justice League",
- "slug": "justice-league",
- "description": "A great team.",
- "privacy": "closed",
- "permission": "admin",
- "members_url": "https://api.github.com/teams/1/members{/member}",
- "repositories_url": "https://api.github.com/teams/1/repos",
- "parent": null
- }
- ],
- "head": {
- "label": "octocat:new-topic",
- "ref": "new-topic",
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "repo": {
- "id": 1296269,
- "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
- "name": "Hello-World",
- "full_name": "octocat/Hello-World",
- "owner": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "private": false,
- "html_url": "https://github.com/octocat/Hello-World",
- "description": "This your first repo!",
- "fork": false,
- "url": "https://api.github.com/repos/octocat/Hello-World",
- "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
- "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
- "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
- "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
- "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
- "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
- "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
- "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
- "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
- "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
- "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
- "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
- "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
- "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
- "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
- "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
- "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
- "git_url": "git:github.com/octocat/Hello-World.git",
- "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
- "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
- "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
- "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
- "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
- "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
- "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
- "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
- "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
- "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
- "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
- "ssh_url": "git@github.com:octocat/Hello-World.git",
- "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
- "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
- "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
- "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
- "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
- "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
- "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
- "clone_url": "https://github.com/octocat/Hello-World.git",
- "mirror_url": "git:git.example.com/octocat/Hello-World",
- "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks",
- "svn_url": "https://svn.github.com/octocat/Hello-World",
- "homepage": "https://github.com",
- "language": null,
- "forks_count": 9,
- "stargazers_count": 80,
- "watchers_count": 80,
- "size": 108,
- "default_branch": "master",
- "open_issues_count": 0,
- "is_template": true,
- "topics": [
- "octocat",
- "atom",
- "electron",
- "api"
- ],
- "has_issues": true,
- "has_projects": true,
- "has_wiki": true,
- "has_pages": false,
- "has_downloads": true,
- "archived": false,
- "disabled": false,
- "visibility": "public",
- "pushed_at": "2011-01-26T19:06:43Z",
- "created_at": "2011-01-26T19:01:12Z",
- "updated_at": "2011-01-26T19:14:43Z",
- "permissions": {
- "admin": false,
- "push": false,
- "pull": true
- },
- "allow_rebase_merge": true,
- "template_repository": null,
- "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
- "allow_squash_merge": true,
- "allow_merge_commit": true,
- "subscribers_count": 42,
- "network_count": 0
- }
- },
- "base": {
- "label": "octocat:master",
- "ref": "master",
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "user": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "repo": {
- "id": 1296269,
- "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
- "name": "Hello-World",
- "full_name": "octocat/Hello-World",
- "owner": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "private": false,
- "html_url": "https://github.com/octocat/Hello-World",
- "description": "This your first repo!",
- "fork": false,
- "url": "https://api.github.com/repos/octocat/Hello-World",
- "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
- "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
- "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
- "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
- "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
- "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
- "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
- "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
- "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
- "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
- "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
- "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
- "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
- "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
- "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
- "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
- "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
- "git_url": "git:github.com/octocat/Hello-World.git",
- "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
- "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
- "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
- "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
- "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
- "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
- "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
- "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
- "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
- "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
- "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
- "ssh_url": "git@github.com:octocat/Hello-World.git",
- "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
- "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
- "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
- "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
- "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
- "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
- "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}",
- "clone_url": "https://github.com/octocat/Hello-World.git",
- "mirror_url": "git:git.example.com/octocat/Hello-World",
- "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks",
- "svn_url": "https://svn.github.com/octocat/Hello-World",
- "homepage": "https://github.com",
- "language": null,
- "forks_count": 9,
- "stargazers_count": 80,
- "watchers_count": 80,
- "size": 108,
- "default_branch": "master",
- "open_issues_count": 0,
- "is_template": true,
- "topics": [
- "octocat",
- "atom",
- "electron",
- "api"
- ],
- "has_issues": true,
- "has_projects": true,
- "has_wiki": true,
- "has_pages": false,
- "has_downloads": true,
- "archived": false,
- "disabled": false,
- "visibility": "public",
- "pushed_at": "2011-01-26T19:06:43Z",
- "created_at": "2011-01-26T19:01:12Z",
- "updated_at": "2011-01-26T19:14:43Z",
- "permissions": {
- "admin": false,
- "push": false,
- "pull": true
- },
- "allow_rebase_merge": true,
- "template_repository": null,
- "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
- "allow_squash_merge": true,
- "allow_merge_commit": true,
- "subscribers_count": 42,
- "network_count": 0
- }
- },
- "_links": {
- "self": {
- "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347"
- },
- "html": {
- "href": "https://github.com/octocat/Hello-World/pull/1347"
- },
- "issue": {
- "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347"
- },
- "comments": {
- "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments"
- },
- "review_comments": {
- "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments"
- },
- "review_comment": {
- "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}"
- },
- "commits": {
- "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits"
- },
- "statuses": {
- "href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e"
- }
- },
- "author_association": "OWNER",
- "draft": false
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/commits/sections.json b/cache/api.github.com/v3/repos/commits/sections.json
index 6e18c5ebce..efd26f652a 100644
--- a/cache/api.github.com/v3/repos/commits/sections.json
+++ b/cache/api.github.com/v3/repos/commits/sections.json
@@ -1,13 +1,13 @@
[
{
- "id": "list-commits-on-a-repository",
- "name": "List commits on a repository",
- "url": "https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository"
+ "id": "list-commits",
+ "name": "List commits",
+ "url": "https://developer.github.com/v3/repos/commits/#list-commits"
},
{
- "id": "get-a-single-commit",
- "name": "Get a single commit",
- "url": "https://developer.github.com/v3/repos/commits/#get-a-single-commit"
+ "id": "get-a-commit",
+ "name": "Get a commit",
+ "url": "https://developer.github.com/v3/repos/commits/#get-a-commit"
},
{
"id": "compare-two-commits",
@@ -20,8 +20,8 @@
"url": "https://developer.github.com/v3/repos/commits/#list-branches-for-head-commit"
},
{
- "id": "list-pull-requests-associated-with-commit",
- "name": "List pull requests associated with commit",
- "url": "https://developer.github.com/v3/repos/commits/#list-pull-requests-associated-with-commit"
+ "id": "list-pull-requests-associated-with-a-commit",
+ "name": "List pull requests associated with a commit",
+ "url": "https://developer.github.com/v3/repos/commits/#list-pull-requests-associated-with-a-commit"
}
]
diff --git a/cache/api.github.com/v3/repos/community/get-community-profile-metrics.html b/cache/api.github.com/v3/repos/community/get-community-profile-metrics.html
new file mode 100644
index 0000000000..af3faca412
--- /dev/null
+++ b/cache/api.github.com/v3/repos/community/get-community-profile-metrics.html
@@ -0,0 +1,48 @@
+
+
+
+ Get community profile metricsGET /repos/:owner/:repo/community/profile
+
+This endpoint will return all community profile metrics, including an overall health score, repository description, the presence of documentation, detected code of conduct, detected license, and the presence of ISSUE_TEMPLATE, PULL_REQUEST_TEMPLATE, README, and CONTRIBUTING files.
+
+
+ ResponseStatus: 200 OK
+
+{
+ "health_percentage": 100,
+ "description": "My first repository on GitHub!",
+ "documentation": true,
+ "files": {
+ "code_of_conduct": {
+ "name": "Contributor Covenant",
+ "key": "contributor_covenant",
+ "url": "https://api.github.com/codes_of_conduct/contributor_covenant",
+ "html_url": "https://github.com/octocat/Hello-World/blob/master/CODE_OF_CONDUCT.md"
+ },
+ "contributing": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/contents/CONTRIBUTING",
+ "html_url": "https://github.com/octocat/Hello-World/blob/master/CONTRIBUTING"
+ },
+ "issue_template": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/contents/ISSUE_TEMPLATE",
+ "html_url": "https://github.com/octocat/Hello-World/blob/master/ISSUE_TEMPLATE"
+ },
+ "pull_request_template": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/contents/PULL_REQUEST_TEMPLATE",
+ "html_url": "https://github.com/octocat/Hello-World/blob/master/PULL_REQUEST_TEMPLATE"
+ },
+ "license": {
+ "name": "MIT License",
+ "key": "mit",
+ "spdx_id": "MIT",
+ "url": "https://api.github.com/licenses/mit",
+ "html_url": "https://github.com/octocat/Hello-World/blob/master/LICENSE"
+ },
+ "readme": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/contents/README.md",
+ "html_url": "https://github.com/octocat/Hello-World/blob/master/README.md"
+ }
+ },
+ "updated_at": "2017-02-28T19:09:29Z"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/community/index.html b/cache/api.github.com/v3/repos/community/index.html
index d3df8f0df0..5bc7e745b8 100644
--- a/cache/api.github.com/v3/repos/community/index.html
+++ b/cache/api.github.com/v3/repos/community/index.html
@@ -380,7 +380,7 @@
-
+ Get community profile metrics
Retrieve community profile metricsGET /repos/:owner/:repo/community/profile
diff --git a/cache/api.github.com/v3/repos/community/retrieve-community-profile-metrics.html b/cache/api.github.com/v3/repos/community/retrieve-community-profile-metrics.html
deleted file mode 100644
index 79329b505c..0000000000
--- a/cache/api.github.com/v3/repos/community/retrieve-community-profile-metrics.html
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
- Retrieve community profile metricsGET /repos/:owner/:repo/community/profile
-
-This endpoint will return all community profile metrics, including an overall health score, repository description, the presence of documentation, detected code of conduct, detected license, and the presence of ISSUE_TEMPLATE, PULL_REQUEST_TEMPLATE, README, and CONTRIBUTING files.
-
-
- ResponseStatus: 200 OK
-
-{
- "health_percentage": 100,
- "description": "My first repository on GitHub!",
- "documentation": true,
- "files": {
- "code_of_conduct": {
- "name": "Contributor Covenant",
- "key": "contributor_covenant",
- "url": "https://api.github.com/codes_of_conduct/contributor_covenant",
- "html_url": "https://github.com/octocat/Hello-World/blob/master/CODE_OF_CONDUCT.md"
- },
- "contributing": {
- "url": "https://api.github.com/repos/octocat/Hello-World/contents/CONTRIBUTING",
- "html_url": "https://github.com/octocat/Hello-World/blob/master/CONTRIBUTING"
- },
- "issue_template": {
- "url": "https://api.github.com/repos/octocat/Hello-World/contents/ISSUE_TEMPLATE",
- "html_url": "https://github.com/octocat/Hello-World/blob/master/ISSUE_TEMPLATE"
- },
- "pull_request_template": {
- "url": "https://api.github.com/repos/octocat/Hello-World/contents/PULL_REQUEST_TEMPLATE",
- "html_url": "https://github.com/octocat/Hello-World/blob/master/PULL_REQUEST_TEMPLATE"
- },
- "license": {
- "name": "MIT License",
- "key": "mit",
- "spdx_id": "MIT",
- "url": "https://api.github.com/licenses/mit",
- "html_url": "https://github.com/octocat/Hello-World/blob/master/LICENSE"
- },
- "readme": {
- "url": "https://api.github.com/repos/octocat/Hello-World/contents/README.md",
- "html_url": "https://github.com/octocat/Hello-World/blob/master/README.md"
- }
- },
- "updated_at": "2017-02-28T19:09:29Z"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/community/sections.json b/cache/api.github.com/v3/repos/community/sections.json
index 339a578e72..c1c13dcd58 100644
--- a/cache/api.github.com/v3/repos/community/sections.json
+++ b/cache/api.github.com/v3/repos/community/sections.json
@@ -1,7 +1,7 @@
[
{
- "id": "retrieve-community-profile-metrics",
- "name": "Retrieve community profile metrics",
- "url": "https://developer.github.com/v3/repos/community/#retrieve-community-profile-metrics"
+ "id": "get-community-profile-metrics",
+ "name": "Get community profile metrics",
+ "url": "https://developer.github.com/v3/repos/community/#get-community-profile-metrics"
}
]
diff --git a/cache/api.github.com/v3/repos/contents/create-or-update-a-file.html b/cache/api.github.com/v3/repos/contents/create-or-update-a-file.html
deleted file mode 100644
index b5a3f705c0..0000000000
--- a/cache/api.github.com/v3/repos/contents/create-or-update-a-file.html
+++ /dev/null
@@ -1,213 +0,0 @@
-
-
-
- Create or update a fileCreates a new file or updates an existing file in a repository.
-PUT /repos/:owner/:repo/contents/:path
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-message
-string
-
-Required. The commit message.
-
-
-content
-string
-
-Required. The new file content, using Base64 encoding.
-
-
-sha
-string
-
-Required if you are updating a file. The blob SHA of the file being replaced.
-
-
-branch
-string
-The branch name. Default: the repository’s default branch (usually master
)
-
-
-committer
-object
-The person that committed the file. Default: the authenticated user.
-
-
-author
-object
-The author of the file. Default: The committer
or the authenticated user if you omit committer
.
-
-
-
-Both the author
and committer
parameters have the same keys:
-
-
-
-Name
-Type
-Description
-
-
-
-
-name
-string
-
-Required. The name of the author or committer of the commit. You'll receive a 422
status code if name
is omitted.
-
-
-email
-string
-
-Required. The email of the author or committer of the commit. You'll receive a 422
status code if email
is omitted.
-
-
-
-
-
- Example for creating a file{
- "message": "my commit message",
- "committer": {
- "name": "Monalisa Octocat",
- "email": "octocat@github.com"
- },
- "content": "bXkgbmV3IGZpbGUgY29udGVudHM="
-}
-
-
-
- ResponseStatus: 201 Created
-
-{
- "content": {
- "name": "hello.txt",
- "path": "notes/hello.txt",
- "sha": "95b966ae1c166bd92f8ae7d1c313e738c731dfc3",
- "size": 9,
- "url": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt",
- "html_url": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt",
- "git_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/95b966ae1c166bd92f8ae7d1c313e738c731dfc3",
- "download_url": "https://raw.githubusercontent.com/octocat/HelloWorld/master/notes/hello.txt",
- "type": "file",
- "_links": {
- "self": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt",
- "git": "https://api.github.com/repos/octocat/Hello-World/git/blobs/95b966ae1c166bd92f8ae7d1c313e738c731dfc3",
- "html": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt"
- }
- },
- "commit": {
- "sha": "7638417db6d59f3c431d3e1f261cc637155684cd",
- "node_id": "MDY6Q29tbWl0NzYzODQxN2RiNmQ1OWYzYzQzMWQzZTFmMjYxY2M2MzcxNTU2ODRjZA==",
- "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd",
- "html_url": "https://github.com/octocat/Hello-World/git/commit/7638417db6d59f3c431d3e1f261cc637155684cd",
- "author": {
- "date": "2014-11-07T22:01:45Z",
- "name": "Monalisa Octocat",
- "email": "octocat@github.com"
- },
- "committer": {
- "date": "2014-11-07T22:01:45Z",
- "name": "Monalisa Octocat",
- "email": "octocat@github.com"
- },
- "message": "my commit message",
- "tree": {
- "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/691272480426f78a0138979dd3ce63b77f706feb",
- "sha": "691272480426f78a0138979dd3ce63b77f706feb"
- },
- "parents": [
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/1acc419d4d6a9ce985db7be48c6349a0475975b5",
- "html_url": "https://github.com/octocat/Hello-World/git/commit/1acc419d4d6a9ce985db7be48c6349a0475975b5",
- "sha": "1acc419d4d6a9ce985db7be48c6349a0475975b5"
- }
- ],
- "verification": {
- "verified": false,
- "reason": "unsigned",
- "signature": null,
- "payload": null
- }
- }
-}
-
-
-
- Example for updating a file{
- "message": "a new commit message",
- "committer": {
- "name": "Monalisa Octocat",
- "email": "octocat@github.com"
- },
- "content": "bXkgdXBkYXRlZCBmaWxlIGNvbnRlbnRz",
- "sha": "95b966ae1c166bd92f8ae7d1c313e738c731dfc3"
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "content": {
- "name": "hello.txt",
- "path": "notes/hello.txt",
- "sha": "a56507ed892d05a37c6d6128c260937ea4d287bd",
- "size": 9,
- "url": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt",
- "html_url": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt",
- "git_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/a56507ed892d05a37c6d6128c260937ea4d287bd",
- "download_url": "https://raw.githubusercontent.com/octocat/HelloWorld/master/notes/hello.txt",
- "type": "file",
- "_links": {
- "self": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt",
- "git": "https://api.github.com/repos/octocat/Hello-World/git/blobs/a56507ed892d05a37c6d6128c260937ea4d287bd",
- "html": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt"
- }
- },
- "commit": {
- "sha": "18a43cd8e1e3a79c786e3d808a73d23b6d212b16",
- "node_id": "MDY6Q29tbWl0MThhNDNjZDhlMWUzYTc5Yzc4NmUzZDgwOGE3M2QyM2I2ZDIxMmIxNg==",
- "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/18a43cd8e1e3a79c786e3d808a73d23b6d212b16",
- "html_url": "https://github.com/octocat/Hello-World/git/commit/18a43cd8e1e3a79c786e3d808a73d23b6d212b16",
- "author": {
- "date": "2014-11-07T22:01:45Z",
- "name": "Monalisa Octocat",
- "email": "octocat@github.com"
- },
- "committer": {
- "date": "2014-11-07T22:01:45Z",
- "name": "Monalisa Octocat",
- "email": "octocat@github.com"
- },
- "message": "my commit message",
- "tree": {
- "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/9a21f8e2018f42ffcf369b24d2cd20bc25c9e66f",
- "sha": "9a21f8e2018f42ffcf369b24d2cd20bc25c9e66f"
- },
- "parents": [
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/da5a433788da5c255edad7979b328b67d79f53f6",
- "html_url": "https://github.com/octocat/Hello-World/git/commit/da5a433788da5c255edad7979b328b67d79f53f6",
- "sha": "da5a433788da5c255edad7979b328b67d79f53f6"
- }
- ],
- "verification": {
- "verified": false,
- "reason": "unsigned",
- "signature": null,
- "payload": null
- }
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/contents/create-or-update-file-contents.html b/cache/api.github.com/v3/repos/contents/create-or-update-file-contents.html
new file mode 100644
index 0000000000..964e1c3406
--- /dev/null
+++ b/cache/api.github.com/v3/repos/contents/create-or-update-file-contents.html
@@ -0,0 +1,213 @@
+
+
+
+ Create or update file contentsCreates a new file or replaces an existing file in a repository.
+PUT /repos/:owner/:repo/contents/:path
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+message
+string
+
+Required. The commit message.
+
+
+content
+string
+
+Required. The new file content, using Base64 encoding.
+
+
+sha
+string
+
+Required if you are updating a file. The blob SHA of the file being replaced.
+
+
+branch
+string
+The branch name. Default: the repository’s default branch (usually master
)
+
+
+committer
+object
+The person that committed the file. Default: the authenticated user.
+
+
+author
+object
+The author of the file. Default: The committer
or the authenticated user if you omit committer
.
+
+
+
+Both the author
and committer
parameters have the same keys:
+
+
+
+Name
+Type
+Description
+
+
+
+
+name
+string
+
+Required. The name of the author or committer of the commit. You'll receive a 422
status code if name
is omitted.
+
+
+email
+string
+
+Required. The email of the author or committer of the commit. You'll receive a 422
status code if email
is omitted.
+
+
+
+
+
+ Example for creating a file{
+ "message": "my commit message",
+ "committer": {
+ "name": "Monalisa Octocat",
+ "email": "octocat@github.com"
+ },
+ "content": "bXkgbmV3IGZpbGUgY29udGVudHM="
+}
+
+
+
+ ResponseStatus: 201 Created
+
+{
+ "content": {
+ "name": "hello.txt",
+ "path": "notes/hello.txt",
+ "sha": "95b966ae1c166bd92f8ae7d1c313e738c731dfc3",
+ "size": 9,
+ "url": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt",
+ "html_url": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt",
+ "git_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/95b966ae1c166bd92f8ae7d1c313e738c731dfc3",
+ "download_url": "https://raw.githubusercontent.com/octocat/HelloWorld/master/notes/hello.txt",
+ "type": "file",
+ "_links": {
+ "self": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt",
+ "git": "https://api.github.com/repos/octocat/Hello-World/git/blobs/95b966ae1c166bd92f8ae7d1c313e738c731dfc3",
+ "html": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt"
+ }
+ },
+ "commit": {
+ "sha": "7638417db6d59f3c431d3e1f261cc637155684cd",
+ "node_id": "MDY6Q29tbWl0NzYzODQxN2RiNmQ1OWYzYzQzMWQzZTFmMjYxY2M2MzcxNTU2ODRjZA==",
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd",
+ "html_url": "https://github.com/octocat/Hello-World/git/commit/7638417db6d59f3c431d3e1f261cc637155684cd",
+ "author": {
+ "date": "2014-11-07T22:01:45Z",
+ "name": "Monalisa Octocat",
+ "email": "octocat@github.com"
+ },
+ "committer": {
+ "date": "2014-11-07T22:01:45Z",
+ "name": "Monalisa Octocat",
+ "email": "octocat@github.com"
+ },
+ "message": "my commit message",
+ "tree": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/691272480426f78a0138979dd3ce63b77f706feb",
+ "sha": "691272480426f78a0138979dd3ce63b77f706feb"
+ },
+ "parents": [
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/1acc419d4d6a9ce985db7be48c6349a0475975b5",
+ "html_url": "https://github.com/octocat/Hello-World/git/commit/1acc419d4d6a9ce985db7be48c6349a0475975b5",
+ "sha": "1acc419d4d6a9ce985db7be48c6349a0475975b5"
+ }
+ ],
+ "verification": {
+ "verified": false,
+ "reason": "unsigned",
+ "signature": null,
+ "payload": null
+ }
+ }
+}
+
+
+
+ Example for updating a file{
+ "message": "a new commit message",
+ "committer": {
+ "name": "Monalisa Octocat",
+ "email": "octocat@github.com"
+ },
+ "content": "bXkgdXBkYXRlZCBmaWxlIGNvbnRlbnRz",
+ "sha": "95b966ae1c166bd92f8ae7d1c313e738c731dfc3"
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "content": {
+ "name": "hello.txt",
+ "path": "notes/hello.txt",
+ "sha": "a56507ed892d05a37c6d6128c260937ea4d287bd",
+ "size": 9,
+ "url": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt",
+ "html_url": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt",
+ "git_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/a56507ed892d05a37c6d6128c260937ea4d287bd",
+ "download_url": "https://raw.githubusercontent.com/octocat/HelloWorld/master/notes/hello.txt",
+ "type": "file",
+ "_links": {
+ "self": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt",
+ "git": "https://api.github.com/repos/octocat/Hello-World/git/blobs/a56507ed892d05a37c6d6128c260937ea4d287bd",
+ "html": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt"
+ }
+ },
+ "commit": {
+ "sha": "18a43cd8e1e3a79c786e3d808a73d23b6d212b16",
+ "node_id": "MDY6Q29tbWl0MThhNDNjZDhlMWUzYTc5Yzc4NmUzZDgwOGE3M2QyM2I2ZDIxMmIxNg==",
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/18a43cd8e1e3a79c786e3d808a73d23b6d212b16",
+ "html_url": "https://github.com/octocat/Hello-World/git/commit/18a43cd8e1e3a79c786e3d808a73d23b6d212b16",
+ "author": {
+ "date": "2014-11-07T22:01:45Z",
+ "name": "Monalisa Octocat",
+ "email": "octocat@github.com"
+ },
+ "committer": {
+ "date": "2014-11-07T22:01:45Z",
+ "name": "Monalisa Octocat",
+ "email": "octocat@github.com"
+ },
+ "message": "my commit message",
+ "tree": {
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/9a21f8e2018f42ffcf369b24d2cd20bc25c9e66f",
+ "sha": "9a21f8e2018f42ffcf369b24d2cd20bc25c9e66f"
+ },
+ "parents": [
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/da5a433788da5c255edad7979b328b67d79f53f6",
+ "html_url": "https://github.com/octocat/Hello-World/git/commit/da5a433788da5c255edad7979b328b67d79f53f6",
+ "sha": "da5a433788da5c255edad7979b328b67d79f53f6"
+ }
+ ],
+ "verification": {
+ "verified": false,
+ "reason": "unsigned",
+ "signature": null,
+ "payload": null
+ }
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/contents/custom-media-types.html b/cache/api.github.com/v3/repos/contents/custom-media-types.html
index 964222eb30..adf111a81d 100644
--- a/cache/api.github.com/v3/repos/contents/custom-media-types.html
+++ b/cache/api.github.com/v3/repos/contents/custom-media-types.html
@@ -1,12 +1,12 @@
- Custom media typesREADMEs, files, and symlinks support the following custom media types:
+READMEs, files, and symlinks support the following custom media types:
application/vnd.github.VERSION.raw
application/vnd.github.VERSION.html
Use the .raw
media type to retrieve the contents of the file.
For markup files such as Markdown or AsciiDoc, you can retrieve the rendered HTML using the .html
media type. Markup languages are rendered to HTML using our open-source Markup library.
-All objects support the following custom media type:
+All objects support the following custom media type:
application/vnd.github.VERSION.object
Use the object
media type parameter to retrieve the contents in a consistent object format regardless of the content type. For example, instead of an array of objects
diff --git a/cache/api.github.com/v3/repos/contents/download-a-repository-archive.html b/cache/api.github.com/v3/repos/contents/download-a-repository-archive.html
new file mode 100644
index 0000000000..41b49f669c
--- /dev/null
+++ b/cache/api.github.com/v3/repos/contents/download-a-repository-archive.html
@@ -0,0 +1,20 @@
+
+
+
+ Download a repository archiveGets a redirect URL to download an archive for a repository. The :archive_format
can be either tarball
+or zipball
. The :ref
must be a valid Git reference. If you omit :ref
, the repository’s default branch (usually master
) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use the Location
header
+to make a second GET
request.
+Note: For private repositories, these links are temporary and expire after five minutes.
+GET /repos/:owner/:repo/:archive_format/:ref
+
+
+
+ ResponseStatus: 302 Found
+Location: https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires
+
+To follow redirects with curl, use the -L
switch:
+$curl -L https://api.github.com/repos/octokit/octokit.rb/tarball > octokit.tar.gz
+ % Total % Received % Xferd Average Speed Time Time Time Current
+ Dload Upload Total Spent Left Speed
+100 206k 100 206k 0 0 146k 0 0:00:01 0:00:01 --:--:-- 790k
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/contents/get-a-repository-readme.html b/cache/api.github.com/v3/repos/contents/get-a-repository-readme.html
new file mode 100644
index 0000000000..234c5ec7d6
--- /dev/null
+++ b/cache/api.github.com/v3/repos/contents/get-a-repository-readme.html
@@ -0,0 +1,48 @@
+
+
+
+ Get a repository READMEGets the preferred README for a repository.
+GET /repos/:owner/:repo/readme
+
+READMEs support custom media types for retrieving the raw content or rendered HTML.
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+ref
+string
+The name of the commit/branch/tag. Default: the repository’s default branch (usually master
)
+
+
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "type": "file",
+ "encoding": "base64",
+ "size": 5362,
+ "name": "README.md",
+ "path": "README.md",
+ "content": "encoded content ...",
+ "sha": "3d21ec53a331a6f037a91c368710b99387d012c1",
+ "url": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md",
+ "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1",
+ "html_url": "https://github.com/octokit/octokit.rb/blob/master/README.md",
+ "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md",
+ "_links": {
+ "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1",
+ "self": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md",
+ "html": "https://github.com/octokit/octokit.rb/blob/master/README.md"
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/contents/get-archive-link.html b/cache/api.github.com/v3/repos/contents/get-archive-link.html
deleted file mode 100644
index 016140af2d..0000000000
--- a/cache/api.github.com/v3/repos/contents/get-archive-link.html
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- Get archive linkGets a redirect URL to download an archive for a repository. The :archive_format
can be either tarball
-or zipball
. The :ref
must be a valid Git reference. If you omit :ref
, the repository’s default branch (usually master
) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use the Location
header
-to make a second GET
request.
-Note: For private repositories, these links are temporary and expire after five minutes.
-GET /repos/:owner/:repo/:archive_format/:ref
-
-
-
- ResponseStatus: 302 Found
-Location: https://codeload.github.com/me/myprivate/legacy.zip/master?login=me&token=thistokenexpires
-
-To follow redirects with curl, use the -L
switch:
-$curl -L https://api.github.com/repos/octokit/octokit.rb/tarball > octokit.tar.gz
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
-100 206k 100 206k 0 0 146k 0 0:00:01 0:00:01 --:--:-- 790k
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/contents/get-contents.html b/cache/api.github.com/v3/repos/contents/get-contents.html
deleted file mode 100644
index 8bccbea149..0000000000
--- a/cache/api.github.com/v3/repos/contents/get-contents.html
+++ /dev/null
@@ -1,153 +0,0 @@
-
-
-
- Get contentsGets the contents of a file or directory in a repository. Specify the file path or directory in :path
. If you omit :path
, you will receive the contents of all files in the repository.
-GET /repos/:owner/:repo/contents/:path
-
-Files and symlinks support a custom media type for retrieving the raw content or rendered HTML (when supported).
-All content types support a custom media type to ensure the content is returned in a consistent object format.
-
-
-Note:
-
-
-- To get a repository's contents recursively, you can recursively get the tree.
-- This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the Git Trees API.
-- This API supports files up to 1 megabyte in size.
-
-
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-ref
-string
-The name of the commit/branch/tag. Default: the repository’s default branch (usually master
)
-
-
-
-
-
- Response if content is a fileStatus: 200 OK
-
-{
- "type": "file",
- "encoding": "base64",
- "size": 5362,
- "name": "README.md",
- "path": "README.md",
- "content": "encoded content ...",
- "sha": "3d21ec53a331a6f037a91c368710b99387d012c1",
- "url": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md",
- "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1",
- "html_url": "https://github.com/octokit/octokit.rb/blob/master/README.md",
- "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md",
- "_links": {
- "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1",
- "self": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md",
- "html": "https://github.com/octokit/octokit.rb/blob/master/README.md"
- }
-}
-
-
-
- Response if content is a directoryThe response will be an array of objects, one object for each item in the directory.
-When listing the contents of a directory, submodules have their "type"
-specified as "file". Logically, the value should be "submodule". This behavior
-exists in API v3 for backwards compatibility purposes.
-In the next major version of the API, the type will be returned as "submodule".
-Status: 200 OK
-
-[
- {
- "type": "file",
- "size": 625,
- "name": "octokit.rb",
- "path": "lib/octokit.rb",
- "sha": "fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b",
- "url": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit.rb",
- "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b",
- "html_url": "https://github.com/octokit/octokit.rb/blob/master/lib/octokit.rb",
- "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/lib/octokit.rb",
- "_links": {
- "self": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit.rb",
- "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b",
- "html": "https://github.com/octokit/octokit.rb/blob/master/lib/octokit.rb"
- }
- },
- {
- "type": "dir",
- "size": 0,
- "name": "octokit",
- "path": "lib/octokit",
- "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d",
- "url": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit",
- "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/trees/a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d",
- "html_url": "https://github.com/octokit/octokit.rb/tree/master/lib/octokit",
- "download_url": null,
- "_links": {
- "self": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit",
- "git": "https://api.github.com/repos/octokit/octokit.rb/git/trees/a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d",
- "html": "https://github.com/octokit/octokit.rb/tree/master/lib/octokit"
- }
- }
-]
-
-
-
- Response if content is a symlinkIf the requested :path
points to a symlink, and the symlink's target is a normal file in the repository, then the API responds with the content of the file (in the format shown above).
-Otherwise, the API responds with an object describing the symlink itself:
-Status: 200 OK
-
-{
- "type": "symlink",
- "target": "/path/to/symlink/target",
- "size": 23,
- "name": "some-symlink",
- "path": "bin/some-symlink",
- "sha": "452a98979c88e093d682cab404a3ec82babebb48",
- "url": "https://api.github.com/repos/octokit/octokit.rb/contents/bin/some-symlink",
- "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/452a98979c88e093d682cab404a3ec82babebb48",
- "html_url": "https://github.com/octokit/octokit.rb/blob/master/bin/some-symlink",
- "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/bin/some-symlink",
- "_links": {
- "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/452a98979c88e093d682cab404a3ec82babebb48",
- "self": "https://api.github.com/repos/octokit/octokit.rb/contents/bin/some-symlink",
- "html": "https://github.com/octokit/octokit.rb/blob/master/bin/some-symlink"
- }
-}
-
-
-
- Response if content is a submoduleThe submodule_git_url
identifies the location of the submodule repository, and the sha
identifies a specific commit within the submodule repository.
-Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit.
-If the submodule repository is not hosted on github.com, the Git URLs (git_url
and _links["git"]
) and the github.com URLs (html_url
and _links["html"]
) will have null values.
-Status: 200 OK
-
-{
- "type": "submodule",
- "submodule_git_url": "git://github.com/jquery/qunit.git",
- "size": 0,
- "name": "qunit",
- "path": "test/qunit",
- "sha": "6ca3721222109997540bd6d9ccd396902e0ad2f9",
- "url": "https://api.github.com/repos/jquery/jquery/contents/test/qunit?ref=master",
- "git_url": "https://api.github.com/repos/jquery/qunit/git/trees/6ca3721222109997540bd6d9ccd396902e0ad2f9",
- "html_url": "https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9",
- "download_url": null,
- "_links": {
- "git": "https://api.github.com/repos/jquery/qunit/git/trees/6ca3721222109997540bd6d9ccd396902e0ad2f9",
- "self": "https://api.github.com/repos/jquery/jquery/contents/test/qunit?ref=master",
- "html": "https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9"
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/contents/get-repository-content.html b/cache/api.github.com/v3/repos/contents/get-repository-content.html
new file mode 100644
index 0000000000..8a9e2f951d
--- /dev/null
+++ b/cache/api.github.com/v3/repos/contents/get-repository-content.html
@@ -0,0 +1,153 @@
+
+
+
+ Get repository contentGets the contents of a file or directory in a repository. Specify the file path or directory in :path
. If you omit :path
, you will receive the contents of all files in the repository.
+GET /repos/:owner/:repo/contents/:path
+
+Files and symlinks support a custom media type for retrieving the raw content or rendered HTML (when supported).
+All content types support a custom media type to ensure the content is returned in a consistent object format.
+
+
+Note:
+
+
+- To get a repository's contents recursively, you can recursively get the tree.
+- This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the Git Trees API.
+- This API supports files up to 1 megabyte in size.
+
+
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+ref
+string
+The name of the commit/branch/tag. Default: the repository’s default branch (usually master
)
+
+
+
+
+
+ Response if content is a fileStatus: 200 OK
+
+{
+ "type": "file",
+ "encoding": "base64",
+ "size": 5362,
+ "name": "README.md",
+ "path": "README.md",
+ "content": "encoded content ...",
+ "sha": "3d21ec53a331a6f037a91c368710b99387d012c1",
+ "url": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md",
+ "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1",
+ "html_url": "https://github.com/octokit/octokit.rb/blob/master/README.md",
+ "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md",
+ "_links": {
+ "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1",
+ "self": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md",
+ "html": "https://github.com/octokit/octokit.rb/blob/master/README.md"
+ }
+}
+
+
+
+ Response if content is a directoryThe response will be an array of objects, one object for each item in the directory.
+When listing the contents of a directory, submodules have their "type"
+specified as "file". Logically, the value should be "submodule". This behavior
+exists in API v3 for backwards compatibility purposes.
+In the next major version of the API, the type will be returned as "submodule".
+Status: 200 OK
+
+[
+ {
+ "type": "file",
+ "size": 625,
+ "name": "octokit.rb",
+ "path": "lib/octokit.rb",
+ "sha": "fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b",
+ "url": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit.rb",
+ "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b",
+ "html_url": "https://github.com/octokit/octokit.rb/blob/master/lib/octokit.rb",
+ "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/lib/octokit.rb",
+ "_links": {
+ "self": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit.rb",
+ "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b",
+ "html": "https://github.com/octokit/octokit.rb/blob/master/lib/octokit.rb"
+ }
+ },
+ {
+ "type": "dir",
+ "size": 0,
+ "name": "octokit",
+ "path": "lib/octokit",
+ "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d",
+ "url": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit",
+ "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/trees/a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d",
+ "html_url": "https://github.com/octokit/octokit.rb/tree/master/lib/octokit",
+ "download_url": null,
+ "_links": {
+ "self": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit",
+ "git": "https://api.github.com/repos/octokit/octokit.rb/git/trees/a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d",
+ "html": "https://github.com/octokit/octokit.rb/tree/master/lib/octokit"
+ }
+ }
+]
+
+
+
+ Response if content is a symlinkIf the requested :path
points to a symlink, and the symlink's target is a normal file in the repository, then the API responds with the content of the file (in the format shown above).
+Otherwise, the API responds with an object describing the symlink itself:
+Status: 200 OK
+
+{
+ "type": "symlink",
+ "target": "/path/to/symlink/target",
+ "size": 23,
+ "name": "some-symlink",
+ "path": "bin/some-symlink",
+ "sha": "452a98979c88e093d682cab404a3ec82babebb48",
+ "url": "https://api.github.com/repos/octokit/octokit.rb/contents/bin/some-symlink",
+ "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/452a98979c88e093d682cab404a3ec82babebb48",
+ "html_url": "https://github.com/octokit/octokit.rb/blob/master/bin/some-symlink",
+ "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/bin/some-symlink",
+ "_links": {
+ "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/452a98979c88e093d682cab404a3ec82babebb48",
+ "self": "https://api.github.com/repos/octokit/octokit.rb/contents/bin/some-symlink",
+ "html": "https://github.com/octokit/octokit.rb/blob/master/bin/some-symlink"
+ }
+}
+
+
+
+ Response if content is a submoduleThe submodule_git_url
identifies the location of the submodule repository, and the sha
identifies a specific commit within the submodule repository.
+Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit.
+If the submodule repository is not hosted on github.com, the Git URLs (git_url
and _links["git"]
) and the github.com URLs (html_url
and _links["html"]
) will have null values.
+Status: 200 OK
+
+{
+ "type": "submodule",
+ "submodule_git_url": "git://github.com/jquery/qunit.git",
+ "size": 0,
+ "name": "qunit",
+ "path": "test/qunit",
+ "sha": "6ca3721222109997540bd6d9ccd396902e0ad2f9",
+ "url": "https://api.github.com/repos/jquery/jquery/contents/test/qunit?ref=master",
+ "git_url": "https://api.github.com/repos/jquery/qunit/git/trees/6ca3721222109997540bd6d9ccd396902e0ad2f9",
+ "html_url": "https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9",
+ "download_url": null,
+ "_links": {
+ "git": "https://api.github.com/repos/jquery/qunit/git/trees/6ca3721222109997540bd6d9ccd396902e0ad2f9",
+ "self": "https://api.github.com/repos/jquery/jquery/contents/test/qunit?ref=master",
+ "html": "https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9"
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/contents/get-the-readme.html b/cache/api.github.com/v3/repos/contents/get-the-readme.html
deleted file mode 100644
index 3caed5748a..0000000000
--- a/cache/api.github.com/v3/repos/contents/get-the-readme.html
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
- Get the READMEGets the preferred README for a repository.
-GET /repos/:owner/:repo/readme
-
-READMEs support custom media types for retrieving the raw content or rendered HTML.
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-ref
-string
-The name of the commit/branch/tag. Default: the repository’s default branch (usually master
)
-
-
-
-
-
- ResponseStatus: 200 OK
-
-{
- "type": "file",
- "encoding": "base64",
- "size": 5362,
- "name": "README.md",
- "path": "README.md",
- "content": "encoded content ...",
- "sha": "3d21ec53a331a6f037a91c368710b99387d012c1",
- "url": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md",
- "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1",
- "html_url": "https://github.com/octokit/octokit.rb/blob/master/README.md",
- "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md",
- "_links": {
- "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1",
- "self": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md",
- "html": "https://github.com/octokit/octokit.rb/blob/master/README.md"
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/contents/index.html b/cache/api.github.com/v3/repos/contents/index.html
index bcfd393cc3..a84b216790 100644
--- a/cache/api.github.com/v3/repos/contents/index.html
+++ b/cache/api.github.com/v3/repos/contents/index.html
@@ -367,18 +367,18 @@
Contents
-- Get the README
-- Get contents
-- Create or update a file
+- Get a repository README
+- Get repository content
+- Create or update file contents
- Delete a file
-- Get archive link
+- Download a repository archive
- Custom media types
-These API endpoints let you create, modify, and delete Base64 encoded content in a repository. See media types for requesting the raw format or rendered HTML (when supported).
+These API endpoints let you create, modify, and delete Base64 encoded content in a repository. See media types for requesting the raw format or rendered HTML (when supported).
-
+ Get a repository README
Get the READMEGets the preferred README for a repository.
@@ -386,7 +386,7 @@
GET /repos/:owner/:repo/readme
-
READMEs support custom media types for retrieving the raw content or rendered HTML.
+READMEs support custom media types for retrieving the raw content or rendered HTML.
@@ -437,7 +437,7 @@ Parameters
-
+ Get repository content
Get contents
Gets the contents of a file or directory in a repository. Specify the file path or directory in :path
. If you omit :path
, you will receive the contents of all files in the repository.
@@ -445,8 +445,8 @@
GET /repos/:owner/:repo/contents/:path
-
Files and symlinks support a custom media type for retrieving the raw content or rendered HTML (when supported).
-All content types support a custom media type to ensure the content is returned in a consistent object format.
+Files and symlinks support a custom media type for retrieving the raw content or rendered HTML (when supported).
+All content types support a custom media type to ensure the content is returned in a consistent object format.
@@ -562,7 +562,7 @@
- Response if content is a symlink
If the requested :path
points to a symlink, and the symlink's target is a normal file in the repository, then the API responds with the content of the file (in the format shown above).
+If the requested :path
points to a symlink, and the symlink's target is a normal file in the repository, then the API responds with the content of the file (in the format shown above).
Otherwise, the API responds with an object describing the symlink itself:
@@ -623,10 +623,10 @@
-
+ Create or update file contents
- Create or update a file
Creates a new file or updates an existing file in a repository.
+Creates a new file or replaces an existing file in a repository.
PUT /repos/:owner/:repo/contents/:path
@@ -999,7 +999,7 @@
-
+ Download a repository archive
Get archive link
Gets a redirect URL to download an archive for a repository. The :archive_format
can be either tarball
@@ -1031,7 +1031,7 @@
- Custom media types
READMEs, files, and symlinks support the following custom media types:
+READMEs, files, and symlinks support the following custom media types:
application/vnd.github.VERSION.raw
application/vnd.github.VERSION.html
@@ -1041,7 +1041,7 @@
For markup files such as Markdown or AsciiDoc, you can retrieve the rendered HTML using the .html
media type. Markup languages are rendered to HTML using our open-source Markup library.
-All objects support the following custom media type:
+All objects support the following custom media type:
application/vnd.github.VERSION.object
diff --git a/cache/api.github.com/v3/repos/contents/sections.json b/cache/api.github.com/v3/repos/contents/sections.json
index 7a46b7cc3e..601c4b83b5 100644
--- a/cache/api.github.com/v3/repos/contents/sections.json
+++ b/cache/api.github.com/v3/repos/contents/sections.json
@@ -1,18 +1,18 @@
[
{
- "id": "get-the-readme",
- "name": "Get the README",
- "url": "https://developer.github.com/v3/repos/contents/#get-the-readme"
+ "id": "get-a-repository-readme",
+ "name": "Get a repository README",
+ "url": "https://developer.github.com/v3/repos/contents/#get-a-repository-readme"
},
{
- "id": "get-contents",
- "name": "Get contents",
- "url": "https://developer.github.com/v3/repos/contents/#get-contents"
+ "id": "get-repository-content",
+ "name": "Get repository content",
+ "url": "https://developer.github.com/v3/repos/contents/#get-repository-content"
},
{
- "id": "create-or-update-a-file",
- "name": "Create or update a file",
- "url": "https://developer.github.com/v3/repos/contents/#create-or-update-a-file"
+ "id": "create-or-update-file-contents",
+ "name": "Create or update file contents",
+ "url": "https://developer.github.com/v3/repos/contents/#create-or-update-file-contents"
},
{
"id": "delete-a-file",
@@ -20,9 +20,9 @@
"url": "https://developer.github.com/v3/repos/contents/#delete-a-file"
},
{
- "id": "get-archive-link",
- "name": "Get archive link",
- "url": "https://developer.github.com/v3/repos/contents/#get-archive-link"
+ "id": "download-a-repository-archive",
+ "name": "Download a repository archive",
+ "url": "https://developer.github.com/v3/repos/contents/#download-a-repository-archive"
},
{
"id": "custom-media-types",
diff --git a/cache/api.github.com/v3/repos/deployments/get-a-deployment-status.html b/cache/api.github.com/v3/repos/deployments/get-a-deployment-status.html
new file mode 100644
index 0000000000..c23d22aa64
--- /dev/null
+++ b/cache/api.github.com/v3/repos/deployments/get-a-deployment-status.html
@@ -0,0 +1,81 @@
+
+
+
+ Get a deployment status
+
+Note: If a deployment is created via a GitHub App, the response will include the performed_via_github_app
object with information about the GitHub App. For more information, see the related blog post.
+
+To receive the performed_via_github_app
object in the response, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.machine-man-preview
+
+
+
+
+
+Note: New features in the Deployments API on GitHub are currently available during a public beta. Please see the blog post for full details.
+
+To access the new environment
parameter, the two new values for the state
parameter (in_progress
and queued
), and use auto_inactive
on production deployments during the public beta period, you must provide the following custom media type in the Accept
header:
+
+application/vnd.github.flash-preview+json
+
+
+
+
+
+Note: The inactive
state and the log_url
, environment_url
, and auto_inactive
parameters are currently available for developers to preview. Please see the blog post for full details.
+
+To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.ant-man-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+Users with pull access can view a deployment status for a deployment:
+GET /repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/example/deployments/42/statuses/1",
+ "id": 1,
+ "node_id": "MDE2OkRlcGxveW1lbnRTdGF0dXMx",
+ "state": "success",
+ "creator": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "description": "Deployment finished successfully.",
+ "environment": "production",
+ "target_url": "https://example.com/deployment/42/output",
+ "created_at": "2012-07-20T01:19:13Z",
+ "updated_at": "2012-07-20T01:19:13Z",
+ "deployment_url": "https://api.github.com/repos/octocat/example/deployments/42",
+ "repository_url": "https://api.github.com/repos/octocat/example",
+ "environment_url": "",
+ "log_url": "https://example.com/deployment/42/output"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/deployments/get-a-deployment.html b/cache/api.github.com/v3/repos/deployments/get-a-deployment.html
new file mode 100644
index 0000000000..e92504bb23
--- /dev/null
+++ b/cache/api.github.com/v3/repos/deployments/get-a-deployment.html
@@ -0,0 +1,75 @@
+
+
+
+ Get a deployment
+
+Note: If a deployment is created via a GitHub App, the response will include the performed_via_github_app
object with information about the GitHub App. For more information, see the related blog post.
+
+To receive the performed_via_github_app
object in the response, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.machine-man-preview
+
+
+
+
+
+Note: The transient_environment
and production_environment
parameters are currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details.
+
+To access the API during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.ant-man-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+GET /repos/:owner/:repo/deployments/:deployment_id
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/example/deployments/1",
+ "id": 1,
+ "node_id": "MDEwOkRlcGxveW1lbnQx",
+ "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d",
+ "ref": "topic-branch",
+ "task": "deploy",
+ "payload": {
+ "deploy": "migrate"
+ },
+ "original_environment": "staging",
+ "environment": "production",
+ "description": "Deploy request from hubot",
+ "creator": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "created_at": "2012-07-20T01:19:13Z",
+ "updated_at": "2012-07-20T01:19:13Z",
+ "statuses_url": "https://api.github.com/repos/octocat/example/deployments/1/statuses",
+ "repository_url": "https://api.github.com/repos/octocat/example",
+ "transient_environment": false,
+ "production_environment": true
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/deployments/get-a-single-deployment-status.html b/cache/api.github.com/v3/repos/deployments/get-a-single-deployment-status.html
deleted file mode 100644
index 53a9270e15..0000000000
--- a/cache/api.github.com/v3/repos/deployments/get-a-single-deployment-status.html
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
- Get a single deployment status
-
-Note: If a deployment is created via a GitHub App, the response will include the performed_via_github_app
object with information about the GitHub App. For more information, see the related blog post.
-
-To receive the performed_via_github_app
object in the response, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.machine-man-preview
-
-
-
-
-
-Note: New features in the Deployments API on GitHub are currently available during a public beta. Please see the blog post for full details.
-
-To access the new environment
parameter, the two new values for the state
parameter (in_progress
and queued
), and use auto_inactive
on production deployments during the public beta period, you must provide the following custom media type in the Accept
header:
-
-application/vnd.github.flash-preview+json
-
-
-
-
-
-Note: The inactive
state and the log_url
, environment_url
, and auto_inactive
parameters are currently available for developers to preview. Please see the blog post for full details.
-
-To access the API during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.ant-man-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-Users with pull access can view a deployment status for a deployment:
-GET /repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/example/deployments/42/statuses/1",
- "id": 1,
- "node_id": "MDE2OkRlcGxveW1lbnRTdGF0dXMx",
- "state": "success",
- "creator": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "description": "Deployment finished successfully.",
- "environment": "production",
- "target_url": "https://example.com/deployment/42/output",
- "created_at": "2012-07-20T01:19:13Z",
- "updated_at": "2012-07-20T01:19:13Z",
- "deployment_url": "https://api.github.com/repos/octocat/example/deployments/42",
- "repository_url": "https://api.github.com/repos/octocat/example",
- "environment_url": "",
- "log_url": "https://example.com/deployment/42/output"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/deployments/get-a-single-deployment.html b/cache/api.github.com/v3/repos/deployments/get-a-single-deployment.html
deleted file mode 100644
index 5c96f6cfa8..0000000000
--- a/cache/api.github.com/v3/repos/deployments/get-a-single-deployment.html
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
- Get a single deployment
-
-Note: If a deployment is created via a GitHub App, the response will include the performed_via_github_app
object with information about the GitHub App. For more information, see the related blog post.
-
-To receive the performed_via_github_app
object in the response, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.machine-man-preview
-
-
-
-
-
-Note: The transient_environment
and production_environment
parameters are currently available for developers to preview. During the preview period, the API may change without advance notice. Please see the blog post for full details.
-
-To access the API during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.ant-man-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-GET /repos/:owner/:repo/deployments/:deployment_id
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/example/deployments/1",
- "id": 1,
- "node_id": "MDEwOkRlcGxveW1lbnQx",
- "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d",
- "ref": "topic-branch",
- "task": "deploy",
- "payload": {
- "deploy": "migrate"
- },
- "original_environment": "staging",
- "environment": "production",
- "description": "Deploy request from hubot",
- "creator": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "created_at": "2012-07-20T01:19:13Z",
- "updated_at": "2012-07-20T01:19:13Z",
- "statuses_url": "https://api.github.com/repos/octocat/example/deployments/1/statuses",
- "repository_url": "https://api.github.com/repos/octocat/example",
- "transient_environment": false,
- "production_environment": true
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/deployments/index.html b/cache/api.github.com/v3/repos/deployments/index.html
index f12eb0a8b7..4cd84977ae 100644
--- a/cache/api.github.com/v3/repos/deployments/index.html
+++ b/cache/api.github.com/v3/repos/deployments/index.html
@@ -368,12 +368,12 @@
- List deployments
-- Get a single deployment
+- Get a deployment
- Create a deployment
- Update a deployment
- Delete a deployment
- List deployment statuses
-- Get a single deployment status
+- Get a deployment status
- Create a deployment status
@@ -545,7 +545,7 @@
-
+ Get a deployment
Get a single deployment
@@ -1046,7 +1046,7 @@
-
+ Get a deployment status
Get a single deployment status
diff --git a/cache/api.github.com/v3/repos/deployments/sections.json b/cache/api.github.com/v3/repos/deployments/sections.json
index b4812fef1f..117c252e95 100644
--- a/cache/api.github.com/v3/repos/deployments/sections.json
+++ b/cache/api.github.com/v3/repos/deployments/sections.json
@@ -5,9 +5,9 @@
"url": "https://developer.github.com/v3/repos/deployments/#list-deployments"
},
{
- "id": "get-a-single-deployment",
- "name": "Get a single deployment",
- "url": "https://developer.github.com/v3/repos/deployments/#get-a-single-deployment"
+ "id": "get-a-deployment",
+ "name": "Get a deployment",
+ "url": "https://developer.github.com/v3/repos/deployments/#get-a-deployment"
},
{
"id": "create-a-deployment",
@@ -30,9 +30,9 @@
"url": "https://developer.github.com/v3/repos/deployments/#list-deployment-statuses"
},
{
- "id": "get-a-single-deployment-status",
- "name": "Get a single deployment status",
- "url": "https://developer.github.com/v3/repos/deployments/#get-a-single-deployment-status"
+ "id": "get-a-deployment-status",
+ "name": "Get a deployment status",
+ "url": "https://developer.github.com/v3/repos/deployments/#get-a-deployment-status"
},
{
"id": "create-a-deployment-status",
diff --git a/cache/api.github.com/v3/repos/downloads/index.html b/cache/api.github.com/v3/repos/downloads/index.html
index 372fe4d508..1f7b814ec9 100644
--- a/cache/api.github.com/v3/repos/downloads/index.html
+++ b/cache/api.github.com/v3/repos/downloads/index.html
@@ -384,7 +384,7 @@
The downloads API is for package downloads only. If you want to get
-source tarballs you should use this
+source tarballs you should use Download a repository archive
instead.
diff --git a/cache/api.github.com/v3/repos/hooks/create-a-hook.html b/cache/api.github.com/v3/repos/hooks/create-a-hook.html
deleted file mode 100644
index a684cff8cc..0000000000
--- a/cache/api.github.com/v3/repos/hooks/create-a-hook.html
+++ /dev/null
@@ -1,124 +0,0 @@
-
-
-
- Create a hook
Repositories can have multiple webhooks installed. Each webhook should have a unique config
. Multiple webhooks can share the same config
as long as those webhooks do not have any events
that overlap.
-POST /repos/:owner/:repo/hooks
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-name
-string
-Use web
to create a webhook. Default: web
. This parameter only accepts the value web
.
-
-
-config
-object
-
-Required. Key/value pairs to provide settings for this webhook. These are defined below.
-
-
-events
-array
-Determines what events the hook is triggered for. Default: ["push"]
-
-
-
-active
-boolean
-Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications. Default: true
.
-
-
-
-
-The config
object can accept the following keys:
-
-
-
-Name
-Type
-Description
-
-
-
-
-url
-string
-
-Required. The URL to which the payloads will be delivered.
-
-
-content_type
-string
-The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
-
-
-secret
-string
-If provided, the secret
will be used as the key
to generate the HMAC hex digest value in the X-Hub-Signature
header.
-
-
-insecure_ssl
-string
-Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
-
-
-
-
-
-
- ExampleHere's how you can create a hook that posts payloads in JSON format:
-{
- "name": "web",
- "active": true,
- "events": [
- "push",
- "pull_request"
- ],
- "config": {
- "url": "https://example.com/webhook",
- "content_type": "json",
- "insecure_ssl": "0"
- }
-}
-
-
-
- ResponseStatus: 201 Created
-Location: https://api.github.com/repos/octocat/Hello-World/hooks/12345678
-
-{
- "type": "Repository",
- "id": 12345678,
- "name": "web",
- "active": true,
- "events": [
- "push",
- "pull_request"
- ],
- "config": {
- "content_type": "json",
- "insecure_ssl": "0",
- "url": "https://example.com/webhook"
- },
- "updated_at": "2019-06-03T00:57:16Z",
- "created_at": "2019-06-03T00:57:16Z",
- "url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678",
- "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test",
- "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings",
- "last_response": {
- "code": null,
- "status": "unused",
- "message": null
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/create-a-repository-webhook.html b/cache/api.github.com/v3/repos/hooks/create-a-repository-webhook.html
new file mode 100644
index 0000000000..a267bccefb
--- /dev/null
+++ b/cache/api.github.com/v3/repos/hooks/create-a-repository-webhook.html
@@ -0,0 +1,124 @@
+
+
+
+ Create a repository webhookRepositories can have multiple webhooks installed. Each webhook should have a unique config
. Multiple webhooks can share the same config
as long as those webhooks do not have any events
that overlap.
+POST /repos/:owner/:repo/hooks
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+name
+string
+Use web
to create a webhook. Default: web
. This parameter only accepts the value web
.
+
+
+config
+object
+
+Required. Key/value pairs to provide settings for this webhook. These are defined below.
+
+
+events
+array
+Determines what events the hook is triggered for. Default: ["push"]
+
+
+
+active
+boolean
+Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications. Default: true
.
+
+
+
+
+The config
object can accept the following keys:
+
+
+
+Name
+Type
+Description
+
+
+
+
+url
+string
+
+Required. The URL to which the payloads will be delivered.
+
+
+content_type
+string
+The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
+
+
+secret
+string
+If provided, the secret
will be used as the key
to generate the HMAC hex digest value in the X-Hub-Signature
header.
+
+
+insecure_ssl
+string
+Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
+
+
+
+
+
+
+ ExampleHere's how you can create a hook that posts payloads in JSON format:
+{
+ "name": "web",
+ "active": true,
+ "events": [
+ "push",
+ "pull_request"
+ ],
+ "config": {
+ "url": "https://example.com/webhook",
+ "content_type": "json",
+ "insecure_ssl": "0"
+ }
+}
+
+
+
+ ResponseStatus: 201 Created
+Location: https://api.github.com/repos/octocat/Hello-World/hooks/12345678
+
+{
+ "type": "Repository",
+ "id": 12345678,
+ "name": "web",
+ "active": true,
+ "events": [
+ "push",
+ "pull_request"
+ ],
+ "config": {
+ "content_type": "json",
+ "insecure_ssl": "0",
+ "url": "https://example.com/webhook"
+ },
+ "updated_at": "2019-06-03T00:57:16Z",
+ "created_at": "2019-06-03T00:57:16Z",
+ "url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678",
+ "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test",
+ "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings",
+ "last_response": {
+ "code": null,
+ "status": "unused",
+ "message": null
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/delete-a-hook.html b/cache/api.github.com/v3/repos/hooks/delete-a-hook.html
deleted file mode 100644
index ae7c48c71d..0000000000
--- a/cache/api.github.com/v3/repos/hooks/delete-a-hook.html
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- Delete a hookDELETE /repos/:owner/:repo/hooks/:hook_id
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/delete-a-repository-webhook.html b/cache/api.github.com/v3/repos/hooks/delete-a-repository-webhook.html
new file mode 100644
index 0000000000..0f600f4d03
--- /dev/null
+++ b/cache/api.github.com/v3/repos/hooks/delete-a-repository-webhook.html
@@ -0,0 +1,9 @@
+
+
+
+ Delete a repository webhookDELETE /repos/:owner/:repo/hooks/:hook_id
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/edit-a-hook.html b/cache/api.github.com/v3/repos/hooks/edit-a-hook.html
deleted file mode 100644
index 3b28ed39d4..0000000000
--- a/cache/api.github.com/v3/repos/hooks/edit-a-hook.html
+++ /dev/null
@@ -1,118 +0,0 @@
-
-
-
- Edit a hookPATCH /repos/:owner/:repo/hooks/:hook_id
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-config
-object
-Key/value pairs to provide settings for this webhook. These are defined below.
-
-
-events
-array
-Determines what events the hook is triggered for. This replaces the entire array of events. Default: ["push"]
-
-
-
-add_events
-array
-Determines a list of events to be added to the list of events that the Hook triggers for.
-
-
-remove_events
-array
-Determines a list of events to be removed from the list of events that the Hook triggers for.
-
-
-active
-boolean
-Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications. Default: true
.
-
-
-
-
-The config
object can accept the following keys:
-
-
-
-Name
-Type
-Description
-
-
-
-
-url
-string
-
-Required. The URL to which the payloads will be delivered.
-
-
-content_type
-string
-The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
-
-
-secret
-string
-If provided, the secret
will be used as the key
to generate the HMAC hex digest value in the X-Hub-Signature
header.
-
-
-insecure_ssl
-string
-Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
-
-
-
-
-
-
- Example{
- "active": true,
- "add_events": [
- "pull_request"
- ]
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "type": "Repository",
- "id": 12345678,
- "name": "web",
- "active": true,
- "events": [
- "push",
- "pull_request"
- ],
- "config": {
- "content_type": "json",
- "insecure_ssl": "0",
- "url": "https://example.com/webhook"
- },
- "updated_at": "2019-06-03T00:57:16Z",
- "created_at": "2019-06-03T00:57:16Z",
- "url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678",
- "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test",
- "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings",
- "last_response": {
- "code": null,
- "status": "unused",
- "message": null
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/get-a-repository-webhook.html b/cache/api.github.com/v3/repos/hooks/get-a-repository-webhook.html
new file mode 100644
index 0000000000..c0438a297b
--- /dev/null
+++ b/cache/api.github.com/v3/repos/hooks/get-a-repository-webhook.html
@@ -0,0 +1,35 @@
+
+
+
+ Get a repository webhookGET /repos/:owner/:repo/hooks/:hook_id
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "type": "Repository",
+ "id": 12345678,
+ "name": "web",
+ "active": true,
+ "events": [
+ "push",
+ "pull_request"
+ ],
+ "config": {
+ "content_type": "json",
+ "insecure_ssl": "0",
+ "url": "https://example.com/webhook"
+ },
+ "updated_at": "2019-06-03T00:57:16Z",
+ "created_at": "2019-06-03T00:57:16Z",
+ "url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678",
+ "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test",
+ "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings",
+ "last_response": {
+ "code": null,
+ "status": "unused",
+ "message": null
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/get-single-hook.html b/cache/api.github.com/v3/repos/hooks/get-single-hook.html
deleted file mode 100644
index fb4c56db72..0000000000
--- a/cache/api.github.com/v3/repos/hooks/get-single-hook.html
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
- Get single hookGET /repos/:owner/:repo/hooks/:hook_id
-
-
-
- ResponseStatus: 200 OK
-
-{
- "type": "Repository",
- "id": 12345678,
- "name": "web",
- "active": true,
- "events": [
- "push",
- "pull_request"
- ],
- "config": {
- "content_type": "json",
- "insecure_ssl": "0",
- "url": "https://example.com/webhook"
- },
- "updated_at": "2019-06-03T00:57:16Z",
- "created_at": "2019-06-03T00:57:16Z",
- "url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678",
- "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test",
- "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings",
- "last_response": {
- "code": null,
- "status": "unused",
- "message": null
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/index.html b/cache/api.github.com/v3/repos/hooks/index.html
index 90c49dbce6..2f3e47ba51 100644
--- a/cache/api.github.com/v3/repos/hooks/index.html
+++ b/cache/api.github.com/v3/repos/hooks/index.html
@@ -367,13 +367,13 @@
Webhooks
-- List hooks
-- Get single hook
-- Create a hook
-- Edit a hook
-- Test a push hook
-- Ping a hook
-- Delete a hook
+- List repository webhooks
+- Get a repository webhook
+- Create a repository webhook
+- Update a repository webhook
+- Test the push repository webhook
+- Ping a repository webhook
+- Delete a repository webhook
- Receiving Webhooks
- PubSubHubbub
@@ -385,7 +385,7 @@
If you would like to set up a single webhook to receive events from all of your organization's repositories, check out our API documentation for Organization Webhooks.
-
+ List repository webhooks
List hooksGET /repos/:owner/:repo/hooks
@@ -431,7 +431,7 @@
-
+ Get a repository webhook
Get single hookGET /repos/:owner/:repo/hooks/:hook_id
@@ -473,7 +473,7 @@
-
+ Create a repository webhook
Create a hook
Repositories can have multiple webhooks installed. Each webhook should have a unique config
. Multiple webhooks can share the same config
as long as those webhooks do not have any events
that overlap.
@@ -613,7 +613,7 @@
-
+ Update a repository webhook
Edit a hookPATCH /repos/:owner/:repo/hooks/:hook_id
@@ -745,7 +745,7 @@
-
+ Test the push repository webhook
Test a push hook
This will trigger the hook with the latest push to the current
@@ -766,7 +766,7 @@
-
+ Ping a repository webhook
Ping a hook
This will trigger a ping event to be sent to the hook.
@@ -782,7 +782,7 @@
-
+ Delete a repository webhook
Delete a hookDELETE /repos/:owner/:repo/hooks/:hook_id
diff --git a/cache/api.github.com/v3/repos/hooks/list-hooks.html b/cache/api.github.com/v3/repos/hooks/list-hooks.html
deleted file mode 100644
index 237a7bc6b8..0000000000
--- a/cache/api.github.com/v3/repos/hooks/list-hooks.html
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
- List hooksGET /repos/:owner/:repo/hooks
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "type": "Repository",
- "id": 12345678,
- "name": "web",
- "active": true,
- "events": [
- "push",
- "pull_request"
- ],
- "config": {
- "content_type": "json",
- "insecure_ssl": "0",
- "url": "https://example.com/webhook"
- },
- "updated_at": "2019-06-03T00:57:16Z",
- "created_at": "2019-06-03T00:57:16Z",
- "url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678",
- "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test",
- "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings",
- "last_response": {
- "code": null,
- "status": "unused",
- "message": null
- }
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/list-repository-webhooks.html b/cache/api.github.com/v3/repos/hooks/list-repository-webhooks.html
new file mode 100644
index 0000000000..a306484cd6
--- /dev/null
+++ b/cache/api.github.com/v3/repos/hooks/list-repository-webhooks.html
@@ -0,0 +1,39 @@
+
+
+
+ List repository webhooksGET /repos/:owner/:repo/hooks
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "type": "Repository",
+ "id": 12345678,
+ "name": "web",
+ "active": true,
+ "events": [
+ "push",
+ "pull_request"
+ ],
+ "config": {
+ "content_type": "json",
+ "insecure_ssl": "0",
+ "url": "https://example.com/webhook"
+ },
+ "updated_at": "2019-06-03T00:57:16Z",
+ "created_at": "2019-06-03T00:57:16Z",
+ "url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678",
+ "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test",
+ "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings",
+ "last_response": {
+ "code": null,
+ "status": "unused",
+ "message": null
+ }
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/ping-a-hook.html b/cache/api.github.com/v3/repos/hooks/ping-a-hook.html
deleted file mode 100644
index 7cf6a105e8..0000000000
--- a/cache/api.github.com/v3/repos/hooks/ping-a-hook.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- Ping a hookThis will trigger a ping event to be sent to the hook.
-POST /repos/:owner/:repo/hooks/:hook_id/pings
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/ping-a-repository-webhook.html b/cache/api.github.com/v3/repos/hooks/ping-a-repository-webhook.html
new file mode 100644
index 0000000000..03131c4031
--- /dev/null
+++ b/cache/api.github.com/v3/repos/hooks/ping-a-repository-webhook.html
@@ -0,0 +1,10 @@
+
+
+
+ Ping a repository webhookThis will trigger a ping event to be sent to the hook.
+POST /repos/:owner/:repo/hooks/:hook_id/pings
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/sections.json b/cache/api.github.com/v3/repos/hooks/sections.json
index eac832aca1..7a90bcf5c3 100644
--- a/cache/api.github.com/v3/repos/hooks/sections.json
+++ b/cache/api.github.com/v3/repos/hooks/sections.json
@@ -1,38 +1,38 @@
[
{
- "id": "list-hooks",
- "name": "List hooks",
- "url": "https://developer.github.com/v3/repos/hooks/#list-hooks"
+ "id": "list-repository-webhooks",
+ "name": "List repository webhooks",
+ "url": "https://developer.github.com/v3/repos/hooks/#list-repository-webhooks"
},
{
- "id": "get-single-hook",
- "name": "Get single hook",
- "url": "https://developer.github.com/v3/repos/hooks/#get-single-hook"
+ "id": "get-a-repository-webhook",
+ "name": "Get a repository webhook",
+ "url": "https://developer.github.com/v3/repos/hooks/#get-a-repository-webhook"
},
{
- "id": "create-a-hook",
- "name": "Create a hook",
- "url": "https://developer.github.com/v3/repos/hooks/#create-a-hook"
+ "id": "create-a-repository-webhook",
+ "name": "Create a repository webhook",
+ "url": "https://developer.github.com/v3/repos/hooks/#create-a-repository-webhook"
},
{
- "id": "edit-a-hook",
- "name": "Edit a hook",
- "url": "https://developer.github.com/v3/repos/hooks/#edit-a-hook"
+ "id": "update-a-repository-webhook",
+ "name": "Update a repository webhook",
+ "url": "https://developer.github.com/v3/repos/hooks/#update-a-repository-webhook"
},
{
- "id": "test-a-push-hook",
- "name": "Test a push hook",
- "url": "https://developer.github.com/v3/repos/hooks/#test-a-push-hook"
+ "id": "test-the-push-repository-webhook",
+ "name": "Test the push repository webhook",
+ "url": "https://developer.github.com/v3/repos/hooks/#test-the-push-repository-webhook"
},
{
- "id": "ping-a-hook",
- "name": "Ping a hook",
- "url": "https://developer.github.com/v3/repos/hooks/#ping-a-hook"
+ "id": "ping-a-repository-webhook",
+ "name": "Ping a repository webhook",
+ "url": "https://developer.github.com/v3/repos/hooks/#ping-a-repository-webhook"
},
{
- "id": "delete-a-hook",
- "name": "Delete a hook",
- "url": "https://developer.github.com/v3/repos/hooks/#delete-a-hook"
+ "id": "delete-a-repository-webhook",
+ "name": "Delete a repository webhook",
+ "url": "https://developer.github.com/v3/repos/hooks/#delete-a-repository-webhook"
},
{
"id": "receiving-webhooks",
diff --git a/cache/api.github.com/v3/repos/hooks/test-a-push-hook.html b/cache/api.github.com/v3/repos/hooks/test-a-push-hook.html
deleted file mode 100644
index cac26cff9f..0000000000
--- a/cache/api.github.com/v3/repos/hooks/test-a-push-hook.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- Test a push hookThis will trigger the hook with the latest push to the current
-repository if the hook is subscribed to push
events. If the
-hook is not subscribed to push
events, the server will respond
-with 204 but no test POST will be generated.
-POST /repos/:owner/:repo/hooks/:hook_id/tests
-
-Note: Previously /repos/:owner/:repo/hooks/:hook_id/test
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/test-the-push-repository-webhook.html b/cache/api.github.com/v3/repos/hooks/test-the-push-repository-webhook.html
new file mode 100644
index 0000000000..62811db4ee
--- /dev/null
+++ b/cache/api.github.com/v3/repos/hooks/test-the-push-repository-webhook.html
@@ -0,0 +1,14 @@
+
+
+
+ Test the push repository webhookThis will trigger the hook with the latest push to the current
+repository if the hook is subscribed to push
events. If the
+hook is not subscribed to push
events, the server will respond
+with 204 but no test POST will be generated.
+POST /repos/:owner/:repo/hooks/:hook_id/tests
+
+Note: Previously /repos/:owner/:repo/hooks/:hook_id/test
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/hooks/update-a-repository-webhook.html b/cache/api.github.com/v3/repos/hooks/update-a-repository-webhook.html
new file mode 100644
index 0000000000..fc702b1c0b
--- /dev/null
+++ b/cache/api.github.com/v3/repos/hooks/update-a-repository-webhook.html
@@ -0,0 +1,118 @@
+
+
+
+ Update a repository webhookPATCH /repos/:owner/:repo/hooks/:hook_id
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+config
+object
+Key/value pairs to provide settings for this webhook. These are defined below.
+
+
+events
+array
+Determines what events the hook is triggered for. This replaces the entire array of events. Default: ["push"]
+
+
+
+add_events
+array
+Determines a list of events to be added to the list of events that the Hook triggers for.
+
+
+remove_events
+array
+Determines a list of events to be removed from the list of events that the Hook triggers for.
+
+
+active
+boolean
+Determines if notifications are sent when the webhook is triggered. Set to true
to send notifications. Default: true
.
+
+
+
+
+The config
object can accept the following keys:
+
+
+
+Name
+Type
+Description
+
+
+
+
+url
+string
+
+Required. The URL to which the payloads will be delivered.
+
+
+content_type
+string
+The media type used to serialize the payloads. Supported values include json
and form
. The default is form
.
+
+
+secret
+string
+If provided, the secret
will be used as the key
to generate the HMAC hex digest value in the X-Hub-Signature
header.
+
+
+insecure_ssl
+string
+Determines whether the SSL certificate of the host for url
will be verified when delivering payloads. Supported values include 0
(verification is performed) and 1
(verification is not performed). The default is 0
. We strongly recommend not setting this to 1
as you are subject to man-in-the-middle and other attacks.
+
+
+
+
+
+
+ Example{
+ "active": true,
+ "add_events": [
+ "pull_request"
+ ]
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "type": "Repository",
+ "id": 12345678,
+ "name": "web",
+ "active": true,
+ "events": [
+ "push",
+ "pull_request"
+ ],
+ "config": {
+ "content_type": "json",
+ "insecure_ssl": "0",
+ "url": "https://example.com/webhook"
+ },
+ "updated_at": "2019-06-03T00:57:16Z",
+ "created_at": "2019-06-03T00:57:16Z",
+ "url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678",
+ "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test",
+ "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings",
+ "last_response": {
+ "code": null,
+ "status": "unused",
+ "message": null
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/index.html b/cache/api.github.com/v3/repos/index.html
index 0473b095e9..39bfae27cb 100644
--- a/cache/api.github.com/v3/repos/index.html
+++ b/cache/api.github.com/v3/repos/index.html
@@ -383,10 +383,10 @@
Disable vulnerability alerts
Enable automated security fixes
Disable automated security fixes
-List contributors
-List languages
-List teams
-List tags
+List repository contributors
+List repository languages
+List repository teams
+List repository tags
Delete a repository
Transfer a repository
Create a repository dispatch event
@@ -3041,7 +3041,7 @@
-
+ List repository contributors
List contributors
Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.
@@ -3118,7 +3118,7 @@
-
+ List repository languages
List languages
Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.
@@ -3141,7 +3141,7 @@
-
+ List repository teams
List teamsGET /repos/:owner/:repo/teams
@@ -3176,7 +3176,7 @@
-
+ List repository tags
List tagsGET /repos/:owner/:repo/tags
diff --git a/cache/api.github.com/v3/repos/invitations/index.html b/cache/api.github.com/v3/repos/invitations/index.html
index d7e4cd0420..2474ea4f75 100644
--- a/cache/api.github.com/v3/repos/invitations/index.html
+++ b/cache/api.github.com/v3/repos/invitations/index.html
@@ -368,10 +368,10 @@
- Invite a user to a repository
-- List invitations for a repository
+- List repository invitations
- Delete a repository invitation
- Update a repository invitation
-- List a user's repository invitations
+- List repository invitations for the authenticated user
- Accept a repository invitation
- Decline a repository invitation
@@ -392,7 +392,7 @@
-
+ List repository invitations
List invitations for a repositoryGET /repos/:owner/:repo/invitations
@@ -702,7 +702,7 @@
-
+ List a user's repository invitations List repository invitations for the authenticated user
GET /user/repository_invitations
diff --git a/cache/api.github.com/v3/repos/invitations/list-a-users-repository-invitations.html b/cache/api.github.com/v3/repos/invitations/list-a-users-repository-invitations.html
deleted file mode 100644
index 2b2d96f980..0000000000
--- a/cache/api.github.com/v3/repos/invitations/list-a-users-repository-invitations.html
+++ /dev/null
@@ -1,130 +0,0 @@
-
-
- List a user's repository invitationsGET /user/repository_invitations
-
-When authenticating as a user, this endpoint will list all currently open repository invitations for that user.
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "id": 1,
- "repository": {
- "id": 1296269,
- "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
- "name": "Hello-World",
- "full_name": "octocat/Hello-World",
- "owner": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "private": false,
- "html_url": "https://github.com/octocat/Hello-World",
- "description": "This your first repo!",
- "fork": false,
- "url": "https://api.github.com/repos/octocat/Hello-World",
- "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
- "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
- "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
- "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
- "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
- "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
- "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
- "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
- "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
- "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
- "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
- "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
- "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
- "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
- "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
- "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
- "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
- "git_url": "git:github.com/octocat/Hello-World.git",
- "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
- "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
- "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
- "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
- "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
- "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
- "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
- "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
- "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
- "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
- "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
- "ssh_url": "git@github.com:octocat/Hello-World.git",
- "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
- "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
- "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
- "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
- "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
- "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
- "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "invitee": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "inviter": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "permissions": "write",
- "created_at": "2016-06-13T14:52:50-05:00",
- "url": "https://api.github.com/user/repository_invitations/1296269",
- "html_url": "https://github.com/octocat/Hello-World/invitations"
- }
-]
-
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/invitations/list-invitations-for-a-repository.html b/cache/api.github.com/v3/repos/invitations/list-invitations-for-a-repository.html
deleted file mode 100644
index 94c3b6e79e..0000000000
--- a/cache/api.github.com/v3/repos/invitations/list-invitations-for-a-repository.html
+++ /dev/null
@@ -1,131 +0,0 @@
-
-
-
- List invitations for a repositoryGET /repos/:owner/:repo/invitations
-
-When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "id": 1,
- "repository": {
- "id": 1296269,
- "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
- "name": "Hello-World",
- "full_name": "octocat/Hello-World",
- "owner": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "private": false,
- "html_url": "https://github.com/octocat/Hello-World",
- "description": "This your first repo!",
- "fork": false,
- "url": "https://api.github.com/repos/octocat/Hello-World",
- "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
- "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
- "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
- "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
- "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
- "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
- "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
- "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
- "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
- "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
- "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
- "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
- "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
- "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
- "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
- "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
- "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
- "git_url": "git:github.com/octocat/Hello-World.git",
- "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
- "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
- "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
- "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
- "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
- "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
- "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
- "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
- "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
- "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
- "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
- "ssh_url": "git@github.com:octocat/Hello-World.git",
- "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
- "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
- "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
- "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
- "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
- "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
- "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "invitee": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "inviter": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "permissions": "write",
- "created_at": "2016-06-13T14:52:50-05:00",
- "url": "https://api.github.com/user/repository_invitations/1296269",
- "html_url": "https://github.com/octocat/Hello-World/invitations"
- }
-]
-
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/invitations/list-repository-invitations-for-the-authenticated-user.html b/cache/api.github.com/v3/repos/invitations/list-repository-invitations-for-the-authenticated-user.html
new file mode 100644
index 0000000000..1e22971706
--- /dev/null
+++ b/cache/api.github.com/v3/repos/invitations/list-repository-invitations-for-the-authenticated-user.html
@@ -0,0 +1,130 @@
+
+
+ List repository invitations for the authenticated userGET /user/repository_invitations
+
+When authenticating as a user, this endpoint will list all currently open repository invitations for that user.
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "id": 1,
+ "repository": {
+ "id": 1296269,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
+ "name": "Hello-World",
+ "full_name": "octocat/Hello-World",
+ "owner": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/octocat/Hello-World",
+ "description": "This your first repo!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octocat/Hello-World",
+ "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ },
+ "invitee": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "inviter": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "permissions": "write",
+ "created_at": "2016-06-13T14:52:50-05:00",
+ "url": "https://api.github.com/user/repository_invitations/1296269",
+ "html_url": "https://github.com/octocat/Hello-World/invitations"
+ }
+]
+
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/invitations/list-repository-invitations.html b/cache/api.github.com/v3/repos/invitations/list-repository-invitations.html
new file mode 100644
index 0000000000..87f629c1c2
--- /dev/null
+++ b/cache/api.github.com/v3/repos/invitations/list-repository-invitations.html
@@ -0,0 +1,131 @@
+
+
+
+ List repository invitationsGET /repos/:owner/:repo/invitations
+
+When authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "id": 1,
+ "repository": {
+ "id": 1296269,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
+ "name": "Hello-World",
+ "full_name": "octocat/Hello-World",
+ "owner": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/octocat/Hello-World",
+ "description": "This your first repo!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octocat/Hello-World",
+ "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ },
+ "invitee": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "inviter": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "permissions": "write",
+ "created_at": "2016-06-13T14:52:50-05:00",
+ "url": "https://api.github.com/user/repository_invitations/1296269",
+ "html_url": "https://github.com/octocat/Hello-World/invitations"
+ }
+]
+
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/invitations/sections.json b/cache/api.github.com/v3/repos/invitations/sections.json
index 511334d0ab..fc7b672849 100644
--- a/cache/api.github.com/v3/repos/invitations/sections.json
+++ b/cache/api.github.com/v3/repos/invitations/sections.json
@@ -5,9 +5,9 @@
"url": "https://developer.github.com/v3/repos/invitations/#invite-a-user-to-a-repository"
},
{
- "id": "list-invitations-for-a-repository",
- "name": "List invitations for a repository",
- "url": "https://developer.github.com/v3/repos/invitations/#list-invitations-for-a-repository"
+ "id": "list-repository-invitations",
+ "name": "List repository invitations",
+ "url": "https://developer.github.com/v3/repos/invitations/#list-repository-invitations"
},
{
"id": "delete-a-repository-invitation",
@@ -20,9 +20,9 @@
"url": "https://developer.github.com/v3/repos/invitations/#update-a-repository-invitation"
},
{
- "id": "list-a-users-repository-invitations",
- "name": "List a user's repository invitations",
- "url": "https://developer.github.com/v3/repos/invitations/#list-a-users-repository-invitations"
+ "id": "list-repository-invitations-for-the-authenticated-user",
+ "name": "List repository invitations for the authenticated user",
+ "url": "https://developer.github.com/v3/repos/invitations/#list-repository-invitations-for-the-authenticated-user"
},
{
"id": "accept-a-repository-invitation",
diff --git a/cache/api.github.com/v3/repos/keys/add-a-new-deploy-key.html b/cache/api.github.com/v3/repos/keys/add-a-new-deploy-key.html
deleted file mode 100644
index 9eca227869..0000000000
--- a/cache/api.github.com/v3/repos/keys/add-a-new-deploy-key.html
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
- Add a new deploy keyPOST /repos/:owner/:repo/keys
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-title
-string
-A name for the key.
-
-
-key
-string
-
-Required. The contents of the key.
-
-
-read_only
-boolean
-If true
, the key will only be able to read repository contents. Otherwise, the key will be able to read and write.
Deploy keys with write access can perform the same actions as an organization member with admin access, or a collaborator on a personal repository. For more information, see "Repository permission levels for an organization" and "Permission levels for a user account repository."
-
-
-
-
-
- ExampleHere's how you can create a read-only deploy key:
-{
- "title": "octocat@octomac",
- "key": "ssh-rsa AAA...",
- "read_only": true
-}
-
-
-
- ResponseStatus: 201 Created
-Location: https://api.github.com/repos/octocat/Hello-World/keys/1
-
-{
- "id": 1,
- "key": "ssh-rsa AAA...",
- "url": "https://api.github.com/repos/octocat/Hello-World/keys/1",
- "title": "octocat@octomac",
- "verified": true,
- "created_at": "2014-12-10T15:53:42Z",
- "read_only": true
-}
-
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/keys/create-a-deploy-key.html b/cache/api.github.com/v3/repos/keys/create-a-deploy-key.html
new file mode 100644
index 0000000000..4aa5443e45
--- /dev/null
+++ b/cache/api.github.com/v3/repos/keys/create-a-deploy-key.html
@@ -0,0 +1,59 @@
+
+
+
+ Create a deploy keyPOST /repos/:owner/:repo/keys
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+title
+string
+A name for the key.
+
+
+key
+string
+
+Required. The contents of the key.
+
+
+read_only
+boolean
+If true
, the key will only be able to read repository contents. Otherwise, the key will be able to read and write.
Deploy keys with write access can perform the same actions as an organization member with admin access, or a collaborator on a personal repository. For more information, see "Repository permission levels for an organization" and "Permission levels for a user account repository."
+
+
+
+
+
+ ExampleHere's how you can create a read-only deploy key:
+{
+ "title": "octocat@octomac",
+ "key": "ssh-rsa AAA...",
+ "read_only": true
+}
+
+
+
+ ResponseStatus: 201 Created
+Location: https://api.github.com/repos/octocat/Hello-World/keys/1
+
+{
+ "id": 1,
+ "key": "ssh-rsa AAA...",
+ "url": "https://api.github.com/repos/octocat/Hello-World/keys/1",
+ "title": "octocat@octomac",
+ "verified": true,
+ "created_at": "2014-12-10T15:53:42Z",
+ "read_only": true
+}
+
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/keys/delete-a-deploy-key.html b/cache/api.github.com/v3/repos/keys/delete-a-deploy-key.html
new file mode 100644
index 0000000000..5aa8128795
--- /dev/null
+++ b/cache/api.github.com/v3/repos/keys/delete-a-deploy-key.html
@@ -0,0 +1,9 @@
+
+
+
+ Delete a deploy keyDELETE /repos/:owner/:repo/keys/:key_id
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/keys/edit-a-deploy-key.html b/cache/api.github.com/v3/repos/keys/edit-a-deploy-key.html
index 05ecaaae53..8862e4ef9a 100644
--- a/cache/api.github.com/v3/repos/keys/edit-a-deploy-key.html
+++ b/cache/api.github.com/v3/repos/keys/edit-a-deploy-key.html
@@ -1,5 +1,5 @@
- Edit a deploy keyDeploy keys are immutable. If you need to update a key, remove the
-key and create a new one instead.
+Deploy keys are immutable. If you need to update a key, remove the
+key and create a new one instead.
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/keys/index.html b/cache/api.github.com/v3/repos/keys/index.html
index ffc5a58dd0..4c945697a4 100644
--- a/cache/api.github.com/v3/repos/keys/index.html
+++ b/cache/api.github.com/v3/repos/keys/index.html
@@ -369,9 +369,9 @@
You can launch projects from a GitHub repository to your server by using a deploy key, which is an SSH key that grants access to a single repository. GitHub attaches the public part of the key directly to your repository instead of a personal user account, and the private part of the key remains on your server. For more information, see "Delivering deployments."
@@ -441,7 +441,7 @@
-
+ Create a deploy key
Add a new deploy keyPOST /repos/:owner/:repo/keys
@@ -516,13 +516,13 @@
- Edit a deploy key
Deploy keys are immutable. If you need to update a key, remove the
-key and create a new one instead.
+Deploy keys are immutable. If you need to update a key, remove the
+key and create a new one instead.
-
+ Delete a deploy key
Remove a deploy keyDELETE /repos/:owner/:repo/keys/:key_id
diff --git a/cache/api.github.com/v3/repos/keys/remove-a-deploy-key.html b/cache/api.github.com/v3/repos/keys/remove-a-deploy-key.html
deleted file mode 100644
index bf5959d697..0000000000
--- a/cache/api.github.com/v3/repos/keys/remove-a-deploy-key.html
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- Remove a deploy keyDELETE /repos/:owner/:repo/keys/:key_id
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/keys/sections.json b/cache/api.github.com/v3/repos/keys/sections.json
index 9dfe997b64..e2cc9b3a35 100644
--- a/cache/api.github.com/v3/repos/keys/sections.json
+++ b/cache/api.github.com/v3/repos/keys/sections.json
@@ -10,9 +10,9 @@
"url": "https://developer.github.com/v3/repos/keys/#get-a-deploy-key"
},
{
- "id": "add-a-new-deploy-key",
- "name": "Add a new deploy key",
- "url": "https://developer.github.com/v3/repos/keys/#add-a-new-deploy-key"
+ "id": "create-a-deploy-key",
+ "name": "Create a deploy key",
+ "url": "https://developer.github.com/v3/repos/keys/#create-a-deploy-key"
},
{
"id": "edit-a-deploy-key",
@@ -20,8 +20,8 @@
"url": "https://developer.github.com/v3/repos/keys/#edit-a-deploy-key"
},
{
- "id": "remove-a-deploy-key",
- "name": "Remove a deploy key",
- "url": "https://developer.github.com/v3/repos/keys/#remove-a-deploy-key"
+ "id": "delete-a-deploy-key",
+ "name": "Delete a deploy key",
+ "url": "https://developer.github.com/v3/repos/keys/#delete-a-deploy-key"
}
]
diff --git a/cache/api.github.com/v3/repos/list-contributors.html b/cache/api.github.com/v3/repos/list-contributors.html
deleted file mode 100644
index 58596c3838..0000000000
--- a/cache/api.github.com/v3/repos/list-contributors.html
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
- List contributorsLists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.
-
-
-GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.
-
-
-GET /repos/:owner/:repo/contributors
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-anon
-string
-Set to 1
or true
to include anonymous contributors in results.
-
-
-
-
-
- Response if repository is emptyStatus: 204 No Content
-
-
-
- Response if repository contains contentStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false,
- "contributions": 32
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/list-languages.html b/cache/api.github.com/v3/repos/list-languages.html
deleted file mode 100644
index 1ce15a8415..0000000000
--- a/cache/api.github.com/v3/repos/list-languages.html
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
- List languagesLists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.
-GET /repos/:owner/:repo/languages
-
-
-
- ResponseStatus: 200 OK
-
-{
- "C": 78769,
- "Python": 7769
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/list-repository-contributors.html b/cache/api.github.com/v3/repos/list-repository-contributors.html
new file mode 100644
index 0000000000..922fba9074
--- /dev/null
+++ b/cache/api.github.com/v3/repos/list-repository-contributors.html
@@ -0,0 +1,63 @@
+
+
+
+ List repository contributorsLists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.
+
+
+GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.
+
+
+GET /repos/:owner/:repo/contributors
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+anon
+string
+Set to 1
or true
to include anonymous contributors in results.
+
+
+
+
+
+ Response if repository is emptyStatus: 204 No Content
+
+
+
+ Response if repository contains contentStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false,
+ "contributions": 32
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/list-repository-languages.html b/cache/api.github.com/v3/repos/list-repository-languages.html
new file mode 100644
index 0000000000..629a9bbaaf
--- /dev/null
+++ b/cache/api.github.com/v3/repos/list-repository-languages.html
@@ -0,0 +1,15 @@
+
+
+
+ List repository languagesLists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.
+GET /repos/:owner/:repo/languages
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "C": 78769,
+ "Python": 7769
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/list-repository-tags.html b/cache/api.github.com/v3/repos/list-repository-tags.html
new file mode 100644
index 0000000000..083ab16b17
--- /dev/null
+++ b/cache/api.github.com/v3/repos/list-repository-tags.html
@@ -0,0 +1,23 @@
+
+
+
+ List repository tagsGET /repos/:owner/:repo/tags
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "name": "v0.1",
+ "commit": {
+ "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc",
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc"
+ },
+ "zipball_url": "https://github.com/octocat/Hello-World/zipball/v0.1",
+ "tarball_url": "https://github.com/octocat/Hello-World/tarball/v0.1"
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/list-repository-teams.html b/cache/api.github.com/v3/repos/list-repository-teams.html
new file mode 100644
index 0000000000..d5362b4b80
--- /dev/null
+++ b/cache/api.github.com/v3/repos/list-repository-teams.html
@@ -0,0 +1,28 @@
+
+
+
+ List repository teamsGET /repos/:owner/:repo/teams
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "id": 1,
+ "node_id": "MDQ6VGVhbTE=",
+ "url": "https://api.github.com/teams/1",
+ "html_url": "https://api.github.com/teams/justice-league",
+ "name": "Justice League",
+ "slug": "justice-league",
+ "description": "A great team.",
+ "privacy": "closed",
+ "permission": "admin",
+ "members_url": "https://api.github.com/teams/1/members{/member}",
+ "repositories_url": "https://api.github.com/teams/1/repos",
+ "parent": null
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/list-tags.html b/cache/api.github.com/v3/repos/list-tags.html
deleted file mode 100644
index 779784e204..0000000000
--- a/cache/api.github.com/v3/repos/list-tags.html
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
- List tagsGET /repos/:owner/:repo/tags
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "name": "v0.1",
- "commit": {
- "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc",
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc"
- },
- "zipball_url": "https://github.com/octocat/Hello-World/zipball/v0.1",
- "tarball_url": "https://github.com/octocat/Hello-World/tarball/v0.1"
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/list-teams.html b/cache/api.github.com/v3/repos/list-teams.html
deleted file mode 100644
index 0e04b675f5..0000000000
--- a/cache/api.github.com/v3/repos/list-teams.html
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
- List teamsGET /repos/:owner/:repo/teams
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "id": 1,
- "node_id": "MDQ6VGVhbTE=",
- "url": "https://api.github.com/teams/1",
- "html_url": "https://api.github.com/teams/justice-league",
- "name": "Justice League",
- "slug": "justice-league",
- "description": "A great team.",
- "privacy": "closed",
- "permission": "admin",
- "members_url": "https://api.github.com/teams/1/members{/member}",
- "repositories_url": "https://api.github.com/teams/1/repos",
- "parent": null
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/merging/index.html b/cache/api.github.com/v3/repos/merging/index.html
index 7d11402160..92541debef 100644
--- a/cache/api.github.com/v3/repos/merging/index.html
+++ b/cache/api.github.com/v3/repos/merging/index.html
@@ -367,7 +367,7 @@
Merging
The Repo Merging API supports merging branches in a repository. This accomplishes
@@ -379,7 +379,7 @@
The authenticated user will be the author of any merges done through this endpoint.
-
+ Merge a branch
Perform a mergePOST /repos/:owner/:repo/merges
diff --git a/cache/api.github.com/v3/repos/merging/merge-a-branch.html b/cache/api.github.com/v3/repos/merging/merge-a-branch.html
new file mode 100644
index 0000000000..1207708560
--- /dev/null
+++ b/cache/api.github.com/v3/repos/merging/merge-a-branch.html
@@ -0,0 +1,157 @@
+
+
+
+ Merge a branchPOST /repos/:owner/:repo/merges
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+base
+string
+
+Required. The name of the base branch that the head will be merged into.
+
+
+head
+string
+
+Required. The head to merge. This can be a branch name or a commit SHA1.
+
+
+commit_message
+string
+Commit message to use for the merge commit. If omitted, a default message will be used.
+
+
+
+{
+ "base": "master",
+ "head": "cool_feature",
+ "commit_message": "Shipped cool_feature!"
+}
+
+
+
+ Successful Response (The resulting merge commit)
+Status: 201 Created
+
+{
+ "sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
+ "node_id": "MDY6Q29tbWl0N2ZkMWE2MGIwMWY5MWIzMTRmNTk5NTVhNGU0ZDRlODBkOGVkZjExZA==",
+ "commit": {
+ "author": {
+ "name": "The Octocat",
+ "date": "2012-03-06T15:06:50-08:00",
+ "email": "octocat@nowhere.com"
+ },
+ "committer": {
+ "name": "The Octocat",
+ "date": "2012-03-06T15:06:50-08:00",
+ "email": "octocat@nowhere.com"
+ },
+ "message": "Shipped cool_feature!",
+ "tree": {
+ "sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
+ },
+ "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
+ "comment_count": 0,
+ "verification": {
+ "verified": false,
+ "reason": "unsigned",
+ "signature": null,
+ "payload": null
+ }
+ },
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
+ "html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments",
+ "author": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "committer": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "parents": [
+ {
+ "sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
+ },
+ {
+ "sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
+ "url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303"
+ }
+ ]
+}
+
+
+
+ No-op response (base already contains the head, nothing to merge)Status: 204 No Content
+
+
+
+ Merge conflict responseStatus: 409 Conflict
+
+{
+ "message": "Merge Conflict"
+}
+
+
+
+ Missing base responseStatus: 404 Not Found
+
+{
+ "message": "Base does not exist"
+}
+
+
+
+ Missing head responseStatus: 404 Not Found
+
+{
+ "message": "Head does not exist"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/merging/perform-a-merge.html b/cache/api.github.com/v3/repos/merging/perform-a-merge.html
deleted file mode 100644
index a38cbbd5d7..0000000000
--- a/cache/api.github.com/v3/repos/merging/perform-a-merge.html
+++ /dev/null
@@ -1,157 +0,0 @@
-
-
-
- Perform a mergePOST /repos/:owner/:repo/merges
-
-
-
- Input
-
-
-Name
-Type
-Description
-
-
-
-
-base
-string
-
-Required. The name of the base branch that the head will be merged into.
-
-
-head
-string
-
-Required. The head to merge. This can be a branch name or a commit SHA1.
-
-
-commit_message
-string
-Commit message to use for the merge commit. If omitted, a default message will be used.
-
-
-
-{
- "base": "master",
- "head": "cool_feature",
- "commit_message": "Shipped cool_feature!"
-}
-
-
-
- Successful Response (The resulting merge commit)
-Status: 201 Created
-
-{
- "sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
- "node_id": "MDY6Q29tbWl0N2ZkMWE2MGIwMWY5MWIzMTRmNTk5NTVhNGU0ZDRlODBkOGVkZjExZA==",
- "commit": {
- "author": {
- "name": "The Octocat",
- "date": "2012-03-06T15:06:50-08:00",
- "email": "octocat@nowhere.com"
- },
- "committer": {
- "name": "The Octocat",
- "date": "2012-03-06T15:06:50-08:00",
- "email": "octocat@nowhere.com"
- },
- "message": "Shipped cool_feature!",
- "tree": {
- "sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
- "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
- },
- "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
- "comment_count": 0,
- "verification": {
- "verified": false,
- "reason": "unsigned",
- "signature": null,
- "payload": null
- }
- },
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
- "html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
- "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments",
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "committer": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "parents": [
- {
- "sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
- },
- {
- "sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
- "url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303"
- }
- ]
-}
-
-
-
- No-op response (base already contains the head, nothing to merge)Status: 204 No Content
-
-
-
- Merge conflict responseStatus: 409 Conflict
-
-{
- "message": "Merge Conflict"
-}
-
-
-
- Missing base responseStatus: 404 Not Found
-
-{
- "message": "Base does not exist"
-}
-
-
-
- Missing head responseStatus: 404 Not Found
-
-{
- "message": "Head does not exist"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/merging/sections.json b/cache/api.github.com/v3/repos/merging/sections.json
index 9af081da7b..d46f76aa07 100644
--- a/cache/api.github.com/v3/repos/merging/sections.json
+++ b/cache/api.github.com/v3/repos/merging/sections.json
@@ -1,7 +1,7 @@
[
{
- "id": "perform-a-merge",
- "name": "Perform a merge",
- "url": "https://developer.github.com/v3/repos/merging/#perform-a-merge"
+ "id": "merge-a-branch",
+ "name": "Merge a branch",
+ "url": "https://developer.github.com/v3/repos/merging/#merge-a-branch"
}
]
diff --git a/cache/api.github.com/v3/repos/pages/create-a-github-pages-site.html b/cache/api.github.com/v3/repos/pages/create-a-github-pages-site.html
new file mode 100644
index 0000000000..f58104b383
--- /dev/null
+++ b/cache/api.github.com/v3/repos/pages/create-a-github-pages-site.html
@@ -0,0 +1,66 @@
+
+
+
+ Create a GitHub Pages site
+
+Note: Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the blog post preview for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.switcheroo-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+POST /repos/:owner/:repo/pages
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+source[branch]
+string
+The repository branch used to publish your site's source files. Can be either master
or gh-pages
.
+
+
+source[path]
+string
+The repository directory that includes the source files for the Pages site. When branch
is master
, you can change path
to /docs
. When branch
is gh-pages
, you are unable to specify a path
other than /
.
+
+
+
+
+
+ Example{
+ "source": {
+ "branch": "master",
+ "path": "/docs"
+ }
+}
+
+
+
+ ResponseStatus: 201 Created
+
+{
+ "url": "https://api.github.com/repos/github/developer.github.com/pages",
+ "status": "built",
+ "cname": "developer.github.com",
+ "custom_404": false,
+ "html_url": "https://developer.github.com",
+ "source": {
+ "branch": "master",
+ "directory": "/"
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/delete-a-github-pages-site.html b/cache/api.github.com/v3/repos/pages/delete-a-github-pages-site.html
new file mode 100644
index 0000000000..74234debb6
--- /dev/null
+++ b/cache/api.github.com/v3/repos/pages/delete-a-github-pages-site.html
@@ -0,0 +1,22 @@
+
+
+
+ Delete a GitHub Pages site
+
+Note: Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the blog post preview for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept
header:
+
+application/vnd.github.switcheroo-preview+json
+
+
+
+
+
+Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
+
+
+DELETE /repos/:owner/:repo/pages
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/disable-a-pages-site.html b/cache/api.github.com/v3/repos/pages/disable-a-pages-site.html
deleted file mode 100644
index e00c4f34e8..0000000000
--- a/cache/api.github.com/v3/repos/pages/disable-a-pages-site.html
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
- Disable a Pages site
-
-Note: Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the blog post preview for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.switcheroo-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-DELETE /repos/:owner/:repo/pages
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/enable-a-pages-site.html b/cache/api.github.com/v3/repos/pages/enable-a-pages-site.html
deleted file mode 100644
index c16649da71..0000000000
--- a/cache/api.github.com/v3/repos/pages/enable-a-pages-site.html
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
- Enable a Pages site
-
-Note: Enabling and disabling Pages in the Pages API is currently available for developers to preview. See the blog post preview for more details. To access the new endpoints during the preview period, you must provide a custom media type in the Accept
header:
-
-application/vnd.github.switcheroo-preview+json
-
-
-
-
-
-Warning: The API may change without advance notice during the preview period. Preview features are not supported for production use. If you experience any issues, contact GitHub Support or GitHub Premium Support.
-
-
-POST /repos/:owner/:repo/pages
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-source[branch]
-string
-The repository branch used to publish your site's source files. Can be either master
or gh-pages
.
-
-
-source[path]
-string
-The repository directory that includes the source files for the Pages site. When branch
is master
, you can change path
to /docs
. When branch
is gh-pages
, you are unable to specify a path
other than /
.
-
-
-
-
-
- Example{
- "source": {
- "branch": "master",
- "path": "/docs"
- }
-}
-
-
-
- ResponseStatus: 201 Created
-
-{
- "url": "https://api.github.com/repos/github/developer.github.com/pages",
- "status": "built",
- "cname": "developer.github.com",
- "custom_404": false,
- "html_url": "https://developer.github.com",
- "source": {
- "branch": "master",
- "directory": "/"
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/get-a-github-pages-site.html b/cache/api.github.com/v3/repos/pages/get-a-github-pages-site.html
new file mode 100644
index 0000000000..7b16ef0ec5
--- /dev/null
+++ b/cache/api.github.com/v3/repos/pages/get-a-github-pages-site.html
@@ -0,0 +1,21 @@
+
+
+
+ Get a GitHub Pages siteGET /repos/:owner/:repo/pages
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/github/developer.github.com/pages",
+ "status": "built",
+ "cname": "developer.github.com",
+ "custom_404": false,
+ "html_url": "https://developer.github.com",
+ "source": {
+ "branch": "master",
+ "directory": "/"
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/get-a-specific-pages-build.html b/cache/api.github.com/v3/repos/pages/get-a-specific-pages-build.html
deleted file mode 100644
index 51c4695e4e..0000000000
--- a/cache/api.github.com/v3/repos/pages/get-a-specific-pages-build.html
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
- Get a specific Pages buildGET /repos/:owner/:repo/pages/builds/:build_id
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/github/developer.github.com/pages/builds/5472601",
- "status": "built",
- "error": {
- "message": null
- },
- "pusher": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "commit": "351391cdcb88ffae71ec3028c91f375a8036a26b",
- "duration": 2104,
- "created_at": "2014-02-10T19:00:49Z",
- "updated_at": "2014-02-10T19:00:51Z"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/get-github-pages-build.html b/cache/api.github.com/v3/repos/pages/get-github-pages-build.html
new file mode 100644
index 0000000000..774d300397
--- /dev/null
+++ b/cache/api.github.com/v3/repos/pages/get-github-pages-build.html
@@ -0,0 +1,41 @@
+
+
+
+ Get GitHub Pages buildGET /repos/:owner/:repo/pages/builds/:build_id
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/github/developer.github.com/pages/builds/5472601",
+ "status": "built",
+ "error": {
+ "message": null
+ },
+ "pusher": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "commit": "351391cdcb88ffae71ec3028c91f375a8036a26b",
+ "duration": 2104,
+ "created_at": "2014-02-10T19:00:49Z",
+ "updated_at": "2014-02-10T19:00:51Z"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/get-information-about-a-pages-site.html b/cache/api.github.com/v3/repos/pages/get-information-about-a-pages-site.html
deleted file mode 100644
index bbe1a072ac..0000000000
--- a/cache/api.github.com/v3/repos/pages/get-information-about-a-pages-site.html
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
- Get information about a Pages siteGET /repos/:owner/:repo/pages
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/github/developer.github.com/pages",
- "status": "built",
- "cname": "developer.github.com",
- "custom_404": false,
- "html_url": "https://developer.github.com",
- "source": {
- "branch": "master",
- "directory": "/"
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/index.html b/cache/api.github.com/v3/repos/pages/index.html
index b6c6ffbd49..42af512408 100644
--- a/cache/api.github.com/v3/repos/pages/index.html
+++ b/cache/api.github.com/v3/repos/pages/index.html
@@ -367,14 +367,14 @@
Pages
-- Get information about a Pages site
-- Enable a Pages site
-- Disable a Pages site
-- Update information about a Pages site
-- Request a page build
-- List Pages builds
+- Get a GitHub Pages site
+- Create a GitHub Pages site
+- Delete a GitHub Pages site
+- Update information about a GitHub Pages site
+- Request a GitHub Pages build
+- List GitHub Pages builds
- Get latest Pages build
-- Get a specific Pages build
+- Get GitHub Pages build
The GitHub Pages API retrieves information about your GitHub Pages configuration, and the statuses of your builds. Information about the site and the builds can only be accessed by authenticated owners, even though the websites are public. For more information, see "About GitHub Pages."
@@ -412,7 +412,7 @@
-
+ Get a GitHub Pages site
Get information about a Pages siteGET /repos/:owner/:repo/pages
@@ -440,7 +440,7 @@
-
+ Create a GitHub Pages site
Enable a Pages site
@@ -520,7 +520,7 @@
-
+ Delete a GitHub Pages site
Disable a Pages site
@@ -549,7 +549,7 @@
-
+ Update information about a GitHub Pages site
Update information about a Pages sitePUT /repos/:owner/:repo/pages
@@ -598,7 +598,7 @@
-
+ Request a GitHub Pages build
Request a page build
You can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.
@@ -623,7 +623,7 @@
-
+ List GitHub Pages builds
List Pages buildsGET /repos/:owner/:repo/pages/builds
@@ -723,7 +723,7 @@
-
+ Get GitHub Pages build
Get a specific Pages buildGET /repos/:owner/:repo/pages/builds/:build_id
diff --git a/cache/api.github.com/v3/repos/pages/list-github-pages-builds.html b/cache/api.github.com/v3/repos/pages/list-github-pages-builds.html
new file mode 100644
index 0000000000..5156a5918f
--- /dev/null
+++ b/cache/api.github.com/v3/repos/pages/list-github-pages-builds.html
@@ -0,0 +1,45 @@
+
+
+
+ List GitHub Pages buildsGET /repos/:owner/:repo/pages/builds
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/repos/github/developer.github.com/pages/builds/5472601",
+ "status": "built",
+ "error": {
+ "message": null
+ },
+ "pusher": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "commit": "351391cdcb88ffae71ec3028c91f375a8036a26b",
+ "duration": 2104,
+ "created_at": "2014-02-10T19:00:49Z",
+ "updated_at": "2014-02-10T19:00:51Z"
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/list-pages-builds.html b/cache/api.github.com/v3/repos/pages/list-pages-builds.html
deleted file mode 100644
index ea82a302ff..0000000000
--- a/cache/api.github.com/v3/repos/pages/list-pages-builds.html
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
- List Pages buildsGET /repos/:owner/:repo/pages/builds
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "url": "https://api.github.com/repos/github/developer.github.com/pages/builds/5472601",
- "status": "built",
- "error": {
- "message": null
- },
- "pusher": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "commit": "351391cdcb88ffae71ec3028c91f375a8036a26b",
- "duration": 2104,
- "created_at": "2014-02-10T19:00:49Z",
- "updated_at": "2014-02-10T19:00:51Z"
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/request-a-github-pages-build.html b/cache/api.github.com/v3/repos/pages/request-a-github-pages-build.html
new file mode 100644
index 0000000000..f6d7de907b
--- /dev/null
+++ b/cache/api.github.com/v3/repos/pages/request-a-github-pages-build.html
@@ -0,0 +1,16 @@
+
+
+
+ Request a GitHub Pages buildYou can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.
+Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.
+POST /repos/:owner/:repo/pages/builds
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/github/developer.github.com/pages/builds/latest",
+ "status": "queued"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/request-a-page-build.html b/cache/api.github.com/v3/repos/pages/request-a-page-build.html
deleted file mode 100644
index 5b7cc56c0a..0000000000
--- a/cache/api.github.com/v3/repos/pages/request-a-page-build.html
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
- Request a page buildYou can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.
-Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes.
-POST /repos/:owner/:repo/pages/builds
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/github/developer.github.com/pages/builds/latest",
- "status": "queued"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/sections.json b/cache/api.github.com/v3/repos/pages/sections.json
index 9b2df5cd48..8c1f9f2aa4 100644
--- a/cache/api.github.com/v3/repos/pages/sections.json
+++ b/cache/api.github.com/v3/repos/pages/sections.json
@@ -1,33 +1,33 @@
[
{
- "id": "get-information-about-a-pages-site",
- "name": "Get information about a Pages site",
- "url": "https://developer.github.com/v3/repos/pages/#get-information-about-a-pages-site"
+ "id": "get-a-github-pages-site",
+ "name": "Get a GitHub Pages site",
+ "url": "https://developer.github.com/v3/repos/pages/#get-a-github-pages-site"
},
{
- "id": "enable-a-pages-site",
- "name": "Enable a Pages site",
- "url": "https://developer.github.com/v3/repos/pages/#enable-a-pages-site"
+ "id": "create-a-github-pages-site",
+ "name": "Create a GitHub Pages site",
+ "url": "https://developer.github.com/v3/repos/pages/#create-a-github-pages-site"
},
{
- "id": "disable-a-pages-site",
- "name": "Disable a Pages site",
- "url": "https://developer.github.com/v3/repos/pages/#disable-a-pages-site"
+ "id": "delete-a-github-pages-site",
+ "name": "Delete a GitHub Pages site",
+ "url": "https://developer.github.com/v3/repos/pages/#delete-a-github-pages-site"
},
{
- "id": "update-information-about-a-pages-site",
- "name": "Update information about a Pages site",
- "url": "https://developer.github.com/v3/repos/pages/#update-information-about-a-pages-site"
+ "id": "update-information-about-a-github-pages-site",
+ "name": "Update information about a GitHub Pages site",
+ "url": "https://developer.github.com/v3/repos/pages/#update-information-about-a-github-pages-site"
},
{
- "id": "request-a-page-build",
- "name": "Request a page build",
- "url": "https://developer.github.com/v3/repos/pages/#request-a-page-build"
+ "id": "request-a-github-pages-build",
+ "name": "Request a GitHub Pages build",
+ "url": "https://developer.github.com/v3/repos/pages/#request-a-github-pages-build"
},
{
- "id": "list-pages-builds",
- "name": "List Pages builds",
- "url": "https://developer.github.com/v3/repos/pages/#list-pages-builds"
+ "id": "list-github-pages-builds",
+ "name": "List GitHub Pages builds",
+ "url": "https://developer.github.com/v3/repos/pages/#list-github-pages-builds"
},
{
"id": "get-latest-pages-build",
@@ -35,8 +35,8 @@
"url": "https://developer.github.com/v3/repos/pages/#get-latest-pages-build"
},
{
- "id": "get-a-specific-pages-build",
- "name": "Get a specific Pages build",
- "url": "https://developer.github.com/v3/repos/pages/#get-a-specific-pages-build"
+ "id": "get-github-pages-build",
+ "name": "Get GitHub Pages build",
+ "url": "https://developer.github.com/v3/repos/pages/#get-github-pages-build"
}
]
diff --git a/cache/api.github.com/v3/repos/pages/update-information-about-a-github-pages-site.html b/cache/api.github.com/v3/repos/pages/update-information-about-a-github-pages-site.html
new file mode 100644
index 0000000000..182d30f1bc
--- /dev/null
+++ b/cache/api.github.com/v3/repos/pages/update-information-about-a-github-pages-site.html
@@ -0,0 +1,39 @@
+
+
+
+ Update information about a GitHub Pages sitePUT /repos/:owner/:repo/pages
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+cname
+string
+Specify a custom domain for the repository. Sending a null
value will remove the custom domain. For more about custom domains, see "Using a custom domain with GitHub Pages."
+
+
+source
+string
+Update the source for the repository. Must include the branch name, and may optionally specify the subdirectory /docs
. Possible values are "gh-pages"
, "master"
, and "master /docs"
.
+
+
+
+
+
+ Example{
+ "cname": "octocatblog.com",
+ "source": "master /docs"
+}
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/pages/update-information-about-a-pages-site.html b/cache/api.github.com/v3/repos/pages/update-information-about-a-pages-site.html
deleted file mode 100644
index a4b81a8a5b..0000000000
--- a/cache/api.github.com/v3/repos/pages/update-information-about-a-pages-site.html
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
- Update information about a Pages sitePUT /repos/:owner/:repo/pages
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-cname
-string
-Specify a custom domain for the repository. Sending a null
value will remove the custom domain. For more about custom domains, see "Using a custom domain with GitHub Pages."
-
-
-source
-string
-Update the source for the repository. Must include the branch name, and may optionally specify the subdirectory /docs
. Possible values are "gh-pages"
, "master"
, and "master /docs"
.
-
-
-
-
-
- Example{
- "cname": "octocatblog.com",
- "source": "master /docs"
-}
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/edit-a-release-asset.html b/cache/api.github.com/v3/repos/releases/edit-a-release-asset.html
deleted file mode 100644
index ca2b8fc5d2..0000000000
--- a/cache/api.github.com/v3/repos/releases/edit-a-release-asset.html
+++ /dev/null
@@ -1,75 +0,0 @@
-
-
-
- Edit a release assetUsers with push access to the repository can edit a release asset.
-PATCH /repos/:owner/:repo/releases/assets/:asset_id
-
-
-
- Input
-
-
-Name
-Type
-Description
-
-
-
-
-name
-string
-The file name of the asset.
-
-
-label
-string
-An alternate short description of the asset. Used in place of the filename.
-
-
-
-
-
- Example{
- "name": "foo-1.0.0-osx.zip",
- "label": "Mac binary"
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
- "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
- "id": 1,
- "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
- "name": "example.zip",
- "label": "short description",
- "state": "uploaded",
- "content_type": "application/zip",
- "size": 1024,
- "download_count": 42,
- "created_at": "2013-02-27T19:35:32Z",
- "updated_at": "2013-02-27T19:35:32Z",
- "uploader": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/edit-a-release.html b/cache/api.github.com/v3/repos/releases/edit-a-release.html
deleted file mode 100644
index bf0caebf85..0000000000
--- a/cache/api.github.com/v3/repos/releases/edit-a-release.html
+++ /dev/null
@@ -1,141 +0,0 @@
-
-
-
- Edit a releaseUsers with push access to the repository can edit a release.
-PATCH /repos/:owner/:repo/releases/:release_id
-
-
-
- Input
-
-
-Name
-Type
-Description
-
-
-
-
-tag_name
-string
-The name of the tag.
-
-
-target_commitish
-string
-Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually master
).
-
-
-name
-string
-The name of the release.
-
-
-body
-string
-Text describing the contents of the tag.
-
-
-draft
-boolean
-
-true
makes the release a draft, and false
publishes the release.
-
-
-prerelease
-boolean
-
-true
to identify the release as a prerelease, false
to identify the release as a full release.
-
-
-
-
-
- Example{
- "tag_name": "v1.0.0",
- "target_commitish": "master",
- "name": "v1.0.0",
- "body": "Description of the release",
- "draft": false,
- "prerelease": false
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/releases/1",
- "html_url": "https://github.com/octocat/Hello-World/releases/v1.0.0",
- "assets_url": "https://api.github.com/repos/octocat/Hello-World/releases/1/assets",
- "upload_url": "https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}",
- "tarball_url": "https://api.github.com/repos/octocat/Hello-World/tarball/v1.0.0",
- "zipball_url": "https://api.github.com/repos/octocat/Hello-World/zipball/v1.0.0",
- "id": 1,
- "node_id": "MDc6UmVsZWFzZTE=",
- "tag_name": "v1.0.0",
- "target_commitish": "master",
- "name": "v1.0.0",
- "body": "Description of the release",
- "draft": false,
- "prerelease": false,
- "created_at": "2013-02-27T19:35:32Z",
- "published_at": "2013-02-27T19:35:32Z",
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "assets": [
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
- "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
- "id": 1,
- "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
- "name": "example.zip",
- "label": "short description",
- "state": "uploaded",
- "content_type": "application/zip",
- "size": 1024,
- "download_count": 42,
- "created_at": "2013-02-27T19:35:32Z",
- "updated_at": "2013-02-27T19:35:32Z",
- "uploader": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
- }
- ]
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/get-a-release-asset.html b/cache/api.github.com/v3/repos/releases/get-a-release-asset.html
new file mode 100644
index 0000000000..7eea135a7d
--- /dev/null
+++ b/cache/api.github.com/v3/repos/releases/get-a-release-asset.html
@@ -0,0 +1,51 @@
+
+
+
+ Get a release assetGET /repos/:owner/:repo/releases/assets/:asset_id
+
+
+
+ Response
+
+To download the asset's binary content, set the Accept
header of the request to application/octet-stream
.
+The API will either redirect the client to the location, or stream it directly if possible.
+API clients should handle both a 200
or 302
response.
+
+
+Status: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
+ "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
+ "id": 1,
+ "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
+ "name": "example.zip",
+ "label": "short description",
+ "state": "uploaded",
+ "content_type": "application/zip",
+ "size": 1024,
+ "download_count": 42,
+ "created_at": "2013-02-27T19:35:32Z",
+ "updated_at": "2013-02-27T19:35:32Z",
+ "uploader": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/get-a-release.html b/cache/api.github.com/v3/repos/releases/get-a-release.html
new file mode 100644
index 0000000000..478f9e92b1
--- /dev/null
+++ b/cache/api.github.com/v3/repos/releases/get-a-release.html
@@ -0,0 +1,91 @@
+
+
+
+ Get a releaseGET /repos/:owner/:repo/releases/:release_id
+
+
+
+ Response
+
+
+
+Note: This returns an upload_url
key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource.
+
+
+Status: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/releases/1",
+ "html_url": "https://github.com/octocat/Hello-World/releases/v1.0.0",
+ "assets_url": "https://api.github.com/repos/octocat/Hello-World/releases/1/assets",
+ "upload_url": "https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}",
+ "tarball_url": "https://api.github.com/repos/octocat/Hello-World/tarball/v1.0.0",
+ "zipball_url": "https://api.github.com/repos/octocat/Hello-World/zipball/v1.0.0",
+ "id": 1,
+ "node_id": "MDc6UmVsZWFzZTE=",
+ "tag_name": "v1.0.0",
+ "target_commitish": "master",
+ "name": "v1.0.0",
+ "body": "Description of the release",
+ "draft": false,
+ "prerelease": false,
+ "created_at": "2013-02-27T19:35:32Z",
+ "published_at": "2013-02-27T19:35:32Z",
+ "author": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "assets": [
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
+ "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
+ "id": 1,
+ "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
+ "name": "example.zip",
+ "label": "short description",
+ "state": "uploaded",
+ "content_type": "application/zip",
+ "size": 1024,
+ "download_count": 42,
+ "created_at": "2013-02-27T19:35:32Z",
+ "updated_at": "2013-02-27T19:35:32Z",
+ "uploader": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ }
+ ]
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/get-a-single-release-asset.html b/cache/api.github.com/v3/repos/releases/get-a-single-release-asset.html
deleted file mode 100644
index a878624d6a..0000000000
--- a/cache/api.github.com/v3/repos/releases/get-a-single-release-asset.html
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
- Get a single release assetGET /repos/:owner/:repo/releases/assets/:asset_id
-
-
-
- Response
-
-To download the asset's binary content, set the Accept
header of the request to application/octet-stream
.
-The API will either redirect the client to the location, or stream it directly if possible.
-API clients should handle both a 200
or 302
response.
-
-
-Status: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
- "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
- "id": 1,
- "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
- "name": "example.zip",
- "label": "short description",
- "state": "uploaded",
- "content_type": "application/zip",
- "size": 1024,
- "download_count": 42,
- "created_at": "2013-02-27T19:35:32Z",
- "updated_at": "2013-02-27T19:35:32Z",
- "uploader": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/get-a-single-release.html b/cache/api.github.com/v3/repos/releases/get-a-single-release.html
deleted file mode 100644
index bb348a104e..0000000000
--- a/cache/api.github.com/v3/repos/releases/get-a-single-release.html
+++ /dev/null
@@ -1,91 +0,0 @@
-
-
-
- Get a single releaseGET /repos/:owner/:repo/releases/:release_id
-
-
-
- Response
-
-
-
-Note: This returns an upload_url
key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource.
-
-
-Status: 200 OK
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/releases/1",
- "html_url": "https://github.com/octocat/Hello-World/releases/v1.0.0",
- "assets_url": "https://api.github.com/repos/octocat/Hello-World/releases/1/assets",
- "upload_url": "https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}",
- "tarball_url": "https://api.github.com/repos/octocat/Hello-World/tarball/v1.0.0",
- "zipball_url": "https://api.github.com/repos/octocat/Hello-World/zipball/v1.0.0",
- "id": 1,
- "node_id": "MDc6UmVsZWFzZTE=",
- "tag_name": "v1.0.0",
- "target_commitish": "master",
- "name": "v1.0.0",
- "body": "Description of the release",
- "draft": false,
- "prerelease": false,
- "created_at": "2013-02-27T19:35:32Z",
- "published_at": "2013-02-27T19:35:32Z",
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "assets": [
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
- "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
- "id": 1,
- "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
- "name": "example.zip",
- "label": "short description",
- "state": "uploaded",
- "content_type": "application/zip",
- "size": 1024,
- "download_count": 42,
- "created_at": "2013-02-27T19:35:32Z",
- "updated_at": "2013-02-27T19:35:32Z",
- "uploader": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
- }
- ]
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/index.html b/cache/api.github.com/v3/repos/releases/index.html
index aeacbd7d57..1a4f03e627 100644
--- a/cache/api.github.com/v3/repos/releases/index.html
+++ b/cache/api.github.com/v3/repos/releases/index.html
@@ -367,29 +367,29 @@
Releases
-- List releases for a repository
-- Get a single release
+- List releases
+- Get a release
- Get the latest release
- Get a release by tag name
- Create a release
-- Edit a release
+- Update a release
- Delete a release
-- List assets for a release
+- List release assets
- Upload a release asset
-- Get a single release asset
-- Edit a release asset
+- Get a release asset
+- Update a release asset
- Delete a release asset
-
+ List releases
List releases for a repository
This returns a list of releases, which does not include regular
Git tags that have not been associated with a release.
-To get a list of Git tags, use the Repository Tags API.
+To get a list of Git tags, use the Repository Tags API.
@@ -488,7 +488,7 @@
-
+ Get a release
Get a single releaseGET /repos/:owner/:repo/releases/:release_id
@@ -902,7 +902,7 @@
-
+ Update a release
Edit a release
Users with push access to the repository can edit a release.
@@ -1072,7 +1072,7 @@
-
+ List release assets
List assets for a releaseGET /repos/:owner/:repo/releases/:release_id/assets
@@ -1130,7 +1130,7 @@
- Upload a release assetThis endpoint makes use of a Hypermedia relation to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the upload_url
returned in the response of the Create a release endpoint to upload a release asset.
+This endpoint makes use of a Hypermedia relation to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the upload_url
returned in the response of the Create a release endpoint to upload a release asset.
You need to use an HTTP client which supports
SNI to make calls to this endpoint.
@@ -1149,7 +1149,7 @@
Notes:
-- GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The "List assets for a release" endpoint lists the renamed filenames. For more information and help, contact GitHub Support.
+- GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The "List assets for a release" endpoint lists the renamed filenames. For more information and help, contact GitHub Support.
- If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.
@@ -1243,7 +1243,7 @@
-
+ Get a release asset
Get a single release assetGET /repos/:owner/:repo/releases/assets/:asset_id
@@ -1302,7 +1302,7 @@
-
+ Update a release asset
Edit a release asset
Users with push access to the repository can edit a release asset.
diff --git a/cache/api.github.com/v3/repos/releases/list-assets-for-a-release.html b/cache/api.github.com/v3/repos/releases/list-assets-for-a-release.html
deleted file mode 100644
index bf2c92968f..0000000000
--- a/cache/api.github.com/v3/repos/releases/list-assets-for-a-release.html
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
- List assets for a releaseGET /repos/:owner/:repo/releases/:release_id/assets
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
- "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
- "id": 1,
- "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
- "name": "example.zip",
- "label": "short description",
- "state": "uploaded",
- "content_type": "application/zip",
- "size": 1024,
- "download_count": 42,
- "created_at": "2013-02-27T19:35:32Z",
- "updated_at": "2013-02-27T19:35:32Z",
- "uploader": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/list-release-assets.html b/cache/api.github.com/v3/repos/releases/list-release-assets.html
new file mode 100644
index 0000000000..f28ca31d3b
--- /dev/null
+++ b/cache/api.github.com/v3/repos/releases/list-release-assets.html
@@ -0,0 +1,48 @@
+
+
+
+ List release assetsGET /repos/:owner/:repo/releases/:release_id/assets
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
+ "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
+ "id": 1,
+ "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
+ "name": "example.zip",
+ "label": "short description",
+ "state": "uploaded",
+ "content_type": "application/zip",
+ "size": 1024,
+ "download_count": 42,
+ "created_at": "2013-02-27T19:35:32Z",
+ "updated_at": "2013-02-27T19:35:32Z",
+ "uploader": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/list-releases-for-a-repository.html b/cache/api.github.com/v3/repos/releases/list-releases-for-a-repository.html
deleted file mode 100644
index 135b3b571e..0000000000
--- a/cache/api.github.com/v3/repos/releases/list-releases-for-a-repository.html
+++ /dev/null
@@ -1,97 +0,0 @@
-
-
-
- List releases for a repository
-
-This returns a list of releases, which does not include regular
-Git tags that have not been associated with a release.
-To get a list of Git tags, use the Repository Tags API.
-
-
-Information about published releases are available to everyone.
-Only users with push access will receive listings for draft releases.
-GET /repos/:owner/:repo/releases
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/releases/1",
- "html_url": "https://github.com/octocat/Hello-World/releases/v1.0.0",
- "assets_url": "https://api.github.com/repos/octocat/Hello-World/releases/1/assets",
- "upload_url": "https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}",
- "tarball_url": "https://api.github.com/repos/octocat/Hello-World/tarball/v1.0.0",
- "zipball_url": "https://api.github.com/repos/octocat/Hello-World/zipball/v1.0.0",
- "id": 1,
- "node_id": "MDc6UmVsZWFzZTE=",
- "tag_name": "v1.0.0",
- "target_commitish": "master",
- "name": "v1.0.0",
- "body": "Description of the release",
- "draft": false,
- "prerelease": false,
- "created_at": "2013-02-27T19:35:32Z",
- "published_at": "2013-02-27T19:35:32Z",
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "assets": [
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
- "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
- "id": 1,
- "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
- "name": "example.zip",
- "label": "short description",
- "state": "uploaded",
- "content_type": "application/zip",
- "size": 1024,
- "download_count": 42,
- "created_at": "2013-02-27T19:35:32Z",
- "updated_at": "2013-02-27T19:35:32Z",
- "uploader": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
- }
- ]
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/list-releases.html b/cache/api.github.com/v3/repos/releases/list-releases.html
new file mode 100644
index 0000000000..822fcfaf51
--- /dev/null
+++ b/cache/api.github.com/v3/repos/releases/list-releases.html
@@ -0,0 +1,97 @@
+
+
+
+ List releases
+
+This returns a list of releases, which does not include regular
+Git tags that have not been associated with a release.
+To get a list of Git tags, use the Repository Tags API.
+
+
+Information about published releases are available to everyone.
+Only users with push access will receive listings for draft releases.
+GET /repos/:owner/:repo/releases
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/releases/1",
+ "html_url": "https://github.com/octocat/Hello-World/releases/v1.0.0",
+ "assets_url": "https://api.github.com/repos/octocat/Hello-World/releases/1/assets",
+ "upload_url": "https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}",
+ "tarball_url": "https://api.github.com/repos/octocat/Hello-World/tarball/v1.0.0",
+ "zipball_url": "https://api.github.com/repos/octocat/Hello-World/zipball/v1.0.0",
+ "id": 1,
+ "node_id": "MDc6UmVsZWFzZTE=",
+ "tag_name": "v1.0.0",
+ "target_commitish": "master",
+ "name": "v1.0.0",
+ "body": "Description of the release",
+ "draft": false,
+ "prerelease": false,
+ "created_at": "2013-02-27T19:35:32Z",
+ "published_at": "2013-02-27T19:35:32Z",
+ "author": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "assets": [
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
+ "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
+ "id": 1,
+ "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
+ "name": "example.zip",
+ "label": "short description",
+ "state": "uploaded",
+ "content_type": "application/zip",
+ "size": 1024,
+ "download_count": 42,
+ "created_at": "2013-02-27T19:35:32Z",
+ "updated_at": "2013-02-27T19:35:32Z",
+ "uploader": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ }
+ ]
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/sections.json b/cache/api.github.com/v3/repos/releases/sections.json
index a4ff81916a..fb0ec45dd4 100644
--- a/cache/api.github.com/v3/repos/releases/sections.json
+++ b/cache/api.github.com/v3/repos/releases/sections.json
@@ -1,13 +1,13 @@
[
{
- "id": "list-releases-for-a-repository",
- "name": "List releases for a repository",
- "url": "https://developer.github.com/v3/repos/releases/#list-releases-for-a-repository"
+ "id": "list-releases",
+ "name": "List releases",
+ "url": "https://developer.github.com/v3/repos/releases/#list-releases"
},
{
- "id": "get-a-single-release",
- "name": "Get a single release",
- "url": "https://developer.github.com/v3/repos/releases/#get-a-single-release"
+ "id": "get-a-release",
+ "name": "Get a release",
+ "url": "https://developer.github.com/v3/repos/releases/#get-a-release"
},
{
"id": "get-the-latest-release",
@@ -25,9 +25,9 @@
"url": "https://developer.github.com/v3/repos/releases/#create-a-release"
},
{
- "id": "edit-a-release",
- "name": "Edit a release",
- "url": "https://developer.github.com/v3/repos/releases/#edit-a-release"
+ "id": "update-a-release",
+ "name": "Update a release",
+ "url": "https://developer.github.com/v3/repos/releases/#update-a-release"
},
{
"id": "delete-a-release",
@@ -35,9 +35,9 @@
"url": "https://developer.github.com/v3/repos/releases/#delete-a-release"
},
{
- "id": "list-assets-for-a-release",
- "name": "List assets for a release",
- "url": "https://developer.github.com/v3/repos/releases/#list-assets-for-a-release"
+ "id": "list-release-assets",
+ "name": "List release assets",
+ "url": "https://developer.github.com/v3/repos/releases/#list-release-assets"
},
{
"id": "upload-a-release-asset",
@@ -45,14 +45,14 @@
"url": "https://developer.github.com/v3/repos/releases/#upload-a-release-asset"
},
{
- "id": "get-a-single-release-asset",
- "name": "Get a single release asset",
- "url": "https://developer.github.com/v3/repos/releases/#get-a-single-release-asset"
+ "id": "get-a-release-asset",
+ "name": "Get a release asset",
+ "url": "https://developer.github.com/v3/repos/releases/#get-a-release-asset"
},
{
- "id": "edit-a-release-asset",
- "name": "Edit a release asset",
- "url": "https://developer.github.com/v3/repos/releases/#edit-a-release-asset"
+ "id": "update-a-release-asset",
+ "name": "Update a release asset",
+ "url": "https://developer.github.com/v3/repos/releases/#update-a-release-asset"
},
{
"id": "delete-a-release-asset",
diff --git a/cache/api.github.com/v3/repos/releases/update-a-release-asset.html b/cache/api.github.com/v3/repos/releases/update-a-release-asset.html
new file mode 100644
index 0000000000..02cd57ac63
--- /dev/null
+++ b/cache/api.github.com/v3/repos/releases/update-a-release-asset.html
@@ -0,0 +1,75 @@
+
+
+
+ Update a release assetUsers with push access to the repository can edit a release asset.
+PATCH /repos/:owner/:repo/releases/assets/:asset_id
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+name
+string
+The file name of the asset.
+
+
+label
+string
+An alternate short description of the asset. Used in place of the filename.
+
+
+
+
+
+ Example{
+ "name": "foo-1.0.0-osx.zip",
+ "label": "Mac binary"
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
+ "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
+ "id": 1,
+ "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
+ "name": "example.zip",
+ "label": "short description",
+ "state": "uploaded",
+ "content_type": "application/zip",
+ "size": 1024,
+ "download_count": 42,
+ "created_at": "2013-02-27T19:35:32Z",
+ "updated_at": "2013-02-27T19:35:32Z",
+ "uploader": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/releases/update-a-release.html b/cache/api.github.com/v3/repos/releases/update-a-release.html
new file mode 100644
index 0000000000..5aea81c164
--- /dev/null
+++ b/cache/api.github.com/v3/repos/releases/update-a-release.html
@@ -0,0 +1,141 @@
+
+
+
+ Update a releaseUsers with push access to the repository can edit a release.
+PATCH /repos/:owner/:repo/releases/:release_id
+
+
+
+ Input
+
+
+Name
+Type
+Description
+
+
+
+
+tag_name
+string
+The name of the tag.
+
+
+target_commitish
+string
+Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually master
).
+
+
+name
+string
+The name of the release.
+
+
+body
+string
+Text describing the contents of the tag.
+
+
+draft
+boolean
+
+true
makes the release a draft, and false
publishes the release.
+
+
+prerelease
+boolean
+
+true
to identify the release as a prerelease, false
to identify the release as a full release.
+
+
+
+
+
+ Example{
+ "tag_name": "v1.0.0",
+ "target_commitish": "master",
+ "name": "v1.0.0",
+ "body": "Description of the release",
+ "draft": false,
+ "prerelease": false
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/releases/1",
+ "html_url": "https://github.com/octocat/Hello-World/releases/v1.0.0",
+ "assets_url": "https://api.github.com/repos/octocat/Hello-World/releases/1/assets",
+ "upload_url": "https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}",
+ "tarball_url": "https://api.github.com/repos/octocat/Hello-World/tarball/v1.0.0",
+ "zipball_url": "https://api.github.com/repos/octocat/Hello-World/zipball/v1.0.0",
+ "id": 1,
+ "node_id": "MDc6UmVsZWFzZTE=",
+ "tag_name": "v1.0.0",
+ "target_commitish": "master",
+ "name": "v1.0.0",
+ "body": "Description of the release",
+ "draft": false,
+ "prerelease": false,
+ "created_at": "2013-02-27T19:35:32Z",
+ "published_at": "2013-02-27T19:35:32Z",
+ "author": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "assets": [
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1",
+ "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip",
+ "id": 1,
+ "node_id": "MDEyOlJlbGVhc2VBc3NldDE=",
+ "name": "example.zip",
+ "label": "short description",
+ "state": "uploaded",
+ "content_type": "application/zip",
+ "size": 1024,
+ "download_count": 42,
+ "created_at": "2013-02-27T19:35:32Z",
+ "updated_at": "2013-02-27T19:35:32Z",
+ "uploader": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ }
+ ]
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/sections.json b/cache/api.github.com/v3/repos/sections.json
index 5666474310..b488f8e6b7 100644
--- a/cache/api.github.com/v3/repos/sections.json
+++ b/cache/api.github.com/v3/repos/sections.json
@@ -80,24 +80,24 @@
"url": "https://developer.github.com/v3/repos/#disable-automated-security-fixes"
},
{
- "id": "list-contributors",
- "name": "List contributors",
- "url": "https://developer.github.com/v3/repos/#list-contributors"
+ "id": "list-repository-contributors",
+ "name": "List repository contributors",
+ "url": "https://developer.github.com/v3/repos/#list-repository-contributors"
},
{
- "id": "list-languages",
- "name": "List languages",
- "url": "https://developer.github.com/v3/repos/#list-languages"
+ "id": "list-repository-languages",
+ "name": "List repository languages",
+ "url": "https://developer.github.com/v3/repos/#list-repository-languages"
},
{
- "id": "list-teams",
- "name": "List teams",
- "url": "https://developer.github.com/v3/repos/#list-teams"
+ "id": "list-repository-teams",
+ "name": "List repository teams",
+ "url": "https://developer.github.com/v3/repos/#list-repository-teams"
},
{
- "id": "list-tags",
- "name": "List tags",
- "url": "https://developer.github.com/v3/repos/#list-tags"
+ "id": "list-repository-tags",
+ "name": "List repository tags",
+ "url": "https://developer.github.com/v3/repos/#list-repository-tags"
},
{
"id": "delete-a-repository",
diff --git a/cache/api.github.com/v3/repos/statistics/get-all-contributor-commit-activity.html b/cache/api.github.com/v3/repos/statistics/get-all-contributor-commit-activity.html
new file mode 100644
index 0000000000..5e164e358a
--- /dev/null
+++ b/cache/api.github.com/v3/repos/statistics/get-all-contributor-commit-activity.html
@@ -0,0 +1,59 @@
+
+
+
+ Get all contributor commit activityGET /repos/:owner/:repo/stats/contributors
+
+
+
+ Response
+-
+
total
- The Total number of commits authored by the contributor.
+
+Weekly Hash (weeks
array):
+
+-
+
w
- Start of the week, given as a Unix timestamp.
+-
+
a
- Number of additions
+-
+
d
- Number of deletions
+-
+
c
- Number of commits
+
+Status: 200 OK
+
+[
+ {
+ "author": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "total": 135,
+ "weeks": [
+ {
+ "w": "1367712000",
+ "a": 6898,
+ "d": 77,
+ "c": 10
+ }
+ ]
+ }
+]
+
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statistics/get-contributors-list-with-additions-deletions-and-commit-counts.html b/cache/api.github.com/v3/repos/statistics/get-contributors-list-with-additions-deletions-and-commit-counts.html
deleted file mode 100644
index 465d204a03..0000000000
--- a/cache/api.github.com/v3/repos/statistics/get-contributors-list-with-additions-deletions-and-commit-counts.html
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
- Get contributors list with additions, deletions, and commit countsGET /repos/:owner/:repo/stats/contributors
-
-
-
- Response
--
-
total
- The Total number of commits authored by the contributor.
-
-Weekly Hash (weeks
array):
-
--
-
w
- Start of the week, given as a Unix timestamp.
--
-
a
- Number of additions
--
-
d
- Number of deletions
--
-
c
- Number of commits
-
-Status: 200 OK
-
-[
- {
- "author": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "total": 135,
- "weeks": [
- {
- "w": "1367712000",
- "a": 6898,
- "d": 77,
- "c": 10
- }
- ]
- }
-]
-
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statistics/get-the-hourly-commit-count-for-each-day.html b/cache/api.github.com/v3/repos/statistics/get-the-hourly-commit-count-for-each-day.html
new file mode 100644
index 0000000000..035b1bdcab
--- /dev/null
+++ b/cache/api.github.com/v3/repos/statistics/get-the-hourly-commit-count-for-each-day.html
@@ -0,0 +1,37 @@
+
+
+
+ Get the hourly commit count for each dayGET /repos/:owner/:repo/stats/punch_card
+
+
+
+ ResponseEach array contains the day number, hour number, and number of commits:
+
+-
+
0-6
: Sunday - Saturday
+-
+
0-23
: Hour of day
+- Number of commits
+
+For example, [2, 14, 25]
indicates that there were 25 total commits, during the
+2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.
+Status: 200 OK
+
+[
+ [
+ 0,
+ 0,
+ 5
+ ],
+ [
+ 0,
+ 1,
+ 43
+ ],
+ [
+ 0,
+ 2,
+ 21
+ ]
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statistics/get-the-last-year-of-commit-activity-data.html b/cache/api.github.com/v3/repos/statistics/get-the-last-year-of-commit-activity-data.html
deleted file mode 100644
index 20c8efb727..0000000000
--- a/cache/api.github.com/v3/repos/statistics/get-the-last-year-of-commit-activity-data.html
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
- Get the last year of commit activity dataReturns the last year of commit activity grouped by week. The days
array
-is a group of commits per day, starting on Sunday
.
-GET /repos/:owner/:repo/stats/commit_activity
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "days": [
- 0,
- 3,
- 26,
- 20,
- 39,
- 1,
- 0
- ],
- "total": 89,
- "week": 1336280400
- }
-]
-
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statistics/get-the-last-year-of-commit-activity.html b/cache/api.github.com/v3/repos/statistics/get-the-last-year-of-commit-activity.html
new file mode 100644
index 0000000000..476bfd7d0b
--- /dev/null
+++ b/cache/api.github.com/v3/repos/statistics/get-the-last-year-of-commit-activity.html
@@ -0,0 +1,28 @@
+
+
+
+ Get the last year of commit activityReturns the last year of commit activity grouped by week. The days
array
+is a group of commits per day, starting on Sunday
.
+GET /repos/:owner/:repo/stats/commit_activity
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "days": [
+ 0,
+ 3,
+ 26,
+ 20,
+ 39,
+ 1,
+ 0
+ ],
+ "total": 89,
+ "week": 1336280400
+ }
+]
+
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statistics/get-the-number-of-additions-and-deletions-per-week.html b/cache/api.github.com/v3/repos/statistics/get-the-number-of-additions-and-deletions-per-week.html
deleted file mode 100644
index 96c29ecbdf..0000000000
--- a/cache/api.github.com/v3/repos/statistics/get-the-number-of-additions-and-deletions-per-week.html
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- Get the number of additions and deletions per weekGET /repos/:owner/:repo/stats/code_frequency
-
-
-
- ResponseReturns a weekly aggregate of the number of additions and deletions pushed
-to a repository.
-Status: 200 OK
-
-[
- [
- 1302998400,
- 1124,
- -435
- ]
-]
-
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statistics/get-the-number-of-commits-per-hour-in-each-day.html b/cache/api.github.com/v3/repos/statistics/get-the-number-of-commits-per-hour-in-each-day.html
deleted file mode 100644
index 3e2c8cd121..0000000000
--- a/cache/api.github.com/v3/repos/statistics/get-the-number-of-commits-per-hour-in-each-day.html
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
- Get the number of commits per hour in each dayGET /repos/:owner/:repo/stats/punch_card
-
-
-
- ResponseEach array contains the day number, hour number, and number of commits:
-
--
-
0-6
: Sunday - Saturday
--
-
0-23
: Hour of day
-- Number of commits
-
-For example, [2, 14, 25]
indicates that there were 25 total commits, during the
-2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.
-Status: 200 OK
-
-[
- [
- 0,
- 0,
- 5
- ],
- [
- 0,
- 1,
- 43
- ],
- [
- 0,
- 2,
- 21
- ]
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statistics/get-the-weekly-commit-activity.html b/cache/api.github.com/v3/repos/statistics/get-the-weekly-commit-activity.html
new file mode 100644
index 0000000000..5dec483ba8
--- /dev/null
+++ b/cache/api.github.com/v3/repos/statistics/get-the-weekly-commit-activity.html
@@ -0,0 +1,20 @@
+
+
+
+ Get the weekly commit activityGET /repos/:owner/:repo/stats/code_frequency
+
+
+
+ ResponseReturns a weekly aggregate of the number of additions and deletions pushed
+to a repository.
+Status: 200 OK
+
+[
+ [
+ 1302998400,
+ 1124,
+ -435
+ ]
+]
+
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statistics/get-the-weekly-commit-count-for-the-repository-owner-and-everyone-else.html b/cache/api.github.com/v3/repos/statistics/get-the-weekly-commit-count-for-the-repository-owner-and-everyone-else.html
deleted file mode 100644
index 7ad8e76312..0000000000
--- a/cache/api.github.com/v3/repos/statistics/get-the-weekly-commit-count-for-the-repository-owner-and-everyone-else.html
+++ /dev/null
@@ -1,125 +0,0 @@
-
-
-
- Get the weekly commit count for the repository owner and everyone elseGET /repos/:owner/:repo/stats/participation
-
-
-
- ResponseReturns the total commit counts for the owner
and total commit counts in all
.
-all
is everyone combined, including the owner
in the last 52 weeks. If you'd like to get the commit
-counts for non-owners, you can subtract owner
from all
.
-The array order is oldest week (index 0) to most recent week.
-Status: 200 OK
-
-{
- "all": [
- 11,
- 21,
- 15,
- 2,
- 8,
- 1,
- 8,
- 23,
- 17,
- 21,
- 11,
- 10,
- 33,
- 91,
- 38,
- 34,
- 22,
- 23,
- 32,
- 3,
- 43,
- 87,
- 71,
- 18,
- 13,
- 5,
- 13,
- 16,
- 66,
- 27,
- 12,
- 45,
- 110,
- 117,
- 13,
- 8,
- 18,
- 9,
- 19,
- 26,
- 39,
- 12,
- 20,
- 31,
- 46,
- 91,
- 45,
- 10,
- 24,
- 9,
- 29,
- 7
- ],
- "owner": [
- 3,
- 2,
- 3,
- 0,
- 2,
- 0,
- 5,
- 14,
- 7,
- 9,
- 1,
- 5,
- 0,
- 48,
- 19,
- 2,
- 0,
- 1,
- 10,
- 2,
- 23,
- 40,
- 35,
- 8,
- 8,
- 2,
- 10,
- 6,
- 30,
- 0,
- 2,
- 9,
- 53,
- 104,
- 3,
- 3,
- 10,
- 4,
- 7,
- 11,
- 21,
- 4,
- 4,
- 22,
- 26,
- 63,
- 11,
- 2,
- 14,
- 1,
- 10,
- 3
- ]
-}
-
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statistics/get-the-weekly-commit-count.html b/cache/api.github.com/v3/repos/statistics/get-the-weekly-commit-count.html
new file mode 100644
index 0000000000..5c07b95ad8
--- /dev/null
+++ b/cache/api.github.com/v3/repos/statistics/get-the-weekly-commit-count.html
@@ -0,0 +1,125 @@
+
+
+
+ Get the weekly commit countGET /repos/:owner/:repo/stats/participation
+
+
+
+ ResponseReturns the total commit counts for the owner
and total commit counts in all
.
+all
is everyone combined, including the owner
in the last 52 weeks. If you'd like to get the commit
+counts for non-owners, you can subtract owner
from all
.
+The array order is oldest week (index 0) to most recent week.
+Status: 200 OK
+
+{
+ "all": [
+ 11,
+ 21,
+ 15,
+ 2,
+ 8,
+ 1,
+ 8,
+ 23,
+ 17,
+ 21,
+ 11,
+ 10,
+ 33,
+ 91,
+ 38,
+ 34,
+ 22,
+ 23,
+ 32,
+ 3,
+ 43,
+ 87,
+ 71,
+ 18,
+ 13,
+ 5,
+ 13,
+ 16,
+ 66,
+ 27,
+ 12,
+ 45,
+ 110,
+ 117,
+ 13,
+ 8,
+ 18,
+ 9,
+ 19,
+ 26,
+ 39,
+ 12,
+ 20,
+ 31,
+ 46,
+ 91,
+ 45,
+ 10,
+ 24,
+ 9,
+ 29,
+ 7
+ ],
+ "owner": [
+ 3,
+ 2,
+ 3,
+ 0,
+ 2,
+ 0,
+ 5,
+ 14,
+ 7,
+ 9,
+ 1,
+ 5,
+ 0,
+ 48,
+ 19,
+ 2,
+ 0,
+ 1,
+ 10,
+ 2,
+ 23,
+ 40,
+ 35,
+ 8,
+ 8,
+ 2,
+ 10,
+ 6,
+ 30,
+ 0,
+ 2,
+ 9,
+ 53,
+ 104,
+ 3,
+ 3,
+ 10,
+ 4,
+ 7,
+ 11,
+ 21,
+ 4,
+ 4,
+ 22,
+ 26,
+ 63,
+ 11,
+ 2,
+ 14,
+ 1,
+ 10,
+ 3
+ ]
+}
+
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statistics/index.html b/cache/api.github.com/v3/repos/statistics/index.html
index 8727c0ff36..f23fd1909c 100644
--- a/cache/api.github.com/v3/repos/statistics/index.html
+++ b/cache/api.github.com/v3/repos/statistics/index.html
@@ -367,11 +367,11 @@
Statistics
-- Get contributors list with additions, deletions, and commit counts
-- Get the last year of commit activity data
-- Get the number of additions and deletions per week
-- Get the weekly commit count for the repository owner and everyone else
-- Get the number of commits per hour in each day
+- Get all contributor commit activity
+- Get the last year of commit activity
+- Get the weekly commit activity
+- Get the weekly commit count
+- Get the hourly commit count for each day
The Repository Statistics API allows you to fetch the data that GitHub uses for visualizing different
@@ -405,7 +405,7 @@
-
+ Get all contributor commit activity
Get contributors list with additions, deletions, and commit countsGET /repos/:owner/:repo/stats/contributors
@@ -475,7 +475,7 @@
-
+ Get the last year of commit activity
Get the last year of commit activity dataReturns the last year of commit activity grouped by week. The days
array
@@ -512,7 +512,7 @@
-
+ Get the weekly commit activity
Get the number of additions and deletions per weekGET /repos/:owner/:repo/stats/code_frequency
@@ -541,7 +541,7 @@
-
+ Get the weekly commit count
Get the weekly commit count for the repository owner and everyone elseGET /repos/:owner/:repo/stats/participation
@@ -676,7 +676,7 @@
-
+ Get the hourly commit count for each day
Get the number of commits per hour in each dayGET /repos/:owner/:repo/stats/punch_card
diff --git a/cache/api.github.com/v3/repos/statistics/sections.json b/cache/api.github.com/v3/repos/statistics/sections.json
index 69f7104a81..5e8a1d4042 100644
--- a/cache/api.github.com/v3/repos/statistics/sections.json
+++ b/cache/api.github.com/v3/repos/statistics/sections.json
@@ -1,27 +1,27 @@
[
{
- "id": "get-contributors-list-with-additions-deletions-and-commit-counts",
- "name": "Get contributors list with additions, deletions, and commit counts",
- "url": "https://developer.github.com/v3/repos/statistics/#get-contributors-list-with-additions-deletions-and-commit-counts"
+ "id": "get-all-contributor-commit-activity",
+ "name": "Get all contributor commit activity",
+ "url": "https://developer.github.com/v3/repos/statistics/#get-all-contributor-commit-activity"
},
{
- "id": "get-the-last-year-of-commit-activity-data",
- "name": "Get the last year of commit activity data",
- "url": "https://developer.github.com/v3/repos/statistics/#get-the-last-year-of-commit-activity-data"
+ "id": "get-the-last-year-of-commit-activity",
+ "name": "Get the last year of commit activity",
+ "url": "https://developer.github.com/v3/repos/statistics/#get-the-last-year-of-commit-activity"
},
{
- "id": "get-the-number-of-additions-and-deletions-per-week",
- "name": "Get the number of additions and deletions per week",
- "url": "https://developer.github.com/v3/repos/statistics/#get-the-number-of-additions-and-deletions-per-week"
+ "id": "get-the-weekly-commit-activity",
+ "name": "Get the weekly commit activity",
+ "url": "https://developer.github.com/v3/repos/statistics/#get-the-weekly-commit-activity"
},
{
- "id": "get-the-weekly-commit-count-for-the-repository-owner-and-everyone-else",
- "name": "Get the weekly commit count for the repository owner and everyone else",
- "url": "https://developer.github.com/v3/repos/statistics/#get-the-weekly-commit-count-for-the-repository-owner-and-everyone-else"
+ "id": "get-the-weekly-commit-count",
+ "name": "Get the weekly commit count",
+ "url": "https://developer.github.com/v3/repos/statistics/#get-the-weekly-commit-count"
},
{
- "id": "get-the-number-of-commits-per-hour-in-each-day",
- "name": "Get the number of commits per hour in each day",
- "url": "https://developer.github.com/v3/repos/statistics/#get-the-number-of-commits-per-hour-in-each-day"
+ "id": "get-the-hourly-commit-count-for-each-day",
+ "name": "Get the hourly commit count for each day",
+ "url": "https://developer.github.com/v3/repos/statistics/#get-the-hourly-commit-count-for-each-day"
}
]
diff --git a/cache/api.github.com/v3/repos/statuses/create-a-commit-status.html b/cache/api.github.com/v3/repos/statuses/create-a-commit-status.html
new file mode 100644
index 0000000000..b6f8ec8f21
--- /dev/null
+++ b/cache/api.github.com/v3/repos/statuses/create-a-commit-status.html
@@ -0,0 +1,91 @@
+
+
+
+ Create a commit statusUsers with push access in a repository can create commit statuses for a given SHA.
+POST /repos/:owner/:repo/statuses/:sha
+
+Note: there is a limit of 1000 statuses per sha
and context
within a repository.
+Attempts to create more than 1000 statuses will result in a validation error.
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+state
+string
+
+Required. The state of the status. Can be one of error
, failure
, pending
, or success
.
+
+
+target_url
+string
+The target URL to associate with this status. This URL will be linked from the GitHub UI to allow users to easily see the source of the status.
For example, if your continuous integration system is posting build status, you would want to provide the deep link for the build output for this specific SHA:
http://ci.example.com/user/repo/build/sha
+
+
+
+description
+string
+A short description of the status.
+
+
+context
+string
+A string label to differentiate this status from the status of other systems. Default: default
+
+
+
+
+
+
+ Example{
+ "state": "success",
+ "target_url": "https://example.com/build/status",
+ "description": "The build succeeded!",
+ "context": "continuous-integration/jenkins"
+}
+
+
+
+ ResponseStatus: 201 Created
+Location: https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e
+
+{
+ "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "avatar_url": "https://github.com/images/error/hubot_happy.gif",
+ "id": 1,
+ "node_id": "MDY6U3RhdHVzMQ==",
+ "state": "success",
+ "description": "Build has completed successfully",
+ "target_url": "https://ci.example.com/1000/output",
+ "context": "continuous-integration/jenkins",
+ "created_at": "2012-07-20T01:19:13Z",
+ "updated_at": "2012-07-20T01:19:13Z",
+ "creator": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statuses/create-a-status.html b/cache/api.github.com/v3/repos/statuses/create-a-status.html
deleted file mode 100644
index ae3f89b082..0000000000
--- a/cache/api.github.com/v3/repos/statuses/create-a-status.html
+++ /dev/null
@@ -1,91 +0,0 @@
-
-
-
- Create a statusUsers with push access in a repository can create commit statuses for a given SHA.
-POST /repos/:owner/:repo/statuses/:sha
-
-Note: there is a limit of 1000 statuses per sha
and context
within a repository.
-Attempts to create more than 1000 statuses will result in a validation error.
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-state
-string
-
-Required. The state of the status. Can be one of error
, failure
, pending
, or success
.
-
-
-target_url
-string
-The target URL to associate with this status. This URL will be linked from the GitHub UI to allow users to easily see the source of the status.
For example, if your continuous integration system is posting build status, you would want to provide the deep link for the build output for this specific SHA:
http://ci.example.com/user/repo/build/sha
-
-
-
-description
-string
-A short description of the status.
-
-
-context
-string
-A string label to differentiate this status from the status of other systems. Default: default
-
-
-
-
-
-
- Example{
- "state": "success",
- "target_url": "https://example.com/build/status",
- "description": "The build succeeded!",
- "context": "continuous-integration/jenkins"
-}
-
-
-
- ResponseStatus: 201 Created
-Location: https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e
-
-{
- "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "avatar_url": "https://github.com/images/error/hubot_happy.gif",
- "id": 1,
- "node_id": "MDY6U3RhdHVzMQ==",
- "state": "success",
- "description": "Build has completed successfully",
- "target_url": "https://ci.example.com/1000/output",
- "context": "continuous-integration/jenkins",
- "created_at": "2012-07-20T01:19:13Z",
- "updated_at": "2012-07-20T01:19:13Z",
- "creator": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statuses/get-the-combined-status-for-a-specific-ref.html b/cache/api.github.com/v3/repos/statuses/get-the-combined-status-for-a-specific-ref.html
deleted file mode 100644
index 0ad5726a9b..0000000000
--- a/cache/api.github.com/v3/repos/statuses/get-the-combined-status-for-a-specific-ref.html
+++ /dev/null
@@ -1,126 +0,0 @@
-
-
-
- Get the combined status for a specific refUsers with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.
-GET /repos/:owner/:repo/commits/:ref/status
-
-The most recent status for each context is returned, up to 100. This field
-paginates if there are over 100 contexts.
-Additionally, a combined state
is returned. The state
is one of:
-
--
-failure if any of the contexts report as
error
or failure
-
--
-pending if there are no statuses or a context is
pending
-
--
-success if the latest status for all contexts is
success
-
-
-
-
- ResponseStatus: 200 OK
-
-{
- "state": "success",
- "statuses": [
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "avatar_url": "https://github.com/images/error/hubot_happy.gif",
- "id": 1,
- "node_id": "MDY6U3RhdHVzMQ==",
- "state": "success",
- "description": "Build has completed successfully",
- "target_url": "https://ci.example.com/1000/output",
- "context": "continuous-integration/jenkins",
- "created_at": "2012-07-20T01:19:13Z",
- "updated_at": "2012-07-20T01:19:13Z"
- },
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "avatar_url": "https://github.com/images/error/other_user_happy.gif",
- "id": 2,
- "node_id": "MDY6U3RhdHVzMg==",
- "state": "success",
- "description": "Testing has completed successfully",
- "target_url": "https://ci.example.com/2000/output",
- "context": "security/brakeman",
- "created_at": "2012-08-20T01:19:13Z",
- "updated_at": "2012-08-20T01:19:13Z"
- }
- ],
- "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "total_count": 2,
- "repository": {
- "id": 1296269,
- "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
- "name": "Hello-World",
- "full_name": "octocat/Hello-World",
- "owner": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- },
- "private": false,
- "html_url": "https://github.com/octocat/Hello-World",
- "description": "This your first repo!",
- "fork": false,
- "url": "https://api.github.com/repos/octocat/Hello-World",
- "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
- "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
- "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
- "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
- "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
- "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
- "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
- "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
- "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
- "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
- "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
- "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
- "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
- "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
- "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
- "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
- "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
- "git_url": "git:github.com/octocat/Hello-World.git",
- "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
- "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
- "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
- "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
- "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
- "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
- "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
- "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
- "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
- "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
- "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
- "ssh_url": "git@github.com:octocat/Hello-World.git",
- "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
- "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
- "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
- "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
- "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
- "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
- "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "commit_url": "https://api.github.com/repos/octocat/Hello-World/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "url": "https://api.github.com/repos/octocat/Hello-World/6dcb09b5b57875f334f61aebed695e2e4193db5e/status"
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statuses/get-the-combined-status-for-a-specific-reference.html b/cache/api.github.com/v3/repos/statuses/get-the-combined-status-for-a-specific-reference.html
new file mode 100644
index 0000000000..fdd5281178
--- /dev/null
+++ b/cache/api.github.com/v3/repos/statuses/get-the-combined-status-for-a-specific-reference.html
@@ -0,0 +1,126 @@
+
+
+
+ Get the combined status for a specific referenceUsers with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.
+GET /repos/:owner/:repo/commits/:ref/status
+
+The most recent status for each context is returned, up to 100. This field
+paginates if there are over 100 contexts.
+Additionally, a combined state
is returned. The state
is one of:
+
+-
+failure if any of the contexts report as
error
or failure
+
+-
+pending if there are no statuses or a context is
pending
+
+-
+success if the latest status for all contexts is
success
+
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "state": "success",
+ "statuses": [
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "avatar_url": "https://github.com/images/error/hubot_happy.gif",
+ "id": 1,
+ "node_id": "MDY6U3RhdHVzMQ==",
+ "state": "success",
+ "description": "Build has completed successfully",
+ "target_url": "https://ci.example.com/1000/output",
+ "context": "continuous-integration/jenkins",
+ "created_at": "2012-07-20T01:19:13Z",
+ "updated_at": "2012-07-20T01:19:13Z"
+ },
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "avatar_url": "https://github.com/images/error/other_user_happy.gif",
+ "id": 2,
+ "node_id": "MDY6U3RhdHVzMg==",
+ "state": "success",
+ "description": "Testing has completed successfully",
+ "target_url": "https://ci.example.com/2000/output",
+ "context": "security/brakeman",
+ "created_at": "2012-08-20T01:19:13Z",
+ "updated_at": "2012-08-20T01:19:13Z"
+ }
+ ],
+ "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "total_count": 2,
+ "repository": {
+ "id": 1296269,
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5",
+ "name": "Hello-World",
+ "full_name": "octocat/Hello-World",
+ "owner": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/octocat/Hello-World",
+ "description": "This your first repo!",
+ "fork": false,
+ "url": "https://api.github.com/repos/octocat/Hello-World",
+ "archive_url": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "http://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "http://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "http://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "http://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "http://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "http://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "http://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "http://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "http://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "http://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "http://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "http://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "http://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "http://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ },
+ "commit_url": "https://api.github.com/repos/octocat/Hello-World/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "url": "https://api.github.com/repos/octocat/Hello-World/6dcb09b5b57875f334f61aebed695e2e4193db5e/status"
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statuses/index.html b/cache/api.github.com/v3/repos/statuses/index.html
index e8e09f1aff..716c1fe54b 100644
--- a/cache/api.github.com/v3/repos/statuses/index.html
+++ b/cache/api.github.com/v3/repos/statuses/index.html
@@ -367,9 +367,9 @@
Statuses
-- Create a status
-- List statuses for a specific ref
-- Get the combined status for a specific ref
+- Create a commit status
+- List commit statuses for a reference
+- Get the combined status for a specific reference
The status API allows external services to mark commits with an error
,
@@ -389,7 +389,7 @@
Statuses can include a context
to indicate what service is providing that status.
For example, you may have your continuous integration service push statuses with a context of ci
,
and a security audit tool push statuses with a context of security
. You can
-then use the combined status endpoint
+then use the Get the combined status for a specific reference
to retrieve the whole status for a commit.
Note that the repo:status
OAuth scope grants targeted
@@ -399,7 +399,7 @@
If you are developing a GitHub App and want to provide more detailed information about an external service, you may want to use the Checks API.
-
+ Create a commit status
Create a statusUsers with push access in a repository can create commit statuses for a given SHA.
@@ -504,7 +504,7 @@
-
+ List commit statuses for a reference
List statuses for a specific ref
Users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.
@@ -566,7 +566,7 @@
-
+ Get the combined status for a specific reference
Get the combined status for a specific ref
Users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.
diff --git a/cache/api.github.com/v3/repos/statuses/list-commit-statuses-for-a-reference.html b/cache/api.github.com/v3/repos/statuses/list-commit-statuses-for-a-reference.html
new file mode 100644
index 0000000000..094eb25d62
--- /dev/null
+++ b/cache/api.github.com/v3/repos/statuses/list-commit-statuses-for-a-reference.html
@@ -0,0 +1,53 @@
+
+
+
+ List commit statuses for a referenceUsers with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.
+GET /repos/:owner/:repo/commits/:ref/statuses
+
+
+
+This resource is also available via a legacy route:
+GET /repos/:owner/:repo/statuses/:ref
.
+
+
+
+
+ ResponseStatus: 200 OK
+Link: <https://api.github.com/resource?page=2>; rel="next",
+ <https://api.github.com/resource?page=5>; rel="last"
+
+[
+ {
+ "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
+ "avatar_url": "https://github.com/images/error/hubot_happy.gif",
+ "id": 1,
+ "node_id": "MDY6U3RhdHVzMQ==",
+ "state": "success",
+ "description": "Build has completed successfully",
+ "target_url": "https://ci.example.com/1000/output",
+ "context": "continuous-integration/jenkins",
+ "created_at": "2012-07-20T01:19:13Z",
+ "updated_at": "2012-07-20T01:19:13Z",
+ "creator": {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statuses/list-statuses-for-a-specific-ref.html b/cache/api.github.com/v3/repos/statuses/list-statuses-for-a-specific-ref.html
deleted file mode 100644
index 937302164c..0000000000
--- a/cache/api.github.com/v3/repos/statuses/list-statuses-for-a-specific-ref.html
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
- List statuses for a specific refUsers with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.
-GET /repos/:owner/:repo/commits/:ref/statuses
-
-
-
-This resource is also available via a legacy route:
-GET /repos/:owner/:repo/statuses/:ref
.
-
-
-
-
- ResponseStatus: 200 OK
-Link: <https://api.github.com/resource?page=2>; rel="next",
- <https://api.github.com/resource?page=5>; rel="last"
-
-[
- {
- "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "avatar_url": "https://github.com/images/error/hubot_happy.gif",
- "id": 1,
- "node_id": "MDY6U3RhdHVzMQ==",
- "state": "success",
- "description": "Build has completed successfully",
- "target_url": "https://ci.example.com/1000/output",
- "context": "continuous-integration/jenkins",
- "created_at": "2012-07-20T01:19:13Z",
- "updated_at": "2012-07-20T01:19:13Z",
- "creator": {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/statuses/sections.json b/cache/api.github.com/v3/repos/statuses/sections.json
index cb9f853007..47ae1186ba 100644
--- a/cache/api.github.com/v3/repos/statuses/sections.json
+++ b/cache/api.github.com/v3/repos/statuses/sections.json
@@ -1,17 +1,17 @@
[
{
- "id": "create-a-status",
- "name": "Create a status",
- "url": "https://developer.github.com/v3/repos/statuses/#create-a-status"
+ "id": "create-a-commit-status",
+ "name": "Create a commit status",
+ "url": "https://developer.github.com/v3/repos/statuses/#create-a-commit-status"
},
{
- "id": "list-statuses-for-a-specific-ref",
- "name": "List statuses for a specific ref",
- "url": "https://developer.github.com/v3/repos/statuses/#list-statuses-for-a-specific-ref"
+ "id": "list-commit-statuses-for-a-reference",
+ "name": "List commit statuses for a reference",
+ "url": "https://developer.github.com/v3/repos/statuses/#list-commit-statuses-for-a-reference"
},
{
- "id": "get-the-combined-status-for-a-specific-ref",
- "name": "Get the combined status for a specific ref",
- "url": "https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref"
+ "id": "get-the-combined-status-for-a-specific-reference",
+ "name": "Get the combined status for a specific reference",
+ "url": "https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-reference"
}
]
diff --git a/cache/api.github.com/v3/repos/traffic/clones.html b/cache/api.github.com/v3/repos/traffic/clones.html
deleted file mode 100644
index 902243c7c4..0000000000
--- a/cache/api.github.com/v3/repos/traffic/clones.html
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
-
- ClonesGet the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.
-GET /repos/:owner/:repo/traffic/clones
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-per
-string
-Must be one of: day
, week
. Default: day
-
-
-
-
-
-
- ResponseStatus: 200 OK
-
-{
- "count": 173,
- "uniques": 128,
- "clones": [
- {
- "timestamp": "2016-10-10T00:00:00Z",
- "count": 2,
- "uniques": 1
- },
- {
- "timestamp": "2016-10-11T00:00:00Z",
- "count": 17,
- "uniques": 16
- },
- {
- "timestamp": "2016-10-12T00:00:00Z",
- "count": 21,
- "uniques": 15
- },
- {
- "timestamp": "2016-10-13T00:00:00Z",
- "count": 8,
- "uniques": 7
- },
- {
- "timestamp": "2016-10-14T00:00:00Z",
- "count": 5,
- "uniques": 5
- },
- {
- "timestamp": "2016-10-15T00:00:00Z",
- "count": 2,
- "uniques": 2
- },
- {
- "timestamp": "2016-10-16T00:00:00Z",
- "count": 8,
- "uniques": 7
- },
- {
- "timestamp": "2016-10-17T00:00:00Z",
- "count": 26,
- "uniques": 15
- },
- {
- "timestamp": "2016-10-18T00:00:00Z",
- "count": 19,
- "uniques": 17
- },
- {
- "timestamp": "2016-10-19T00:00:00Z",
- "count": 19,
- "uniques": 14
- },
- {
- "timestamp": "2016-10-20T00:00:00Z",
- "count": 19,
- "uniques": 15
- },
- {
- "timestamp": "2016-10-21T00:00:00Z",
- "count": 9,
- "uniques": 7
- },
- {
- "timestamp": "2016-10-22T00:00:00Z",
- "count": 5,
- "uniques": 5
- },
- {
- "timestamp": "2016-10-23T00:00:00Z",
- "count": 6,
- "uniques": 5
- },
- {
- "timestamp": "2016-10-24T00:00:00Z",
- "count": 7,
- "uniques": 5
- }
- ]
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/traffic/get-page-views.html b/cache/api.github.com/v3/repos/traffic/get-page-views.html
new file mode 100644
index 0000000000..1f1d1a59d4
--- /dev/null
+++ b/cache/api.github.com/v3/repos/traffic/get-page-views.html
@@ -0,0 +1,111 @@
+
+
+
+ Get page viewsGet the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.
+GET /repos/:owner/:repo/traffic/views
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+per
+string
+Must be one of: day
, week
. Default: day
+
+
+
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "count": 14850,
+ "uniques": 3782,
+ "views": [
+ {
+ "timestamp": "2016-10-10T00:00:00Z",
+ "count": 440,
+ "uniques": 143
+ },
+ {
+ "timestamp": "2016-10-11T00:00:00Z",
+ "count": 1308,
+ "uniques": 414
+ },
+ {
+ "timestamp": "2016-10-12T00:00:00Z",
+ "count": 1486,
+ "uniques": 452
+ },
+ {
+ "timestamp": "2016-10-13T00:00:00Z",
+ "count": 1170,
+ "uniques": 401
+ },
+ {
+ "timestamp": "2016-10-14T00:00:00Z",
+ "count": 868,
+ "uniques": 266
+ },
+ {
+ "timestamp": "2016-10-15T00:00:00Z",
+ "count": 495,
+ "uniques": 157
+ },
+ {
+ "timestamp": "2016-10-16T00:00:00Z",
+ "count": 524,
+ "uniques": 175
+ },
+ {
+ "timestamp": "2016-10-17T00:00:00Z",
+ "count": 1263,
+ "uniques": 412
+ },
+ {
+ "timestamp": "2016-10-18T00:00:00Z",
+ "count": 1402,
+ "uniques": 417
+ },
+ {
+ "timestamp": "2016-10-19T00:00:00Z",
+ "count": 1394,
+ "uniques": 424
+ },
+ {
+ "timestamp": "2016-10-20T00:00:00Z",
+ "count": 1492,
+ "uniques": 448
+ },
+ {
+ "timestamp": "2016-10-21T00:00:00Z",
+ "count": 1153,
+ "uniques": 332
+ },
+ {
+ "timestamp": "2016-10-22T00:00:00Z",
+ "count": 566,
+ "uniques": 168
+ },
+ {
+ "timestamp": "2016-10-23T00:00:00Z",
+ "count": 675,
+ "uniques": 184
+ },
+ {
+ "timestamp": "2016-10-24T00:00:00Z",
+ "count": 614,
+ "uniques": 237
+ }
+ ]
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/traffic/get-repository-clones.html b/cache/api.github.com/v3/repos/traffic/get-repository-clones.html
new file mode 100644
index 0000000000..1b4c7933d7
--- /dev/null
+++ b/cache/api.github.com/v3/repos/traffic/get-repository-clones.html
@@ -0,0 +1,111 @@
+
+
+
+ Get repository clonesGet the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.
+GET /repos/:owner/:repo/traffic/clones
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+per
+string
+Must be one of: day
, week
. Default: day
+
+
+
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "count": 173,
+ "uniques": 128,
+ "clones": [
+ {
+ "timestamp": "2016-10-10T00:00:00Z",
+ "count": 2,
+ "uniques": 1
+ },
+ {
+ "timestamp": "2016-10-11T00:00:00Z",
+ "count": 17,
+ "uniques": 16
+ },
+ {
+ "timestamp": "2016-10-12T00:00:00Z",
+ "count": 21,
+ "uniques": 15
+ },
+ {
+ "timestamp": "2016-10-13T00:00:00Z",
+ "count": 8,
+ "uniques": 7
+ },
+ {
+ "timestamp": "2016-10-14T00:00:00Z",
+ "count": 5,
+ "uniques": 5
+ },
+ {
+ "timestamp": "2016-10-15T00:00:00Z",
+ "count": 2,
+ "uniques": 2
+ },
+ {
+ "timestamp": "2016-10-16T00:00:00Z",
+ "count": 8,
+ "uniques": 7
+ },
+ {
+ "timestamp": "2016-10-17T00:00:00Z",
+ "count": 26,
+ "uniques": 15
+ },
+ {
+ "timestamp": "2016-10-18T00:00:00Z",
+ "count": 19,
+ "uniques": 17
+ },
+ {
+ "timestamp": "2016-10-19T00:00:00Z",
+ "count": 19,
+ "uniques": 14
+ },
+ {
+ "timestamp": "2016-10-20T00:00:00Z",
+ "count": 19,
+ "uniques": 15
+ },
+ {
+ "timestamp": "2016-10-21T00:00:00Z",
+ "count": 9,
+ "uniques": 7
+ },
+ {
+ "timestamp": "2016-10-22T00:00:00Z",
+ "count": 5,
+ "uniques": 5
+ },
+ {
+ "timestamp": "2016-10-23T00:00:00Z",
+ "count": 6,
+ "uniques": 5
+ },
+ {
+ "timestamp": "2016-10-24T00:00:00Z",
+ "count": 7,
+ "uniques": 5
+ }
+ ]
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/traffic/get-top-referral-paths.html b/cache/api.github.com/v3/repos/traffic/get-top-referral-paths.html
new file mode 100644
index 0000000000..1b815c2c21
--- /dev/null
+++ b/cache/api.github.com/v3/repos/traffic/get-top-referral-paths.html
@@ -0,0 +1,73 @@
+
+
+
+ Get top referral pathsGet the top 10 popular contents over the last 14 days.
+GET /repos/:owner/:repo/traffic/popular/paths
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "path": "/github/hubot",
+ "title": "github/hubot: A customizable life embetterment robot.",
+ "count": 3542,
+ "uniques": 2225
+ },
+ {
+ "path": "/github/hubot/blob/master/docs/scripting.md",
+ "title": "hubot/scripting.md at master · github/hubot · GitHub",
+ "count": 1707,
+ "uniques": 804
+ },
+ {
+ "path": "/github/hubot/tree/master/docs",
+ "title": "hubot/docs at master · github/hubot · GitHub",
+ "count": 685,
+ "uniques": 435
+ },
+ {
+ "path": "/github/hubot/tree/master/src",
+ "title": "hubot/src at master · github/hubot · GitHub",
+ "count": 577,
+ "uniques": 347
+ },
+ {
+ "path": "/github/hubot/blob/master/docs/index.md",
+ "title": "hubot/index.md at master · github/hubot · GitHub",
+ "count": 379,
+ "uniques": 259
+ },
+ {
+ "path": "/github/hubot/blob/master/docs/adapters.md",
+ "title": "hubot/adapters.md at master · github/hubot · GitHub",
+ "count": 354,
+ "uniques": 201
+ },
+ {
+ "path": "/github/hubot/tree/master/examples",
+ "title": "hubot/examples at master · github/hubot · GitHub",
+ "count": 340,
+ "uniques": 260
+ },
+ {
+ "path": "/github/hubot/blob/master/docs/deploying/heroku.md",
+ "title": "hubot/heroku.md at master · github/hubot · GitHub",
+ "count": 324,
+ "uniques": 217
+ },
+ {
+ "path": "/github/hubot/blob/master/src/robot.coffee",
+ "title": "hubot/robot.coffee at master · github/hubot · GitHub",
+ "count": 293,
+ "uniques": 191
+ },
+ {
+ "path": "/github/hubot/blob/master/LICENSE.md",
+ "title": "hubot/LICENSE.md at master · github/hubot · GitHub",
+ "count": 281,
+ "uniques": 222
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/traffic/get-top-referral-sources.html b/cache/api.github.com/v3/repos/traffic/get-top-referral-sources.html
new file mode 100644
index 0000000000..ced904c5ec
--- /dev/null
+++ b/cache/api.github.com/v3/repos/traffic/get-top-referral-sources.html
@@ -0,0 +1,33 @@
+
+
+
+ Get top referral sourcesGet the top 10 referrers over the last 14 days.
+GET /repos/:owner/:repo/traffic/popular/referrers
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "referrer": "Google",
+ "count": 4,
+ "uniques": 3
+ },
+ {
+ "referrer": "stackoverflow.com",
+ "count": 2,
+ "uniques": 2
+ },
+ {
+ "referrer": "eggsonbread.com",
+ "count": 1,
+ "uniques": 1
+ },
+ {
+ "referrer": "yandex.ru",
+ "count": 1,
+ "uniques": 1
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/traffic/index.html b/cache/api.github.com/v3/repos/traffic/index.html
index 04ae4993c7..4704aa5753 100644
--- a/cache/api.github.com/v3/repos/traffic/index.html
+++ b/cache/api.github.com/v3/repos/traffic/index.html
@@ -367,10 +367,10 @@
Traffic
-- List referrers
-- List paths
-- Views
-- Clones
+- Get top referral sources
+- Get top referral paths
+- Get page views
+- Get repository clones
For repositories that you have push access to, the traffic API provides access
@@ -379,7 +379,7 @@
-
+ Get top referral sources
List referrersGet the top 10 referrers over the last 14 days.
@@ -420,7 +420,7 @@
-
+ Get top referral paths
List paths
Get the top 10 popular contents over the last 14 days.
@@ -501,7 +501,7 @@
-
+ Get page views
Views
Get the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.
@@ -622,7 +622,7 @@
-
+ Get repository clones
Clones
Get the total number of clones and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.
diff --git a/cache/api.github.com/v3/repos/traffic/list-paths.html b/cache/api.github.com/v3/repos/traffic/list-paths.html
deleted file mode 100644
index d8bc19e3ed..0000000000
--- a/cache/api.github.com/v3/repos/traffic/list-paths.html
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
- List pathsGet the top 10 popular contents over the last 14 days.
-GET /repos/:owner/:repo/traffic/popular/paths
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "path": "/github/hubot",
- "title": "github/hubot: A customizable life embetterment robot.",
- "count": 3542,
- "uniques": 2225
- },
- {
- "path": "/github/hubot/blob/master/docs/scripting.md",
- "title": "hubot/scripting.md at master · github/hubot · GitHub",
- "count": 1707,
- "uniques": 804
- },
- {
- "path": "/github/hubot/tree/master/docs",
- "title": "hubot/docs at master · github/hubot · GitHub",
- "count": 685,
- "uniques": 435
- },
- {
- "path": "/github/hubot/tree/master/src",
- "title": "hubot/src at master · github/hubot · GitHub",
- "count": 577,
- "uniques": 347
- },
- {
- "path": "/github/hubot/blob/master/docs/index.md",
- "title": "hubot/index.md at master · github/hubot · GitHub",
- "count": 379,
- "uniques": 259
- },
- {
- "path": "/github/hubot/blob/master/docs/adapters.md",
- "title": "hubot/adapters.md at master · github/hubot · GitHub",
- "count": 354,
- "uniques": 201
- },
- {
- "path": "/github/hubot/tree/master/examples",
- "title": "hubot/examples at master · github/hubot · GitHub",
- "count": 340,
- "uniques": 260
- },
- {
- "path": "/github/hubot/blob/master/docs/deploying/heroku.md",
- "title": "hubot/heroku.md at master · github/hubot · GitHub",
- "count": 324,
- "uniques": 217
- },
- {
- "path": "/github/hubot/blob/master/src/robot.coffee",
- "title": "hubot/robot.coffee at master · github/hubot · GitHub",
- "count": 293,
- "uniques": 191
- },
- {
- "path": "/github/hubot/blob/master/LICENSE.md",
- "title": "hubot/LICENSE.md at master · github/hubot · GitHub",
- "count": 281,
- "uniques": 222
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/traffic/list-referrers.html b/cache/api.github.com/v3/repos/traffic/list-referrers.html
deleted file mode 100644
index 2fff9af322..0000000000
--- a/cache/api.github.com/v3/repos/traffic/list-referrers.html
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
- List referrersGet the top 10 referrers over the last 14 days.
-GET /repos/:owner/:repo/traffic/popular/referrers
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "referrer": "Google",
- "count": 4,
- "uniques": 3
- },
- {
- "referrer": "stackoverflow.com",
- "count": 2,
- "uniques": 2
- },
- {
- "referrer": "eggsonbread.com",
- "count": 1,
- "uniques": 1
- },
- {
- "referrer": "yandex.ru",
- "count": 1,
- "uniques": 1
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/repos/traffic/sections.json b/cache/api.github.com/v3/repos/traffic/sections.json
index 81ac56be3d..21c92d46f2 100644
--- a/cache/api.github.com/v3/repos/traffic/sections.json
+++ b/cache/api.github.com/v3/repos/traffic/sections.json
@@ -1,22 +1,22 @@
[
{
- "id": "list-referrers",
- "name": "List referrers",
- "url": "https://developer.github.com/v3/repos/traffic/#list-referrers"
+ "id": "get-top-referral-sources",
+ "name": "Get top referral sources",
+ "url": "https://developer.github.com/v3/repos/traffic/#get-top-referral-sources"
},
{
- "id": "list-paths",
- "name": "List paths",
- "url": "https://developer.github.com/v3/repos/traffic/#list-paths"
+ "id": "get-top-referral-paths",
+ "name": "Get top referral paths",
+ "url": "https://developer.github.com/v3/repos/traffic/#get-top-referral-paths"
},
{
- "id": "views",
- "name": "Views",
- "url": "https://developer.github.com/v3/repos/traffic/#views"
+ "id": "get-page-views",
+ "name": "Get page views",
+ "url": "https://developer.github.com/v3/repos/traffic/#get-page-views"
},
{
- "id": "clones",
- "name": "Clones",
- "url": "https://developer.github.com/v3/repos/traffic/#clones"
+ "id": "get-repository-clones",
+ "name": "Get repository clones",
+ "url": "https://developer.github.com/v3/repos/traffic/#get-repository-clones"
}
]
diff --git a/cache/api.github.com/v3/repos/traffic/views.html b/cache/api.github.com/v3/repos/traffic/views.html
deleted file mode 100644
index 9261b7b8b7..0000000000
--- a/cache/api.github.com/v3/repos/traffic/views.html
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
-
- ViewsGet the total number of views and breakdown per day or week for the last 14 days. Timestamps are aligned to UTC midnight of the beginning of the day or week. Week begins on Monday.
-GET /repos/:owner/:repo/traffic/views
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-per
-string
-Must be one of: day
, week
. Default: day
-
-
-
-
-
-
- ResponseStatus: 200 OK
-
-{
- "count": 14850,
- "uniques": 3782,
- "views": [
- {
- "timestamp": "2016-10-10T00:00:00Z",
- "count": 440,
- "uniques": 143
- },
- {
- "timestamp": "2016-10-11T00:00:00Z",
- "count": 1308,
- "uniques": 414
- },
- {
- "timestamp": "2016-10-12T00:00:00Z",
- "count": 1486,
- "uniques": 452
- },
- {
- "timestamp": "2016-10-13T00:00:00Z",
- "count": 1170,
- "uniques": 401
- },
- {
- "timestamp": "2016-10-14T00:00:00Z",
- "count": 868,
- "uniques": 266
- },
- {
- "timestamp": "2016-10-15T00:00:00Z",
- "count": 495,
- "uniques": 157
- },
- {
- "timestamp": "2016-10-16T00:00:00Z",
- "count": 524,
- "uniques": 175
- },
- {
- "timestamp": "2016-10-17T00:00:00Z",
- "count": 1263,
- "uniques": 412
- },
- {
- "timestamp": "2016-10-18T00:00:00Z",
- "count": 1402,
- "uniques": 417
- },
- {
- "timestamp": "2016-10-19T00:00:00Z",
- "count": 1394,
- "uniques": 424
- },
- {
- "timestamp": "2016-10-20T00:00:00Z",
- "count": 1492,
- "uniques": 448
- },
- {
- "timestamp": "2016-10-21T00:00:00Z",
- "count": 1153,
- "uniques": 332
- },
- {
- "timestamp": "2016-10-22T00:00:00Z",
- "count": 566,
- "uniques": 168
- },
- {
- "timestamp": "2016-10-23T00:00:00Z",
- "count": 675,
- "uniques": 184
- },
- {
- "timestamp": "2016-10-24T00:00:00Z",
- "count": 614,
- "uniques": 237
- }
- ]
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/delete-a-scim-user-from-an-organization.html b/cache/api.github.com/v3/scim/delete-a-scim-user-from-an-organization.html
new file mode 100644
index 0000000000..0bbd95dbe1
--- /dev/null
+++ b/cache/api.github.com/v3/scim/delete-a-scim-user-from-an-organization.html
@@ -0,0 +1,9 @@
+
+
+
+ Delete a SCIM user from an organizationDELETE /scim/v2/organizations/:org/Users/:scim_user_id
+
+
+
+ ResponseStatus: 204 No Content
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/get-a-list-of-provisioned-identities.html b/cache/api.github.com/v3/scim/get-a-list-of-provisioned-identities.html
deleted file mode 100644
index e836d89f16..0000000000
--- a/cache/api.github.com/v3/scim/get-a-list-of-provisioned-identities.html
+++ /dev/null
@@ -1,151 +0,0 @@
-
-
-
- Get a list of provisioned identitiesGET /scim/v2/organizations/:org/Users
-
-
-
- Parameters
-
-
-Name
-Type
-Description
-
-
-
-
-startIndex
-integer
-Used for pagination: the index of the first result to return.
-
-
-count
-integer
-Used for pagination: the number of results to return.
-
-
-filter
-string
-Filters results using the equals query parameter operator (eq
). You can filter results that are equal to id
, userName
, emails
, and external_id
. For example, to search for an identity with the userName
Octocat, you would use this query: ?filter=userName%20eq%20\"Octocat\"
.
-
-
-
-
-
- ExampleTo filter for a specific email address, use the email
query parameter and the eq
operator:
-GET /scim/v2/organizations/:org/Users?filter=emails eq user@example.com
-
-Your filter would look like this cURL command:
-curl -u octocat:$token https://api.github.com/scim/v2/organizations/octo-org/Users?filter=emails%20eq%20\"octocat@github.com\"
-
-
-
- Response with filterRetrieves users that match the filter. In the example, we searched only for octocat@github.com.
-Status: 200 OK
-
-{
- "schemas": [
- "urn:ietf:params:scim:api:messages:2.0:ListResponse"
- ],
- "totalResults": 1,
- "itemsPerPage": 1,
- "startIndex": 1,
- "Resources": [
- {
- "schemas": [
- "urn:ietf:params:scim:schemas:core:2.0:User"
- ],
- "id": "5fc0c238-1112-11e8-8e45-920c87bdbd75",
- "externalId": "00u1dhhb1fkIGP7RL1d8",
- "userName": "octocat@github.com",
- "name": {
- "givenName": "Mona",
- "familyName": "Octocat"
- },
- "emails": [
- {
- "value": "octocat@github.com",
- "primary": true,
- "type": "work"
- }
- ],
- "active": true,
- "meta": {
- "resourceType": "User",
- "created": "2018-02-13T15:05:24.000-08:00",
- "lastModified": "2018-02-13T15:05:55.000-08:00",
- "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/5fc0c238-1112-11e8-8e45-920c87bdbd75"
- }
- }
- ]
-}
-
-
-
- Response without filterRetrieves a paginated list of all provisioned organization members, including pending invitations.
-Status: 200 OK
-
-{
- "schemas": [
- "urn:ietf:params:scim:api:messages:2.0:ListResponse"
- ],
- "totalResults": 2,
- "itemsPerPage": 2,
- "startIndex": 1,
- "Resources": [
- {
- "schemas": [
- "urn:ietf:params:scim:schemas:core:2.0:User"
- ],
- "id": "edefdfedf-050c-11e7-8d32",
- "externalId": "a7d0f98382",
- "userName": "mona.octocat@okta.example.com",
- "name": {
- "givenName": "Mona",
- "familyName": "Octocat"
- },
- "emails": [
- {
- "value": "mona.octocat@okta.example.com",
- "type": "work",
- "primary": true
- }
- ],
- "active": true,
- "meta": {
- "resourceType": "User",
- "created": "2017-03-09T16:11:13-05:00",
- "lastModified": "2017-03-09T16:11:13-05:00",
- "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32"
- }
- },
- {
- "schemas": [
- "urn:ietf:params:scim:schemas:core:2.0:User"
- ],
- "id": "77563764-eb6-24-0598234-958243",
- "externalId": "sdfoiausdofiua",
- "userName": "hubot@example.com",
- "name": {
- "givenName": "hu",
- "familyName": "bot"
- },
- "emails": [
- {
- "value": "hubot@example.com",
- "type": "work",
- "primary": true
- }
- ],
- "active": true,
- "meta": {
- "resourceType": "User",
- "created": "2017-03-09T16:11:13-05:00",
- "lastModified": "2017-03-09T16:11:13-05:00",
- "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243"
- }
- }
- ]
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/get-provisioning-details-for-a-single-user.html b/cache/api.github.com/v3/scim/get-provisioning-details-for-a-single-user.html
deleted file mode 100644
index 3672ed0c1d..0000000000
--- a/cache/api.github.com/v3/scim/get-provisioning-details-for-a-single-user.html
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
- Get provisioning details for a single userGET /scim/v2/organizations/:org/Users/:scim_user_id
-
-
-
- ResponseStatus: 200 OK
-
-{
- "schemas": [
- "urn:ietf:params:scim:schemas:core:2.0:User"
- ],
- "id": "edefdfedf-050c-11e7-8d32",
- "externalId": "a7d0f98382",
- "userName": "mona.octocat@okta.example.com",
- "name": {
- "givenName": "Mona",
- "familyName": "Octocat"
- },
- "emails": [
- {
- "value": "mona.octocat@okta.example.com",
- "type": "work",
- "primary": true
- }
- ],
- "active": true,
- "meta": {
- "resourceType": "User",
- "created": "2017-03-09T16:11:13-05:00",
- "lastModified": "2017-03-09T16:11:13-05:00",
- "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32"
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/get-scim-provisioning-information-for-a-user.html b/cache/api.github.com/v3/scim/get-scim-provisioning-information-for-a-user.html
new file mode 100644
index 0000000000..799ff3b7f6
--- /dev/null
+++ b/cache/api.github.com/v3/scim/get-scim-provisioning-information-for-a-user.html
@@ -0,0 +1,36 @@
+
+
+
+ Get SCIM provisioning information for a userGET /scim/v2/organizations/:org/Users/:scim_user_id
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "schemas": [
+ "urn:ietf:params:scim:schemas:core:2.0:User"
+ ],
+ "id": "edefdfedf-050c-11e7-8d32",
+ "externalId": "a7d0f98382",
+ "userName": "mona.octocat@okta.example.com",
+ "name": {
+ "givenName": "Mona",
+ "familyName": "Octocat"
+ },
+ "emails": [
+ {
+ "value": "mona.octocat@okta.example.com",
+ "type": "work",
+ "primary": true
+ }
+ ],
+ "active": true,
+ "meta": {
+ "resourceType": "User",
+ "created": "2017-03-09T16:11:13-05:00",
+ "lastModified": "2017-03-09T16:11:13-05:00",
+ "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32"
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/index.html b/cache/api.github.com/v3/scim/index.html
index 056a59053a..fbb85076ab 100644
--- a/cache/api.github.com/v3/scim/index.html
+++ b/cache/api.github.com/v3/scim/index.html
@@ -371,12 +371,12 @@
Authenticating calls to the SCIM API
Mapping of SAML and SCIM data
Supported SCIM User attributes
-Get a list of provisioned identities
-Get provisioning details for a single user
-Provision and invite users
-Replace a provisioned user's information
-Update a user attribute
-Remove a user from the organization
+List SCIM provisioned identities
+Get SCIM provisioning information for a user
+Provision and invite a SCIM user
+Set SCIM information for a provisioned user
+Update an attribute for a SCIM user
+Delete a SCIM user from an organization
@@ -435,7 +435,7 @@
externalId
string
-This identifier is generated by the SAML provider, and is used as a unique ID by the SAML provider to match against a GitHub user. You can find the externalID
for a user either at the SAML provider, or using the Get a list of provisioned identities endpoint and filtering on other known attributes, such as a user's GitHub username or email address.
+This identifier is generated by the SAML provider, and is used as a unique ID by the SAML provider to match against a GitHub user. You can find the externalID
for a user either at the SAML provider, or using the List SCIM provisioned identities endpoint and filtering on other known attributes, such as a user's GitHub username or email address.
id
@@ -460,7 +460,7 @@
-
+ List SCIM provisioned identities
Get a list of provisioned identitiesGET /scim/v2/organizations/:org/Users
@@ -633,7 +633,7 @@
-
+ Get SCIM provisioning information for a user
Get provisioning details for a single userGET /scim/v2/organizations/:org/Users/:scim_user_id
@@ -676,7 +676,7 @@
-
+ Provision and invite a SCIM user
Provision and invite users
Provision organization membership for a user, and send an activation email to the email address.
@@ -746,10 +746,10 @@
-
+ Set SCIM information for a provisioned user
- Replace a provisioned user's information
Replaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the Update a user attribute endpoint instead.
+Replaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the Update an attribute for a SCIM user endpoint instead.
PUT /scim/v2/organizations/:org/Users/:scim_user_id
@@ -822,7 +822,7 @@
-
+ Update an attribute for a SCIM user
Update a user attribute
Allows you to change a provisioned user's individual attributes. To change a user's values, you must provide a specific Operations
JSON format that contains at least one of the add
, remove
, or replace
operations.
@@ -924,7 +924,7 @@
-
+ Delete a SCIM user from an organization
Remove a user from the organizationDELETE /scim/v2/organizations/:org/Users/:scim_user_id
diff --git a/cache/api.github.com/v3/scim/list-scim-provisioned-identities.html b/cache/api.github.com/v3/scim/list-scim-provisioned-identities.html
new file mode 100644
index 0000000000..f609d1170d
--- /dev/null
+++ b/cache/api.github.com/v3/scim/list-scim-provisioned-identities.html
@@ -0,0 +1,151 @@
+
+
+
+ List SCIM provisioned identitiesGET /scim/v2/organizations/:org/Users
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+startIndex
+integer
+Used for pagination: the index of the first result to return.
+
+
+count
+integer
+Used for pagination: the number of results to return.
+
+
+filter
+string
+Filters results using the equals query parameter operator (eq
). You can filter results that are equal to id
, userName
, emails
, and external_id
. For example, to search for an identity with the userName
Octocat, you would use this query: ?filter=userName%20eq%20\"Octocat\"
.
+
+
+
+
+
+ ExampleTo filter for a specific email address, use the email
query parameter and the eq
operator:
+GET /scim/v2/organizations/:org/Users?filter=emails eq user@example.com
+
+Your filter would look like this cURL command:
+curl -u octocat:$token https://api.github.com/scim/v2/organizations/octo-org/Users?filter=emails%20eq%20\"octocat@github.com\"
+
+
+
+ Response with filterRetrieves users that match the filter. In the example, we searched only for octocat@github.com.
+Status: 200 OK
+
+{
+ "schemas": [
+ "urn:ietf:params:scim:api:messages:2.0:ListResponse"
+ ],
+ "totalResults": 1,
+ "itemsPerPage": 1,
+ "startIndex": 1,
+ "Resources": [
+ {
+ "schemas": [
+ "urn:ietf:params:scim:schemas:core:2.0:User"
+ ],
+ "id": "5fc0c238-1112-11e8-8e45-920c87bdbd75",
+ "externalId": "00u1dhhb1fkIGP7RL1d8",
+ "userName": "octocat@github.com",
+ "name": {
+ "givenName": "Mona",
+ "familyName": "Octocat"
+ },
+ "emails": [
+ {
+ "value": "octocat@github.com",
+ "primary": true,
+ "type": "work"
+ }
+ ],
+ "active": true,
+ "meta": {
+ "resourceType": "User",
+ "created": "2018-02-13T15:05:24.000-08:00",
+ "lastModified": "2018-02-13T15:05:55.000-08:00",
+ "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/5fc0c238-1112-11e8-8e45-920c87bdbd75"
+ }
+ }
+ ]
+}
+
+
+
+ Response without filterRetrieves a paginated list of all provisioned organization members, including pending invitations.
+Status: 200 OK
+
+{
+ "schemas": [
+ "urn:ietf:params:scim:api:messages:2.0:ListResponse"
+ ],
+ "totalResults": 2,
+ "itemsPerPage": 2,
+ "startIndex": 1,
+ "Resources": [
+ {
+ "schemas": [
+ "urn:ietf:params:scim:schemas:core:2.0:User"
+ ],
+ "id": "edefdfedf-050c-11e7-8d32",
+ "externalId": "a7d0f98382",
+ "userName": "mona.octocat@okta.example.com",
+ "name": {
+ "givenName": "Mona",
+ "familyName": "Octocat"
+ },
+ "emails": [
+ {
+ "value": "mona.octocat@okta.example.com",
+ "type": "work",
+ "primary": true
+ }
+ ],
+ "active": true,
+ "meta": {
+ "resourceType": "User",
+ "created": "2017-03-09T16:11:13-05:00",
+ "lastModified": "2017-03-09T16:11:13-05:00",
+ "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32"
+ }
+ },
+ {
+ "schemas": [
+ "urn:ietf:params:scim:schemas:core:2.0:User"
+ ],
+ "id": "77563764-eb6-24-0598234-958243",
+ "externalId": "sdfoiausdofiua",
+ "userName": "hubot@example.com",
+ "name": {
+ "givenName": "hu",
+ "familyName": "bot"
+ },
+ "emails": [
+ {
+ "value": "hubot@example.com",
+ "type": "work",
+ "primary": true
+ }
+ ],
+ "active": true,
+ "meta": {
+ "resourceType": "User",
+ "created": "2017-03-09T16:11:13-05:00",
+ "lastModified": "2017-03-09T16:11:13-05:00",
+ "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243"
+ }
+ }
+ ]
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/provision-and-invite-a-scim-user.html b/cache/api.github.com/v3/scim/provision-and-invite-a-scim-user.html
new file mode 100644
index 0000000000..f69276c47a
--- /dev/null
+++ b/cache/api.github.com/v3/scim/provision-and-invite-a-scim-user.html
@@ -0,0 +1,58 @@
+
+
+
+ Provision and invite a SCIM userProvision organization membership for a user, and send an activation email to the email address.
+POST /scim/v2/organizations/:org/Users
+
+As shown in the following example, you must at least provide the required values for the user: userName
, name
, and emails
.
+
+
+ Example{
+ "schemas": [
+ "urn:ietf:params:scim:schemas:core:2.0:User"
+ ],
+ "userName": "mona.octocat@okta.example.com",
+ "name": {
+ "familyName": "Octocat",
+ "givenName": "Mona"
+ },
+ "emails": [
+ {
+ "value": "mona.octocat@okta.example.com",
+ "type": "work",
+ "primary": true
+ }
+ ]
+}
+
+
+
+ ResponseStatus: 201 Created
+
+{
+ "schemas": [
+ "urn:ietf:params:scim:schemas:core:2.0:User"
+ ],
+ "id": "edefdfedf-050c-11e7-8d32",
+ "externalId": "a7d0f98382",
+ "userName": "mona.octocat@okta.example.com",
+ "name": {
+ "givenName": "Mona",
+ "familyName": "Octocat"
+ },
+ "emails": [
+ {
+ "value": "mona.octocat@okta.example.com",
+ "type": "work",
+ "primary": true
+ }
+ ],
+ "active": true,
+ "meta": {
+ "resourceType": "User",
+ "created": "2017-03-09T16:11:13-05:00",
+ "lastModified": "2017-03-09T16:11:13-05:00",
+ "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32"
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/provision-and-invite-users.html b/cache/api.github.com/v3/scim/provision-and-invite-users.html
deleted file mode 100644
index 8f157da5d3..0000000000
--- a/cache/api.github.com/v3/scim/provision-and-invite-users.html
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
- Provision and invite usersProvision organization membership for a user, and send an activation email to the email address.
-POST /scim/v2/organizations/:org/Users
-
-As shown in the following example, you must at least provide the required values for the user: userName
, name
, and emails
.
-
-
- Example{
- "schemas": [
- "urn:ietf:params:scim:schemas:core:2.0:User"
- ],
- "userName": "mona.octocat@okta.example.com",
- "name": {
- "familyName": "Octocat",
- "givenName": "Mona"
- },
- "emails": [
- {
- "value": "mona.octocat@okta.example.com",
- "type": "work",
- "primary": true
- }
- ]
-}
-
-
-
- ResponseStatus: 201 Created
-
-{
- "schemas": [
- "urn:ietf:params:scim:schemas:core:2.0:User"
- ],
- "id": "edefdfedf-050c-11e7-8d32",
- "externalId": "a7d0f98382",
- "userName": "mona.octocat@okta.example.com",
- "name": {
- "givenName": "Mona",
- "familyName": "Octocat"
- },
- "emails": [
- {
- "value": "mona.octocat@okta.example.com",
- "type": "work",
- "primary": true
- }
- ],
- "active": true,
- "meta": {
- "resourceType": "User",
- "created": "2017-03-09T16:11:13-05:00",
- "lastModified": "2017-03-09T16:11:13-05:00",
- "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32"
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/remove-a-user-from-the-organization.html b/cache/api.github.com/v3/scim/remove-a-user-from-the-organization.html
deleted file mode 100644
index 7a7a388b92..0000000000
--- a/cache/api.github.com/v3/scim/remove-a-user-from-the-organization.html
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- Remove a user from the organizationDELETE /scim/v2/organizations/:org/Users/:scim_user_id
-
-
-
- ResponseStatus: 204 No Content
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/replace-a-provisioned-users-information.html b/cache/api.github.com/v3/scim/replace-a-provisioned-users-information.html
deleted file mode 100644
index 60d8e76c91..0000000000
--- a/cache/api.github.com/v3/scim/replace-a-provisioned-users-information.html
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
- Replace a provisioned user's informationReplaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the Update a user attribute endpoint instead.
-PUT /scim/v2/organizations/:org/Users/:scim_user_id
-
-As shown in the following example, you must at least provide the required values for the user: userName
, name
, and emails
.
-
-
-Warning: Setting active: false
removes the user from the organization, deletes the external identity, and deletes the associated :scim_user_id
.
-
-
-
-
- Example{
- "schemas": [
- "urn:ietf:params:scim:schemas:core:2.0:User"
- ],
- "userName": "mona.octocat@okta.example.com",
- "name": {
- "familyName": "Octocat",
- "givenName": "Mona"
- },
- "emails": [
- {
- "value": "mona.octocat@okta.example.com",
- "type": "work",
- "primary": true
- }
- ]
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "schemas": [
- "urn:ietf:params:scim:schemas:core:2.0:User"
- ],
- "id": "edefdfedf-050c-11e7-8d32",
- "externalId": "a7d0f98382",
- "userName": "mona.octocat@okta.example.com",
- "name": {
- "givenName": "Mona",
- "familyName": "Octocat"
- },
- "emails": [
- {
- "value": "mona.octocat@okta.example.com",
- "type": "work",
- "primary": true
- }
- ],
- "active": true,
- "meta": {
- "resourceType": "User",
- "created": "2017-03-09T16:11:13-05:00",
- "lastModified": "2017-03-09T16:11:13-05:00",
- "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32"
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/sections.json b/cache/api.github.com/v3/scim/sections.json
index 5f28ccdce0..4db418bbda 100644
--- a/cache/api.github.com/v3/scim/sections.json
+++ b/cache/api.github.com/v3/scim/sections.json
@@ -20,33 +20,33 @@
"url": "https://developer.github.com/v3/scim/#supported-scim-user-attributes"
},
{
- "id": "get-a-list-of-provisioned-identities",
- "name": "Get a list of provisioned identities",
- "url": "https://developer.github.com/v3/scim/#get-a-list-of-provisioned-identities"
+ "id": "list-scim-provisioned-identities",
+ "name": "List SCIM provisioned identities",
+ "url": "https://developer.github.com/v3/scim/#list-scim-provisioned-identities"
},
{
- "id": "get-provisioning-details-for-a-single-user",
- "name": "Get provisioning details for a single user",
- "url": "https://developer.github.com/v3/scim/#get-provisioning-details-for-a-single-user"
+ "id": "get-scim-provisioning-information-for-a-user",
+ "name": "Get SCIM provisioning information for a user",
+ "url": "https://developer.github.com/v3/scim/#get-scim-provisioning-information-for-a-user"
},
{
- "id": "provision-and-invite-users",
- "name": "Provision and invite users",
- "url": "https://developer.github.com/v3/scim/#provision-and-invite-users"
+ "id": "provision-and-invite-a-scim-user",
+ "name": "Provision and invite a SCIM user",
+ "url": "https://developer.github.com/v3/scim/#provision-and-invite-a-scim-user"
},
{
- "id": "replace-a-provisioned-users-information",
- "name": "Replace a provisioned user's information",
- "url": "https://developer.github.com/v3/scim/#replace-a-provisioned-users-information"
+ "id": "set-scim-information-for-a-provisioned-user",
+ "name": "Set SCIM information for a provisioned user",
+ "url": "https://developer.github.com/v3/scim/#set-scim-information-for-a-provisioned-user"
},
{
- "id": "update-a-user-attribute",
- "name": "Update a user attribute",
- "url": "https://developer.github.com/v3/scim/#update-a-user-attribute"
+ "id": "update-an-attribute-for-a-scim-user",
+ "name": "Update an attribute for a SCIM user",
+ "url": "https://developer.github.com/v3/scim/#update-an-attribute-for-a-scim-user"
},
{
- "id": "remove-a-user-from-the-organization",
- "name": "Remove a user from the organization",
- "url": "https://developer.github.com/v3/scim/#remove-a-user-from-the-organization"
+ "id": "delete-a-scim-user-from-an-organization",
+ "name": "Delete a SCIM user from an organization",
+ "url": "https://developer.github.com/v3/scim/#delete-a-scim-user-from-an-organization"
}
]
diff --git a/cache/api.github.com/v3/scim/set-scim-information-for-a-provisioned-user.html b/cache/api.github.com/v3/scim/set-scim-information-for-a-provisioned-user.html
new file mode 100644
index 0000000000..f938b55ca7
--- /dev/null
+++ b/cache/api.github.com/v3/scim/set-scim-information-for-a-provisioned-user.html
@@ -0,0 +1,63 @@
+
+
+
+ Set SCIM information for a provisioned userReplaces an existing provisioned user's information. You must provide all the information required for the user as if you were provisioning them for the first time. Any existing user information that you don't provide will be removed. If you want to only update a specific attribute, use the Update an attribute for a SCIM user endpoint instead.
+PUT /scim/v2/organizations/:org/Users/:scim_user_id
+
+As shown in the following example, you must at least provide the required values for the user: userName
, name
, and emails
.
+
+
+Warning: Setting active: false
removes the user from the organization, deletes the external identity, and deletes the associated :scim_user_id
.
+
+
+
+
+ Example{
+ "schemas": [
+ "urn:ietf:params:scim:schemas:core:2.0:User"
+ ],
+ "userName": "mona.octocat@okta.example.com",
+ "name": {
+ "familyName": "Octocat",
+ "givenName": "Mona"
+ },
+ "emails": [
+ {
+ "value": "mona.octocat@okta.example.com",
+ "type": "work",
+ "primary": true
+ }
+ ]
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "schemas": [
+ "urn:ietf:params:scim:schemas:core:2.0:User"
+ ],
+ "id": "edefdfedf-050c-11e7-8d32",
+ "externalId": "a7d0f98382",
+ "userName": "mona.octocat@okta.example.com",
+ "name": {
+ "givenName": "Mona",
+ "familyName": "Octocat"
+ },
+ "emails": [
+ {
+ "value": "mona.octocat@okta.example.com",
+ "type": "work",
+ "primary": true
+ }
+ ],
+ "active": true,
+ "meta": {
+ "resourceType": "User",
+ "created": "2017-03-09T16:11:13-05:00",
+ "lastModified": "2017-03-09T16:11:13-05:00",
+ "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32"
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/supported-scim-user-attributes.html b/cache/api.github.com/v3/scim/supported-scim-user-attributes.html
index 5a25825c07..a65c473f7f 100644
--- a/cache/api.github.com/v3/scim/supported-scim-user-attributes.html
+++ b/cache/api.github.com/v3/scim/supported-scim-user-attributes.html
@@ -32,7 +32,7 @@
externalId
string
-This identifier is generated by the SAML provider, and is used as a unique ID by the SAML provider to match against a GitHub user. You can find the externalID
for a user either at the SAML provider, or using the Get a list of provisioned identities endpoint and filtering on other known attributes, such as a user's GitHub username or email address.
+This identifier is generated by the SAML provider, and is used as a unique ID by the SAML provider to match against a GitHub user. You can find the externalID
for a user either at the SAML provider, or using the List SCIM provisioned identities endpoint and filtering on other known attributes, such as a user's GitHub username or email address.
id
diff --git a/cache/api.github.com/v3/scim/update-a-user-attribute.html b/cache/api.github.com/v3/scim/update-a-user-attribute.html
deleted file mode 100644
index 4f3b82a7c9..0000000000
--- a/cache/api.github.com/v3/scim/update-a-user-attribute.html
+++ /dev/null
@@ -1,88 +0,0 @@
-
-
-
- Update a user attributeAllows you to change a provisioned user's individual attributes. To change a user's values, you must provide a specific Operations
JSON format that contains at least one of the add
, remove
, or replace
operations.
-The following example shows adding a new email address and updating the user's given name. For other examples and more information on the SCIM operations format, see the SCIM specification.
-PATCH /scim/v2/organizations/:org/Users/:scim_user_id
-
-
-
-Note: Complicated SCIM path
selectors that include filters are not supported. For example, a path
selector defined as "path": "emails[type eq \"work\"]"
will not work.
-
-
-
-
-Warning: If you set active:false
using the replace
operation (as shown in the JSON example below), it removes the user from the organization, deletes the external identity, and deletes the associated :scim_user_id
.
-
-{
- "Operations":[{
- "op":"replace",
- "value":{
- "active":false
- }
- }]
-}
-
-
-
-
-
-
- Example{
- "schemas": [
- "urn:ietf:params:scim:api:messages:2.0:PatchOp"
- ],
- "Operations": [
- {
- "op": "add",
- "path": "emails",
- "value": [
- {
- "value": "monalisa@octocat.github.com",
- "type": "home"
- }
- ]
- },
- {
- "op": "replace",
- "path": "name.givenName",
- "value": "Monalisa"
- }
- ]
-}
-
-
-
- ResponseStatus: 200 OK
-
-{
- "schemas": [
- "urn:ietf:params:scim:schemas:core:2.0:User"
- ],
- "id": "edefdfedf-050c-11e7-8d32",
- "externalId": "a7d0f98382",
- "userName": "mona.octocat@okta.example.com",
- "name": {
- "givenName": "Monalisa",
- "familyName": "Octocat"
- },
- "emails": [
- {
- "value": "mona.octocat@okta.example.com",
- "type": "work",
- "primary": true
- },
- {
- "value": "monalisa@octocat.github.com",
- "type": "home"
- }
- ],
- "active": true,
- "meta": {
- "resourceType": "User",
- "created": "2017-03-09T16:11:13-05:00",
- "lastModified": "2017-03-09T16:11:13-05:00",
- "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32"
- }
-}
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/scim/update-an-attribute-for-a-scim-user.html b/cache/api.github.com/v3/scim/update-an-attribute-for-a-scim-user.html
new file mode 100644
index 0000000000..b4914462f0
--- /dev/null
+++ b/cache/api.github.com/v3/scim/update-an-attribute-for-a-scim-user.html
@@ -0,0 +1,88 @@
+
+
+
+ Update an attribute for a SCIM userAllows you to change a provisioned user's individual attributes. To change a user's values, you must provide a specific Operations
JSON format that contains at least one of the add
, remove
, or replace
operations.
+The following example shows adding a new email address and updating the user's given name. For other examples and more information on the SCIM operations format, see the SCIM specification.
+PATCH /scim/v2/organizations/:org/Users/:scim_user_id
+
+
+
+Note: Complicated SCIM path
selectors that include filters are not supported. For example, a path
selector defined as "path": "emails[type eq \"work\"]"
will not work.
+
+
+
+
+Warning: If you set active:false
using the replace
operation (as shown in the JSON example below), it removes the user from the organization, deletes the external identity, and deletes the associated :scim_user_id
.
+
+{
+ "Operations":[{
+ "op":"replace",
+ "value":{
+ "active":false
+ }
+ }]
+}
+
+
+
+
+
+
+ Example{
+ "schemas": [
+ "urn:ietf:params:scim:api:messages:2.0:PatchOp"
+ ],
+ "Operations": [
+ {
+ "op": "add",
+ "path": "emails",
+ "value": [
+ {
+ "value": "monalisa@octocat.github.com",
+ "type": "home"
+ }
+ ]
+ },
+ {
+ "op": "replace",
+ "path": "name.givenName",
+ "value": "Monalisa"
+ }
+ ]
+}
+
+
+
+ ResponseStatus: 200 OK
+
+{
+ "schemas": [
+ "urn:ietf:params:scim:schemas:core:2.0:User"
+ ],
+ "id": "edefdfedf-050c-11e7-8d32",
+ "externalId": "a7d0f98382",
+ "userName": "mona.octocat@okta.example.com",
+ "name": {
+ "givenName": "Monalisa",
+ "familyName": "Octocat"
+ },
+ "emails": [
+ {
+ "value": "mona.octocat@okta.example.com",
+ "type": "work",
+ "primary": true
+ },
+ {
+ "value": "monalisa@octocat.github.com",
+ "type": "home"
+ }
+ ],
+ "active": true,
+ "meta": {
+ "resourceType": "User",
+ "created": "2017-03-09T16:11:13-05:00",
+ "lastModified": "2017-03-09T16:11:13-05:00",
+ "location": "https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32"
+ }
+}
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/users/blocking/check-if-a-user-is-blocked-by-the-authenticated-user.html b/cache/api.github.com/v3/users/blocking/check-if-a-user-is-blocked-by-the-authenticated-user.html
new file mode 100644
index 0000000000..89b4711af1
--- /dev/null
+++ b/cache/api.github.com/v3/users/blocking/check-if-a-user-is-blocked-by-the-authenticated-user.html
@@ -0,0 +1,12 @@
+
+
+ Check if a user is blocked by the authenticated userGET /user/blocks/:username
+
+
+
+ ResponseIf the user is blocked:
+Status: 204 No Content
+
+If the user is not blocked:
+Status: 404 Not Found
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/users/blocking/check-whether-youve-blocked-a-user.html b/cache/api.github.com/v3/users/blocking/check-whether-youve-blocked-a-user.html
deleted file mode 100644
index 6292cc8bd8..0000000000
--- a/cache/api.github.com/v3/users/blocking/check-whether-youve-blocked-a-user.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
- Check whether you've blocked a userGET /user/blocks/:username
-
-
-
- ResponseIf the user is blocked:
-Status: 204 No Content
-
-If the user is not blocked:
-Status: 404 Not Found
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/users/blocking/index.html b/cache/api.github.com/v3/users/blocking/index.html
index cb7feba91c..e3cfa8e4a3 100644
--- a/cache/api.github.com/v3/users/blocking/index.html
+++ b/cache/api.github.com/v3/users/blocking/index.html
@@ -367,8 +367,8 @@
Block Another User
-- List blocked users
-- Check whether you've blocked a user
+- List users blocked by the authenticated user
+- Check if a user is blocked by the authenticated user
- Block a user
- Unblock a user
@@ -389,7 +389,7 @@
-
+ List blocked users List users blocked by the authenticated user
List the users you've blocked on your personal account.
@@ -429,7 +429,7 @@
-
+ Check whether you've blocked a user Check if a user is blocked by the authenticated user
GET /user/blocks/:username
diff --git a/cache/api.github.com/v3/users/blocking/list-blocked-users.html b/cache/api.github.com/v3/users/blocking/list-blocked-users.html
deleted file mode 100644
index aaa3de624b..0000000000
--- a/cache/api.github.com/v3/users/blocking/list-blocked-users.html
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
- List blocked users
List the users you've blocked on your personal account.
-GET /user/blocks
-
-
-
- ResponseStatus: 200 OK
-
-[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
\ No newline at end of file
diff --git a/cache/api.github.com/v3/users/blocking/list-users-blocked-by-the-authenticated-user.html b/cache/api.github.com/v3/users/blocking/list-users-blocked-by-the-authenticated-user.html
new file mode 100644
index 0000000000..c67101c62b
--- /dev/null
+++ b/cache/api.github.com/v3/users/blocking/list-users-blocked-by-the-authenticated-user.html
@@ -0,0 +1,32 @@
+
+
+ List users blocked by the authenticated userList the users you've blocked on your personal account.
+GET /user/blocks
+
+
+
+ ResponseStatus: 200 OK
+
+[
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+]
+
\ No newline at end of file
diff --git a/cache/api.github.com/v3/users/blocking/sections.json b/cache/api.github.com/v3/users/blocking/sections.json
index b52d10c369..6c09189a98 100644
--- a/cache/api.github.com/v3/users/blocking/sections.json
+++ b/cache/api.github.com/v3/users/blocking/sections.json
@@ -1,13 +1,13 @@
[
{
- "id": "list-blocked-users",
- "name": "List blocked users",
- "url": "https://developer.github.com/v3/users/blocking/#list-blocked-users"
+ "id": "list-users-blocked-by-the-authenticated-user",
+ "name": "List users blocked by the authenticated user",
+ "url": "https://developer.github.com/v3/users/blocking/#list-users-blocked-by-the-authenticated-user"
},
{
- "id": "check-whether-youve-blocked-a-user",
- "name": "Check whether you've blocked a user",
- "url": "https://developer.github.com/v3/users/blocking/#check-whether-youve-blocked-a-user"
+ "id": "check-if-a-user-is-blocked-by-the-authenticated-user",
+ "name": "Check if a user is blocked by the authenticated user",
+ "url": "https://developer.github.com/v3/users/blocking/#check-if-a-user-is-blocked-by-the-authenticated-user"
},
{
"id": "block-a-user",
diff --git a/cache/api.github.com/v3/users/emails/add-an-email-address-for-the-authenticated-user.html b/cache/api.github.com/v3/users/emails/add-an-email-address-for-the-authenticated-user.html
new file mode 100644
index 0000000000..32b57d75df
--- /dev/null
+++ b/cache/api.github.com/v3/users/emails/add-an-email-address-for-the-authenticated-user.html
@@ -0,0 +1,57 @@
+
+
+ Add an email address for the authenticated userThis endpoint is accessible with the user
scope.
+POST /user/emails
+
+
+
+ Parameters
+
+
+Name
+Type
+Description
+
+
+
+
+