diff --git a/lib/rest/static/decorated/api.github.com.json b/lib/rest/static/decorated/api.github.com.json
index 795ddd5c20..6532e83603 100644
--- a/lib/rest/static/decorated/api.github.com.json
+++ b/lib/rest/static/decorated/api.github.com.json
@@ -9808,14 +9808,16 @@
"environment_ids": {
"type": "array of integers",
"description": "
Required. The list of environment ids to approve or reject
",
- "example": [
+ "items": {
+ "type": "integer",
+ "examples": [
+ 161171787
+ ]
+ },
+ "examples": [
161171787,
161171795
],
- "items": {
- "type": "integer",
- "example": 161171787
- },
"name": "environment_ids",
"in": "body",
"rawType": "array",
@@ -9829,7 +9831,9 @@
"approved",
"rejected"
],
- "example": "approved",
+ "examples": [
+ "approved"
+ ],
"name": "state",
"in": "body",
"rawType": "string",
@@ -9839,7 +9843,9 @@
"comment": {
"type": "string",
"description": "Required. A comment to accompany the deployment review
",
- "example": "Ship it!",
+ "examples": [
+ "Ship it!"
+ ],
"name": "comment",
"in": "body",
"rawType": "string",
@@ -9878,14 +9884,16 @@
{
"type": "array of integers",
"description": "Required. The list of environment ids to approve or reject
",
- "example": [
+ "items": {
+ "type": "integer",
+ "examples": [
+ 161171787
+ ]
+ },
+ "examples": [
161171787,
161171795
],
- "items": {
- "type": "integer",
- "example": 161171787
- },
"name": "environment_ids",
"in": "body",
"rawType": "array",
@@ -9899,7 +9907,9 @@
"approved",
"rejected"
],
- "example": "approved",
+ "examples": [
+ "approved"
+ ],
"name": "state",
"in": "body",
"rawType": "string",
@@ -9909,7 +9919,9 @@
{
"type": "string",
"description": "Required. A comment to accompany the deployment review
",
- "example": "Ship it!",
+ "examples": [
+ "Ship it!"
+ ],
"name": "comment",
"in": "body",
"rawType": "string",
@@ -13482,7 +13494,9 @@
"type": "array of strings",
"items": {
"type": "string",
- "example": "rails"
+ "examples": [
+ "rails"
+ ]
},
"name": "repositories",
"in": "body",
@@ -13492,13 +13506,13 @@
},
"repository_ids": {
"description": "List of repository IDs that the token should have access to
",
- "example": [
- 1
- ],
"type": "array of integers",
"items": {
"type": "integer"
},
+ "examples": [
+ 1
+ ],
"name": "repository_ids",
"in": "body",
"rawType": "array",
@@ -14375,7 +14389,9 @@
"type": "array of strings",
"items": {
"type": "string",
- "example": "rails"
+ "examples": [
+ "rails"
+ ]
},
"name": "repositories",
"in": "body",
@@ -14385,13 +14401,13 @@
},
{
"description": "List of repository IDs that the token should have access to
",
- "example": [
- 1
- ],
"type": "array of integers",
"items": {
"type": "integer"
},
+ "examples": [
+ 1
+ ],
"name": "repository_ids",
"in": "body",
"rawType": "array",
@@ -16962,7 +16978,9 @@
"access_token": {
"type": "string",
"description": "Required. The OAuth access token used to authenticate to the GitHub API.
",
- "example": "e72e16c7e42f292c6912e7710c838347ae178b4a",
+ "examples": [
+ "e72e16c7e42f292c6912e7710c838347ae178b4a"
+ ],
"name": "access_token",
"in": "body",
"rawType": "string",
@@ -16972,7 +16990,9 @@
"target": {
"description": "The name of the user or organization to scope the user-to-server access token to. Required unless target_id is specified.
",
"type": "string",
- "example": "octocat",
+ "examples": [
+ "octocat"
+ ],
"name": "target",
"in": "body",
"rawType": "string",
@@ -16981,8 +17001,10 @@
},
"target_id": {
"description": "The ID of the user or organization to scope the user-to-server access token to. Required unless target is specified.
",
- "example": 1,
"type": "integer",
+ "examples": [
+ 1
+ ],
"name": "target_id",
"in": "body",
"rawType": "integer",
@@ -16994,7 +17016,9 @@
"type": "array of strings",
"items": {
"type": "string",
- "example": "rails"
+ "examples": [
+ "rails"
+ ]
},
"name": "repositories",
"in": "body",
@@ -17004,13 +17028,13 @@
},
"repository_ids": {
"description": "The list of repository IDs to scope the user-to-server access token to. repository_ids may not be specified if repositories is specified.
",
- "example": [
- 1
- ],
"type": "array of integers",
"items": {
"type": "integer"
},
+ "examples": [
+ 1
+ ],
"name": "repository_ids",
"in": "body",
"rawType": "array",
@@ -17886,7 +17910,9 @@
{
"type": "string",
"description": "Required. The OAuth access token used to authenticate to the GitHub API.
",
- "example": "e72e16c7e42f292c6912e7710c838347ae178b4a",
+ "examples": [
+ "e72e16c7e42f292c6912e7710c838347ae178b4a"
+ ],
"name": "access_token",
"in": "body",
"rawType": "string",
@@ -17896,7 +17922,9 @@
{
"description": "The name of the user or organization to scope the user-to-server access token to. Required unless target_id is specified.
",
"type": "string",
- "example": "octocat",
+ "examples": [
+ "octocat"
+ ],
"name": "target",
"in": "body",
"rawType": "string",
@@ -17905,8 +17933,10 @@
},
{
"description": "The ID of the user or organization to scope the user-to-server access token to. Required unless target is specified.
",
- "example": 1,
"type": "integer",
+ "examples": [
+ 1
+ ],
"name": "target_id",
"in": "body",
"rawType": "integer",
@@ -17918,7 +17948,9 @@
"type": "array of strings",
"items": {
"type": "string",
- "example": "rails"
+ "examples": [
+ "rails"
+ ]
},
"name": "repositories",
"in": "body",
@@ -17928,13 +17960,13 @@
},
{
"description": "The list of repository IDs to scope the user-to-server access token to. repository_ids may not be specified if repositories is specified.
",
- "example": [
- 1
- ],
"type": "array of integers",
"items": {
"type": "integer"
},
+ "examples": [
+ 1
+ ],
"name": "repository_ids",
"in": "body",
"rawType": "array",
@@ -18811,8 +18843,10 @@
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -18822,7 +18856,9 @@
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -18832,7 +18868,9 @@
"secret": {
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -18844,7 +18882,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -18893,8 +18933,10 @@
{
"type": "string",
"description": "The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -18904,7 +18946,9 @@
{
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -18914,7 +18958,9 @@
{
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -18926,7 +18972,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -20131,33 +20179,22 @@
"required_status_checks": {
"type": "object or null",
"description": "Required. Require status checks to pass before merging. Set to null to disable.
",
- "nullable": true,
"properties": {
"strict": {
"type": "boolean",
- "description": "Required. Require branches to be up to date before merging.
",
- "name": "strict",
- "in": "body",
- "rawType": "boolean",
- "rawDescription": "Require branches to be up to date before merging.",
- "childParamsGroups": []
+ "description": "Require branches to be up to date before merging."
},
"contexts": {
- "type": "array of strings",
+ "type": "array",
"deprecated": true,
- "description": "Required. Deprecated: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use checks instead of contexts for more fine-grained control.
",
+ "description": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
"items": {
"type": "string"
- },
- "name": "contexts",
- "in": "body",
- "rawType": "array",
- "rawDescription": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
- "childParamsGroups": []
+ }
},
"checks": {
- "type": "array of objects",
- "description": "The list of status checks to require in order to merge into this branch.
",
+ "type": "array",
+ "description": "The list of status checks to require in order to merge into this branch.",
"items": {
"type": "object",
"required": [
@@ -20166,55 +20203,14 @@
"properties": {
"context": {
"type": "string",
- "description": "Required. The name of the required check
",
- "name": "context",
- "in": "body",
- "rawType": "string",
- "rawDescription": "The name of the required check",
- "childParamsGroups": []
+ "description": "The name of the required check"
},
"app_id": {
"type": "integer",
- "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.
",
- "name": "app_id",
- "in": "body",
- "rawType": "integer",
- "rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.",
- "childParamsGroups": []
+ "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status."
}
}
- },
- "name": "checks",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of status checks to require in order to merge into this branch.",
- "childParamsGroups": [
- {
- "parentName": "checks",
- "parentType": "items",
- "id": "checks-items",
- "params": [
- {
- "type": "string",
- "description": "Required. The name of the required check
",
- "name": "context",
- "in": "body",
- "rawType": "string",
- "rawDescription": "The name of the required check",
- "childParamsGroups": []
- },
- {
- "type": "integer",
- "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.
",
- "name": "app_id",
- "in": "body",
- "rawType": "integer",
- "rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ }
}
},
"required": [
@@ -20223,580 +20219,115 @@
],
"name": "required_status_checks",
"in": "body",
- "rawType": "object",
+ "rawType": [
+ "object",
+ "null"
+ ],
"rawDescription": "Require status checks to pass before merging. Set to `null` to disable.",
- "childParamsGroups": [
- {
- "parentName": "required_status_checks",
- "parentType": "object",
- "id": "required_status_checks-object",
- "params": [
- {
- "type": "boolean",
- "description": "Required. Require branches to be up to date before merging.
",
- "name": "strict",
- "in": "body",
- "rawType": "boolean",
- "rawDescription": "Require branches to be up to date before merging.",
- "childParamsGroups": []
- },
- {
- "type": "array of strings",
- "deprecated": true,
- "description": "Required. Deprecated: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use checks instead of contexts for more fine-grained control.
",
- "items": {
- "type": "string"
- },
- "name": "contexts",
- "in": "body",
- "rawType": "array",
- "rawDescription": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
- "childParamsGroups": []
- },
- {
- "type": "array of objects",
- "description": "The list of status checks to require in order to merge into this branch.
",
- "items": {
- "type": "object",
- "required": [
- "context"
- ],
- "properties": {
- "context": {
- "type": "string",
- "description": "Required. The name of the required check
",
- "name": "context",
- "in": "body",
- "rawType": "string",
- "rawDescription": "The name of the required check",
- "childParamsGroups": []
- },
- "app_id": {
- "type": "integer",
- "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.
",
- "name": "app_id",
- "in": "body",
- "rawType": "integer",
- "rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.",
- "childParamsGroups": []
- }
- }
- },
- "name": "checks",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of status checks to require in order to merge into this branch.",
- "childParamsGroups": [
- {
- "parentName": "checks",
- "parentType": "items",
- "id": "checks-items",
- "params": [
- {
- "type": "string",
- "description": "Required. The name of the required check
",
- "name": "context",
- "in": "body",
- "rawType": "string",
- "rawDescription": "The name of the required check",
- "childParamsGroups": []
- },
- {
- "type": "integer",
- "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.
",
- "name": "app_id",
- "in": "body",
- "rawType": "integer",
- "rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.",
- "childParamsGroups": []
- }
- ]
- }
- ]
- }
- ]
- },
- {
- "parentName": "checks",
- "parentType": "items",
- "id": "checks-items",
- "params": [
- {
- "type": "string",
- "description": "Required. The name of the required check
",
- "name": "context",
- "in": "body",
- "rawType": "string",
- "rawDescription": "The name of the required check",
- "childParamsGroups": []
- },
- {
- "type": "integer",
- "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.
",
- "name": "app_id",
- "in": "body",
- "rawType": "integer",
- "rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ "childParamsGroups": []
},
"enforce_admins": {
"type": "boolean or null",
"description": "Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable.
",
- "nullable": true,
"name": "enforce_admins",
"in": "body",
- "rawType": "boolean",
+ "rawType": [
+ "boolean",
+ "null"
+ ],
"rawDescription": "Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable.",
"childParamsGroups": []
},
"required_pull_request_reviews": {
"type": "object or null",
"description": "Required. Require at least one approving review on a pull request, before merging. Set to null to disable.
",
- "nullable": true,
"properties": {
"dismissal_restrictions": {
"type": "object",
- "description": "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.
",
+ "description": "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.",
"properties": {
"users": {
- "type": "array of strings",
- "description": "The list of user logins with dismissal access
",
+ "type": "array",
+ "description": "The list of user `login`s with dismissal access",
"items": {
"type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s with dismissal access",
- "childParamsGroups": []
+ }
},
"teams": {
- "type": "array of strings",
- "description": "The list of team slugs with dismissal access
",
+ "type": "array",
+ "description": "The list of team `slug`s with dismissal access",
"items": {
"type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s with dismissal access",
- "childParamsGroups": []
+ }
}
- },
- "name": "dismissal_restrictions",
- "in": "body",
- "rawType": "object",
- "rawDescription": "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.",
- "childParamsGroups": [
- {
- "parentName": "dismissal_restrictions",
- "parentType": "object",
- "id": "dismissal_restrictions-object",
- "params": [
- {
- "type": "array of strings",
- "description": "The list of user logins with dismissal access
",
- "items": {
- "type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s with dismissal access",
- "childParamsGroups": []
- },
- {
- "type": "array of strings",
- "description": "The list of team slugs with dismissal access
",
- "items": {
- "type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s with dismissal access",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ }
},
"dismiss_stale_reviews": {
"type": "boolean",
- "description": "Set to true if you want to automatically dismiss approving reviews when someone pushes a new commit.
",
- "name": "dismiss_stale_reviews",
- "in": "body",
- "rawType": "boolean",
- "rawDescription": "Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit.",
- "childParamsGroups": []
+ "description": "Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit."
},
"require_code_owner_reviews": {
"type": "boolean",
- "description": "Blocks merging pull requests until code owners review them.
",
- "name": "require_code_owner_reviews",
- "in": "body",
- "rawType": "boolean",
- "rawDescription": "Blocks merging pull requests until [code owners](https://docs.github.com/articles/about-code-owners/) review them.",
- "childParamsGroups": []
+ "description": "Blocks merging pull requests until [code owners](https://docs.github.com/articles/about-code-owners/) review them."
},
"required_approving_review_count": {
"type": "integer",
- "description": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.
",
- "name": "required_approving_review_count",
- "in": "body",
- "rawType": "integer",
- "rawDescription": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.",
- "childParamsGroups": []
+ "description": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers."
},
"bypass_pull_request_allowances": {
"type": "object",
- "description": "Allow specific users or teams to bypass pull request requirements.
",
+ "description": "Allow specific users or teams to bypass pull request requirements.",
"properties": {
"users": {
- "type": "array of strings",
- "description": "The list of user logins allowed to bypass pull request requirements.
",
+ "type": "array",
+ "description": "The list of user `login`s allowed to bypass pull request requirements.",
"items": {
"type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
- "childParamsGroups": []
+ }
},
"teams": {
- "type": "array of strings",
- "description": "The list of team slugs allowed to bypass pull request requirements.
",
+ "type": "array",
+ "description": "The list of team `slug`s allowed to bypass pull request requirements.",
"items": {
"type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
- "childParamsGroups": []
+ }
}
- },
- "name": "bypass_pull_request_allowances",
- "in": "body",
- "rawType": "object",
- "rawDescription": "Allow specific users or teams to bypass pull request requirements.",
- "childParamsGroups": [
- {
- "parentName": "bypass_pull_request_allowances",
- "parentType": "object",
- "id": "bypass_pull_request_allowances-object",
- "params": [
- {
- "type": "array of strings",
- "description": "The list of user logins allowed to bypass pull request requirements.
",
- "items": {
- "type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
- "childParamsGroups": []
- },
- {
- "type": "array of strings",
- "description": "The list of team slugs allowed to bypass pull request requirements.
",
- "items": {
- "type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ }
}
},
"name": "required_pull_request_reviews",
"in": "body",
- "rawType": "object",
+ "rawType": [
+ "object",
+ "null"
+ ],
"rawDescription": "Require at least one approving review on a pull request, before merging. Set to `null` to disable.",
- "childParamsGroups": [
- {
- "parentName": "required_pull_request_reviews",
- "parentType": "object",
- "id": "required_pull_request_reviews-object",
- "params": [
- {
- "type": "object",
- "description": "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.
",
- "properties": {
- "users": {
- "type": "array of strings",
- "description": "The list of user logins with dismissal access
",
- "items": {
- "type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s with dismissal access",
- "childParamsGroups": []
- },
- "teams": {
- "type": "array of strings",
- "description": "The list of team slugs with dismissal access
",
- "items": {
- "type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s with dismissal access",
- "childParamsGroups": []
- }
- },
- "name": "dismissal_restrictions",
- "in": "body",
- "rawType": "object",
- "rawDescription": "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.",
- "childParamsGroups": [
- {
- "parentName": "dismissal_restrictions",
- "parentType": "object",
- "id": "dismissal_restrictions-object",
- "params": [
- {
- "type": "array of strings",
- "description": "The list of user logins with dismissal access
",
- "items": {
- "type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s with dismissal access",
- "childParamsGroups": []
- },
- {
- "type": "array of strings",
- "description": "The list of team slugs with dismissal access
",
- "items": {
- "type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s with dismissal access",
- "childParamsGroups": []
- }
- ]
- }
- ]
- },
- {
- "type": "boolean",
- "description": "Set to true if you want to automatically dismiss approving reviews when someone pushes a new commit.
",
- "name": "dismiss_stale_reviews",
- "in": "body",
- "rawType": "boolean",
- "rawDescription": "Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit.",
- "childParamsGroups": []
- },
- {
- "type": "boolean",
- "description": "Blocks merging pull requests until code owners review them.
",
- "name": "require_code_owner_reviews",
- "in": "body",
- "rawType": "boolean",
- "rawDescription": "Blocks merging pull requests until [code owners](https://docs.github.com/articles/about-code-owners/) review them.",
- "childParamsGroups": []
- },
- {
- "type": "integer",
- "description": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.
",
- "name": "required_approving_review_count",
- "in": "body",
- "rawType": "integer",
- "rawDescription": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.",
- "childParamsGroups": []
- },
- {
- "type": "object",
- "description": "Allow specific users or teams to bypass pull request requirements.
",
- "properties": {
- "users": {
- "type": "array of strings",
- "description": "The list of user logins allowed to bypass pull request requirements.
",
- "items": {
- "type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
- "childParamsGroups": []
- },
- "teams": {
- "type": "array of strings",
- "description": "The list of team slugs allowed to bypass pull request requirements.
",
- "items": {
- "type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
- "childParamsGroups": []
- }
- },
- "name": "bypass_pull_request_allowances",
- "in": "body",
- "rawType": "object",
- "rawDescription": "Allow specific users or teams to bypass pull request requirements.",
- "childParamsGroups": [
- {
- "parentName": "bypass_pull_request_allowances",
- "parentType": "object",
- "id": "bypass_pull_request_allowances-object",
- "params": [
- {
- "type": "array of strings",
- "description": "The list of user logins allowed to bypass pull request requirements.
",
- "items": {
- "type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
- "childParamsGroups": []
- },
- {
- "type": "array of strings",
- "description": "The list of team slugs allowed to bypass pull request requirements.
",
- "items": {
- "type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
- "childParamsGroups": []
- }
- ]
- }
- ]
- }
- ]
- },
- {
- "parentName": "dismissal_restrictions",
- "parentType": "object",
- "id": "dismissal_restrictions-object",
- "params": [
- {
- "type": "array of strings",
- "description": "The list of user logins with dismissal access
",
- "items": {
- "type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s with dismissal access",
- "childParamsGroups": []
- },
- {
- "type": "array of strings",
- "description": "The list of team slugs with dismissal access
",
- "items": {
- "type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s with dismissal access",
- "childParamsGroups": []
- }
- ]
- },
- {
- "parentName": "bypass_pull_request_allowances",
- "parentType": "object",
- "id": "bypass_pull_request_allowances-object",
- "params": [
- {
- "type": "array of strings",
- "description": "The list of user logins allowed to bypass pull request requirements.
",
- "items": {
- "type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
- "childParamsGroups": []
- },
- {
- "type": "array of strings",
- "description": "The list of team slugs allowed to bypass pull request requirements.
",
- "items": {
- "type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ "childParamsGroups": []
},
"restrictions": {
"type": "object or null",
"description": "Required. Restrict who can push to the protected branch. User, app, and team restrictions are only available for organization-owned repositories. Set to null to disable.
",
- "nullable": true,
"properties": {
"users": {
- "type": "array of strings",
- "description": "Required. The list of user logins with push access
",
+ "type": "array",
+ "description": "The list of user `login`s with push access",
"items": {
"type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s with push access",
- "childParamsGroups": []
+ }
},
"teams": {
- "type": "array of strings",
- "description": "Required. The list of team slugs with push access
",
+ "type": "array",
+ "description": "The list of team `slug`s with push access",
"items": {
"type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s with push access",
- "childParamsGroups": []
+ }
},
"apps": {
- "type": "array of strings",
- "description": "The list of app slugs with push access
",
+ "type": "array",
+ "description": "The list of app `slug`s with push access",
"items": {
"type": "string"
- },
- "name": "apps",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of app `slug`s with push access",
- "childParamsGroups": []
+ }
}
},
"required": [
@@ -20805,53 +20336,12 @@
],
"name": "restrictions",
"in": "body",
- "rawType": "object",
+ "rawType": [
+ "object",
+ "null"
+ ],
"rawDescription": "Restrict who can push to the protected branch. User, app, and team `restrictions` are only available for organization-owned repositories. Set to `null` to disable.",
- "childParamsGroups": [
- {
- "parentName": "restrictions",
- "parentType": "object",
- "id": "restrictions-object",
- "params": [
- {
- "type": "array of strings",
- "description": "Required. The list of user logins with push access
",
- "items": {
- "type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s with push access",
- "childParamsGroups": []
- },
- {
- "type": "array of strings",
- "description": "Required. The list of team slugs with push access
",
- "items": {
- "type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s with push access",
- "childParamsGroups": []
- },
- {
- "type": "array of strings",
- "description": "The list of app slugs with push access
",
- "items": {
- "type": "string"
- },
- "name": "apps",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of app `slug`s with push access",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ "childParamsGroups": []
},
"required_linear_history": {
"type": "boolean",
@@ -20865,10 +20355,12 @@
"allow_force_pushes": {
"type": "boolean or null",
"description": "Permits force pushes to the protected branch by anyone with write access to the repository. Set to true to allow force pushes. Set to false or null to block force pushes. Default: false. For more information, see \"Enabling force pushes to a protected branch\" in the GitHub Help documentation.\"
",
- "nullable": true,
"name": "allow_force_pushes",
"in": "body",
- "rawType": "boolean",
+ "rawType": [
+ "boolean",
+ "null"
+ ],
"rawDescription": "Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see \"[Enabling force pushes to a protected branch](https://docs.github.com/en/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)\" in the GitHub Help documentation.\"",
"childParamsGroups": []
},
@@ -20982,33 +20474,22 @@
{
"type": "object or null",
"description": "Required. Require status checks to pass before merging. Set to null to disable.
",
- "nullable": true,
"properties": {
"strict": {
"type": "boolean",
- "description": "Required. Require branches to be up to date before merging.
",
- "name": "strict",
- "in": "body",
- "rawType": "boolean",
- "rawDescription": "Require branches to be up to date before merging.",
- "childParamsGroups": []
+ "description": "Require branches to be up to date before merging."
},
"contexts": {
- "type": "array of strings",
+ "type": "array",
"deprecated": true,
- "description": "Required. Deprecated: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use checks instead of contexts for more fine-grained control.
",
+ "description": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
"items": {
"type": "string"
- },
- "name": "contexts",
- "in": "body",
- "rawType": "array",
- "rawDescription": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
- "childParamsGroups": []
+ }
},
"checks": {
- "type": "array of objects",
- "description": "The list of status checks to require in order to merge into this branch.
",
+ "type": "array",
+ "description": "The list of status checks to require in order to merge into this branch.",
"items": {
"type": "object",
"required": [
@@ -21017,55 +20498,14 @@
"properties": {
"context": {
"type": "string",
- "description": "Required. The name of the required check
",
- "name": "context",
- "in": "body",
- "rawType": "string",
- "rawDescription": "The name of the required check",
- "childParamsGroups": []
+ "description": "The name of the required check"
},
"app_id": {
"type": "integer",
- "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.
",
- "name": "app_id",
- "in": "body",
- "rawType": "integer",
- "rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.",
- "childParamsGroups": []
+ "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status."
}
}
- },
- "name": "checks",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of status checks to require in order to merge into this branch.",
- "childParamsGroups": [
- {
- "parentName": "checks",
- "parentType": "items",
- "id": "checks-items",
- "params": [
- {
- "type": "string",
- "description": "Required. The name of the required check
",
- "name": "context",
- "in": "body",
- "rawType": "string",
- "rawDescription": "The name of the required check",
- "childParamsGroups": []
- },
- {
- "type": "integer",
- "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.
",
- "name": "app_id",
- "in": "body",
- "rawType": "integer",
- "rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ }
}
},
"required": [
@@ -21074,580 +20514,115 @@
],
"name": "required_status_checks",
"in": "body",
- "rawType": "object",
+ "rawType": [
+ "object",
+ "null"
+ ],
"rawDescription": "Require status checks to pass before merging. Set to `null` to disable.",
- "childParamsGroups": [
- {
- "parentName": "required_status_checks",
- "parentType": "object",
- "id": "required_status_checks-object",
- "params": [
- {
- "type": "boolean",
- "description": "Required. Require branches to be up to date before merging.
",
- "name": "strict",
- "in": "body",
- "rawType": "boolean",
- "rawDescription": "Require branches to be up to date before merging.",
- "childParamsGroups": []
- },
- {
- "type": "array of strings",
- "deprecated": true,
- "description": "Required. Deprecated: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use checks instead of contexts for more fine-grained control.
",
- "items": {
- "type": "string"
- },
- "name": "contexts",
- "in": "body",
- "rawType": "array",
- "rawDescription": "**Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control.\n",
- "childParamsGroups": []
- },
- {
- "type": "array of objects",
- "description": "The list of status checks to require in order to merge into this branch.
",
- "items": {
- "type": "object",
- "required": [
- "context"
- ],
- "properties": {
- "context": {
- "type": "string",
- "description": "Required. The name of the required check
",
- "name": "context",
- "in": "body",
- "rawType": "string",
- "rawDescription": "The name of the required check",
- "childParamsGroups": []
- },
- "app_id": {
- "type": "integer",
- "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.
",
- "name": "app_id",
- "in": "body",
- "rawType": "integer",
- "rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.",
- "childParamsGroups": []
- }
- }
- },
- "name": "checks",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of status checks to require in order to merge into this branch.",
- "childParamsGroups": [
- {
- "parentName": "checks",
- "parentType": "items",
- "id": "checks-items",
- "params": [
- {
- "type": "string",
- "description": "Required. The name of the required check
",
- "name": "context",
- "in": "body",
- "rawType": "string",
- "rawDescription": "The name of the required check",
- "childParamsGroups": []
- },
- {
- "type": "integer",
- "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.
",
- "name": "app_id",
- "in": "body",
- "rawType": "integer",
- "rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.",
- "childParamsGroups": []
- }
- ]
- }
- ]
- }
- ]
- },
- {
- "parentName": "checks",
- "parentType": "items",
- "id": "checks-items",
- "params": [
- {
- "type": "string",
- "description": "Required. The name of the required check
",
- "name": "context",
- "in": "body",
- "rawType": "string",
- "rawDescription": "The name of the required check",
- "childParamsGroups": []
- },
- {
- "type": "integer",
- "description": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.
",
- "name": "app_id",
- "in": "body",
- "rawType": "integer",
- "rawDescription": "The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ "childParamsGroups": []
},
{
"type": "boolean or null",
"description": "Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable.
",
- "nullable": true,
"name": "enforce_admins",
"in": "body",
- "rawType": "boolean",
+ "rawType": [
+ "boolean",
+ "null"
+ ],
"rawDescription": "Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable.",
"childParamsGroups": []
},
{
"type": "object or null",
"description": "Required. Require at least one approving review on a pull request, before merging. Set to null to disable.
",
- "nullable": true,
"properties": {
"dismissal_restrictions": {
"type": "object",
- "description": "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.
",
+ "description": "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.",
"properties": {
"users": {
- "type": "array of strings",
- "description": "The list of user logins with dismissal access
",
+ "type": "array",
+ "description": "The list of user `login`s with dismissal access",
"items": {
"type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s with dismissal access",
- "childParamsGroups": []
+ }
},
"teams": {
- "type": "array of strings",
- "description": "The list of team slugs with dismissal access
",
+ "type": "array",
+ "description": "The list of team `slug`s with dismissal access",
"items": {
"type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s with dismissal access",
- "childParamsGroups": []
+ }
}
- },
- "name": "dismissal_restrictions",
- "in": "body",
- "rawType": "object",
- "rawDescription": "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.",
- "childParamsGroups": [
- {
- "parentName": "dismissal_restrictions",
- "parentType": "object",
- "id": "dismissal_restrictions-object",
- "params": [
- {
- "type": "array of strings",
- "description": "The list of user logins with dismissal access
",
- "items": {
- "type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s with dismissal access",
- "childParamsGroups": []
- },
- {
- "type": "array of strings",
- "description": "The list of team slugs with dismissal access
",
- "items": {
- "type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s with dismissal access",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ }
},
"dismiss_stale_reviews": {
"type": "boolean",
- "description": "Set to true if you want to automatically dismiss approving reviews when someone pushes a new commit.
",
- "name": "dismiss_stale_reviews",
- "in": "body",
- "rawType": "boolean",
- "rawDescription": "Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit.",
- "childParamsGroups": []
+ "description": "Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit."
},
"require_code_owner_reviews": {
"type": "boolean",
- "description": "Blocks merging pull requests until code owners review them.
",
- "name": "require_code_owner_reviews",
- "in": "body",
- "rawType": "boolean",
- "rawDescription": "Blocks merging pull requests until [code owners](https://docs.github.com/articles/about-code-owners/) review them.",
- "childParamsGroups": []
+ "description": "Blocks merging pull requests until [code owners](https://docs.github.com/articles/about-code-owners/) review them."
},
"required_approving_review_count": {
"type": "integer",
- "description": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.
",
- "name": "required_approving_review_count",
- "in": "body",
- "rawType": "integer",
- "rawDescription": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.",
- "childParamsGroups": []
+ "description": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers."
},
"bypass_pull_request_allowances": {
"type": "object",
- "description": "Allow specific users or teams to bypass pull request requirements.
",
+ "description": "Allow specific users or teams to bypass pull request requirements.",
"properties": {
"users": {
- "type": "array of strings",
- "description": "The list of user logins allowed to bypass pull request requirements.
",
+ "type": "array",
+ "description": "The list of user `login`s allowed to bypass pull request requirements.",
"items": {
"type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
- "childParamsGroups": []
+ }
},
"teams": {
- "type": "array of strings",
- "description": "The list of team slugs allowed to bypass pull request requirements.
",
+ "type": "array",
+ "description": "The list of team `slug`s allowed to bypass pull request requirements.",
"items": {
"type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
- "childParamsGroups": []
+ }
}
- },
- "name": "bypass_pull_request_allowances",
- "in": "body",
- "rawType": "object",
- "rawDescription": "Allow specific users or teams to bypass pull request requirements.",
- "childParamsGroups": [
- {
- "parentName": "bypass_pull_request_allowances",
- "parentType": "object",
- "id": "bypass_pull_request_allowances-object",
- "params": [
- {
- "type": "array of strings",
- "description": "The list of user logins allowed to bypass pull request requirements.
",
- "items": {
- "type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
- "childParamsGroups": []
- },
- {
- "type": "array of strings",
- "description": "The list of team slugs allowed to bypass pull request requirements.
",
- "items": {
- "type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ }
}
},
"name": "required_pull_request_reviews",
"in": "body",
- "rawType": "object",
+ "rawType": [
+ "object",
+ "null"
+ ],
"rawDescription": "Require at least one approving review on a pull request, before merging. Set to `null` to disable.",
- "childParamsGroups": [
- {
- "parentName": "required_pull_request_reviews",
- "parentType": "object",
- "id": "required_pull_request_reviews-object",
- "params": [
- {
- "type": "object",
- "description": "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.
",
- "properties": {
- "users": {
- "type": "array of strings",
- "description": "The list of user logins with dismissal access
",
- "items": {
- "type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s with dismissal access",
- "childParamsGroups": []
- },
- "teams": {
- "type": "array of strings",
- "description": "The list of team slugs with dismissal access
",
- "items": {
- "type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s with dismissal access",
- "childParamsGroups": []
- }
- },
- "name": "dismissal_restrictions",
- "in": "body",
- "rawType": "object",
- "rawDescription": "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.",
- "childParamsGroups": [
- {
- "parentName": "dismissal_restrictions",
- "parentType": "object",
- "id": "dismissal_restrictions-object",
- "params": [
- {
- "type": "array of strings",
- "description": "The list of user logins with dismissal access
",
- "items": {
- "type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s with dismissal access",
- "childParamsGroups": []
- },
- {
- "type": "array of strings",
- "description": "The list of team slugs with dismissal access
",
- "items": {
- "type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s with dismissal access",
- "childParamsGroups": []
- }
- ]
- }
- ]
- },
- {
- "type": "boolean",
- "description": "Set to true if you want to automatically dismiss approving reviews when someone pushes a new commit.
",
- "name": "dismiss_stale_reviews",
- "in": "body",
- "rawType": "boolean",
- "rawDescription": "Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit.",
- "childParamsGroups": []
- },
- {
- "type": "boolean",
- "description": "Blocks merging pull requests until code owners review them.
",
- "name": "require_code_owner_reviews",
- "in": "body",
- "rawType": "boolean",
- "rawDescription": "Blocks merging pull requests until [code owners](https://docs.github.com/articles/about-code-owners/) review them.",
- "childParamsGroups": []
- },
- {
- "type": "integer",
- "description": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.
",
- "name": "required_approving_review_count",
- "in": "body",
- "rawType": "integer",
- "rawDescription": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.",
- "childParamsGroups": []
- },
- {
- "type": "object",
- "description": "Allow specific users or teams to bypass pull request requirements.
",
- "properties": {
- "users": {
- "type": "array of strings",
- "description": "The list of user logins allowed to bypass pull request requirements.
",
- "items": {
- "type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
- "childParamsGroups": []
- },
- "teams": {
- "type": "array of strings",
- "description": "The list of team slugs allowed to bypass pull request requirements.
",
- "items": {
- "type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
- "childParamsGroups": []
- }
- },
- "name": "bypass_pull_request_allowances",
- "in": "body",
- "rawType": "object",
- "rawDescription": "Allow specific users or teams to bypass pull request requirements.",
- "childParamsGroups": [
- {
- "parentName": "bypass_pull_request_allowances",
- "parentType": "object",
- "id": "bypass_pull_request_allowances-object",
- "params": [
- {
- "type": "array of strings",
- "description": "The list of user logins allowed to bypass pull request requirements.
",
- "items": {
- "type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
- "childParamsGroups": []
- },
- {
- "type": "array of strings",
- "description": "The list of team slugs allowed to bypass pull request requirements.
",
- "items": {
- "type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
- "childParamsGroups": []
- }
- ]
- }
- ]
- }
- ]
- },
- {
- "parentName": "dismissal_restrictions",
- "parentType": "object",
- "id": "dismissal_restrictions-object",
- "params": [
- {
- "type": "array of strings",
- "description": "The list of user logins with dismissal access
",
- "items": {
- "type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s with dismissal access",
- "childParamsGroups": []
- },
- {
- "type": "array of strings",
- "description": "The list of team slugs with dismissal access
",
- "items": {
- "type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s with dismissal access",
- "childParamsGroups": []
- }
- ]
- },
- {
- "parentName": "bypass_pull_request_allowances",
- "parentType": "object",
- "id": "bypass_pull_request_allowances-object",
- "params": [
- {
- "type": "array of strings",
- "description": "The list of user logins allowed to bypass pull request requirements.
",
- "items": {
- "type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s allowed to bypass pull request requirements.",
- "childParamsGroups": []
- },
- {
- "type": "array of strings",
- "description": "The list of team slugs allowed to bypass pull request requirements.
",
- "items": {
- "type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s allowed to bypass pull request requirements.",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ "childParamsGroups": []
},
{
"type": "object or null",
"description": "Required. Restrict who can push to the protected branch. User, app, and team restrictions are only available for organization-owned repositories. Set to null to disable.
",
- "nullable": true,
"properties": {
"users": {
- "type": "array of strings",
- "description": "Required. The list of user logins with push access
",
+ "type": "array",
+ "description": "The list of user `login`s with push access",
"items": {
"type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s with push access",
- "childParamsGroups": []
+ }
},
"teams": {
- "type": "array of strings",
- "description": "Required. The list of team slugs with push access
",
+ "type": "array",
+ "description": "The list of team `slug`s with push access",
"items": {
"type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s with push access",
- "childParamsGroups": []
+ }
},
"apps": {
- "type": "array of strings",
- "description": "The list of app slugs with push access
",
+ "type": "array",
+ "description": "The list of app `slug`s with push access",
"items": {
"type": "string"
- },
- "name": "apps",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of app `slug`s with push access",
- "childParamsGroups": []
+ }
}
},
"required": [
@@ -21656,53 +20631,12 @@
],
"name": "restrictions",
"in": "body",
- "rawType": "object",
+ "rawType": [
+ "object",
+ "null"
+ ],
"rawDescription": "Restrict who can push to the protected branch. User, app, and team `restrictions` are only available for organization-owned repositories. Set to `null` to disable.",
- "childParamsGroups": [
- {
- "parentName": "restrictions",
- "parentType": "object",
- "id": "restrictions-object",
- "params": [
- {
- "type": "array of strings",
- "description": "Required. The list of user logins with push access
",
- "items": {
- "type": "string"
- },
- "name": "users",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of user `login`s with push access",
- "childParamsGroups": []
- },
- {
- "type": "array of strings",
- "description": "Required. The list of team slugs with push access
",
- "items": {
- "type": "string"
- },
- "name": "teams",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of team `slug`s with push access",
- "childParamsGroups": []
- },
- {
- "type": "array of strings",
- "description": "The list of app slugs with push access
",
- "items": {
- "type": "string"
- },
- "name": "apps",
- "in": "body",
- "rawType": "array",
- "rawDescription": "The list of app `slug`s with push access",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ "childParamsGroups": []
},
{
"type": "boolean",
@@ -21716,10 +20650,12 @@
{
"type": "boolean or null",
"description": "Permits force pushes to the protected branch by anyone with write access to the repository. Set to true to allow force pushes. Set to false or null to block force pushes. Default: false. For more information, see \"Enabling force pushes to a protected branch\" in the GitHub Help documentation.\"
",
- "nullable": true,
"name": "allow_force_pushes",
"in": "body",
- "rawType": "boolean",
+ "rawType": [
+ "boolean",
+ "null"
+ ],
"rawDescription": "Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see \"[Enabling force pushes to a protected branch](https://docs.github.com/en/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)\" in the GitHub Help documentation.\"",
"childParamsGroups": []
},
@@ -30428,8 +29364,10 @@
"in": "query",
"required": false,
"schema": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data."
},
"descriptionHTML": "The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in their analysis data. You can specify the tool by using either tool_guid or tool_name, but not both.
"
@@ -30720,7 +29658,6 @@
"dismissed_reason": {
"type": "string or null",
"description": "Required when the state is dismissed. The reason for dismissing or closing the alert. Can be one of: false positive, won't fix, and used in tests.
",
- "nullable": true,
"enum": [
null,
"false positive",
@@ -30729,7 +29666,10 @@
],
"name": "dismissed_reason",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "**Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
"childParamsGroups": []
}
@@ -30793,7 +29733,6 @@
{
"type": "string or null",
"description": "Required when the state is dismissed. The reason for dismissing or closing the alert. Can be one of: false positive, won't fix, and used in tests.
",
- "nullable": true,
"enum": [
null,
"false positive",
@@ -30802,7 +29741,10 @@
],
"name": "dismissed_reason",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "**Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
"childParamsGroups": []
}
@@ -30960,8 +29902,10 @@
"in": "query",
"required": false,
"schema": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data."
},
"descriptionHTML": "The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in their analysis data. You can specify the tool by using either tool_guid or tool_name, but not both.
"
@@ -31005,7 +29949,9 @@
"schema": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
+ "examples": [
+ "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
+ ]
},
"descriptionHTML": "Filter analyses belonging to the same SARIF upload.
"
}
@@ -31171,8 +30117,10 @@
"description": "Allow deletion if the specified analysis is the last in a set. If you attempt to delete the final analysis in a set without setting this parameter to `true`, you'll get a 400 response with the message: `Analysis is last of its type and deletion may result in the loss of historical alert data. Please specify confirm_delete.`",
"required": false,
"schema": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"descriptionHTML": "Allow deletion if the specified analysis is the last in a set. If you attempt to delete the final analysis in a set without setting this parameter to true, you'll get a 400 response with the message: Analysis is last of its type and deletion may result in the loss of historical alert data. Please specify confirm_delete.
"
}
@@ -31300,9 +30248,11 @@
},
"checkout_uri": {
"description": "The base directory used in the analysis, as it appears in the SARIF file.\nThis property is used to convert file paths from absolute to relative, so that alerts can be mapped to their correct location in the repository.
",
- "example": "file:///github/workspace/",
"type": "string",
"format": "uri",
+ "examples": [
+ "file:///github/workspace/"
+ ],
"name": "checkout_uri",
"in": "body",
"rawType": "string",
@@ -31412,9 +30362,11 @@
},
{
"description": "The base directory used in the analysis, as it appears in the SARIF file.\nThis property is used to convert file paths from absolute to relative, so that alerts can be mapped to their correct location in the repository.
",
- "example": "file:///github/workspace/",
"type": "string",
"format": "uri",
+ "examples": [
+ "file:///github/workspace/"
+ ],
"name": "checkout_uri",
"in": "body",
"rawType": "string",
@@ -31757,8 +30709,10 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"ref": {
"description": "Git ref (typically a branch name) for this codespace
",
@@ -31971,8 +30925,10 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"location": {
"description": "Location for this codespace. Assigned by IP if not provided
",
@@ -33233,7 +32189,9 @@
"in": "query",
"schema": {
"type": "string",
- "example": "WestUs2"
+ "examples": [
+ "WestUs2"
+ ]
},
"descriptionHTML": "The location to check for available machines. Assigned by IP if not provided.
"
}
@@ -34255,7 +33213,9 @@
},
"permissions": {
"type": "string",
- "example": "\"push\"",
+ "examples": [
+ "\"push\""
+ ],
"name": "permissions",
"in": "body",
"rawType": "string",
@@ -34320,7 +33280,9 @@
},
{
"type": "string",
- "example": "\"push\"",
+ "examples": [
+ "\"push\""
+ ],
"name": "permissions",
"in": "body",
"rawType": "string",
@@ -37835,9 +36797,11 @@
"in": "query",
"required": false,
"schema": {
- "type": "string",
- "default": "none",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "default": "none"
},
"descriptionHTML": "The name of the environment that was deployed to (e.g., staging or production).
"
},
@@ -38007,10 +36971,12 @@
"type": "string or null",
"description": "Short description of the deployment.
",
"default": "",
- "nullable": true,
"name": "description",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "Short description of the deployment.",
"childParamsGroups": []
},
@@ -38171,10 +37137,12 @@
"type": "string or null",
"description": "Short description of the deployment.
",
"default": "",
- "nullable": true,
"name": "description",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "Short description of the deployment.",
"childParamsGroups": []
},
@@ -38511,13 +37479,17 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"wait_timer": {
"type": "integer",
- "example": 30,
"description": "The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days).
",
+ "examples": [
+ 30
+ ],
"name": "wait_timer",
"in": "body",
"rawType": "integer",
@@ -38526,74 +37498,37 @@
},
"reviewers": {
"type": "array of objects or null",
- "nullable": true,
"description": "The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.
",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
- "description": "The type of reviewer. Must be one of: User or Team
",
+ "description": "The type of reviewer. Must be one of: `User` or `Team`",
"enum": [
"User",
"Team"
],
- "example": "User",
- "name": "type",
- "in": "body",
- "rawType": "string",
- "rawDescription": "The type of reviewer. Must be one of: `User` or `Team`",
- "childParamsGroups": []
+ "examples": [
+ "User"
+ ]
},
"id": {
"type": "integer",
- "description": "The id of the user or team who can review the deployment
",
- "example": 4532992,
- "name": "id",
- "in": "body",
- "rawType": "integer",
- "rawDescription": "The id of the user or team who can review the deployment",
- "childParamsGroups": []
+ "description": "The id of the user or team who can review the deployment",
+ "examples": [
+ 4532992
+ ]
}
}
},
"name": "reviewers",
"in": "body",
- "rawType": "array",
+ "rawType": [
+ "null"
+ ],
"rawDescription": "The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.",
- "childParamsGroups": [
- {
- "parentName": "reviewers",
- "parentType": "items",
- "id": "reviewers-items",
- "params": [
- {
- "type": "string",
- "description": "The type of reviewer. Must be one of: User or Team
",
- "enum": [
- "User",
- "Team"
- ],
- "example": "User",
- "name": "type",
- "in": "body",
- "rawType": "string",
- "rawDescription": "The type of reviewer. Must be one of: `User` or `Team`",
- "childParamsGroups": []
- },
- {
- "type": "integer",
- "description": "The id of the user or team who can review the deployment
",
- "example": 4532992,
- "name": "id",
- "in": "body",
- "rawType": "integer",
- "rawDescription": "The id of the user or team who can review the deployment",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ "childParamsGroups": []
},
"deployment_branch_policy": {
"type": "object or null",
@@ -38601,59 +37536,25 @@
"properties": {
"protected_branches": {
"type": "boolean",
- "description": "Required. Whether only branches with branch protection rules can deploy to this environment. If protected_branches is true, custom_branch_policies must be false; if protected_branches is false, custom_branch_policies must be true.
",
- "name": "protected_branches",
- "in": "body",
- "rawType": "boolean",
- "rawDescription": "Whether only branches with branch protection rules can deploy to this environment. If `protected_branches` is `true`, `custom_branch_policies` must be `false`; if `protected_branches` is `false`, `custom_branch_policies` must be `true`.",
- "childParamsGroups": []
+ "description": "Whether only branches with branch protection rules can deploy to this environment. If `protected_branches` is `true`, `custom_branch_policies` must be `false`; if `protected_branches` is `false`, `custom_branch_policies` must be `true`."
},
"custom_branch_policies": {
"type": "boolean",
- "description": "Required. Whether only branches that match the specified name patterns can deploy to this environment. If custom_branch_policies is true, protected_branches must be false; if custom_branch_policies is false, protected_branches must be true.
",
- "name": "custom_branch_policies",
- "in": "body",
- "rawType": "boolean",
- "rawDescription": "Whether only branches that match the specified name patterns can deploy to this environment. If `custom_branch_policies` is `true`, `protected_branches` must be `false`; if `custom_branch_policies` is `false`, `protected_branches` must be `true`.",
- "childParamsGroups": []
+ "description": "Whether only branches that match the specified name patterns can deploy to this environment. If `custom_branch_policies` is `true`, `protected_branches` must be `false`; if `custom_branch_policies` is `false`, `protected_branches` must be `true`."
}
},
- "nullable": true,
"required": [
"protected_branches",
"custom_branch_policies"
],
"name": "deployment_branch_policy",
"in": "body",
- "rawType": "object",
+ "rawType": [
+ "object",
+ "null"
+ ],
"rawDescription": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.",
- "childParamsGroups": [
- {
- "parentName": "deployment_branch_policy",
- "parentType": "object",
- "id": "deployment_branch_policy-object",
- "params": [
- {
- "type": "boolean",
- "description": "Required. Whether only branches with branch protection rules can deploy to this environment. If protected_branches is true, custom_branch_policies must be false; if protected_branches is false, custom_branch_policies must be true.
",
- "name": "protected_branches",
- "in": "body",
- "rawType": "boolean",
- "rawDescription": "Whether only branches with branch protection rules can deploy to this environment. If `protected_branches` is `true`, `custom_branch_policies` must be `false`; if `protected_branches` is `false`, `custom_branch_policies` must be `true`.",
- "childParamsGroups": []
- },
- {
- "type": "boolean",
- "description": "Required. Whether only branches that match the specified name patterns can deploy to this environment. If custom_branch_policies is true, protected_branches must be false; if custom_branch_policies is false, protected_branches must be true.
",
- "name": "custom_branch_policies",
- "in": "body",
- "rawType": "boolean",
- "rawDescription": "Whether only branches that match the specified name patterns can deploy to this environment. If `custom_branch_policies` is `true`, `protected_branches` must be `false`; if `custom_branch_policies` is `false`, `protected_branches` must be `true`.",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ "childParamsGroups": []
}
},
"additionalProperties": false
@@ -38687,8 +37588,10 @@
"bodyParameters": [
{
"type": "integer",
- "example": 30,
"description": "The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days).
",
+ "examples": [
+ 30
+ ],
"name": "wait_timer",
"in": "body",
"rawType": "integer",
@@ -38697,74 +37600,37 @@
},
{
"type": "array of objects or null",
- "nullable": true,
"description": "The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.
",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
- "description": "The type of reviewer. Must be one of: User or Team
",
+ "description": "The type of reviewer. Must be one of: `User` or `Team`",
"enum": [
"User",
"Team"
],
- "example": "User",
- "name": "type",
- "in": "body",
- "rawType": "string",
- "rawDescription": "The type of reviewer. Must be one of: `User` or `Team`",
- "childParamsGroups": []
+ "examples": [
+ "User"
+ ]
},
"id": {
"type": "integer",
- "description": "The id of the user or team who can review the deployment
",
- "example": 4532992,
- "name": "id",
- "in": "body",
- "rawType": "integer",
- "rawDescription": "The id of the user or team who can review the deployment",
- "childParamsGroups": []
+ "description": "The id of the user or team who can review the deployment",
+ "examples": [
+ 4532992
+ ]
}
}
},
"name": "reviewers",
"in": "body",
- "rawType": "array",
+ "rawType": [
+ "null"
+ ],
"rawDescription": "The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.",
- "childParamsGroups": [
- {
- "parentName": "reviewers",
- "parentType": "items",
- "id": "reviewers-items",
- "params": [
- {
- "type": "string",
- "description": "The type of reviewer. Must be one of: User or Team
",
- "enum": [
- "User",
- "Team"
- ],
- "example": "User",
- "name": "type",
- "in": "body",
- "rawType": "string",
- "rawDescription": "The type of reviewer. Must be one of: `User` or `Team`",
- "childParamsGroups": []
- },
- {
- "type": "integer",
- "description": "The id of the user or team who can review the deployment
",
- "example": 4532992,
- "name": "id",
- "in": "body",
- "rawType": "integer",
- "rawDescription": "The id of the user or team who can review the deployment",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ "childParamsGroups": []
},
{
"type": "object or null",
@@ -38772,59 +37638,25 @@
"properties": {
"protected_branches": {
"type": "boolean",
- "description": "Required. Whether only branches with branch protection rules can deploy to this environment. If protected_branches is true, custom_branch_policies must be false; if protected_branches is false, custom_branch_policies must be true.
",
- "name": "protected_branches",
- "in": "body",
- "rawType": "boolean",
- "rawDescription": "Whether only branches with branch protection rules can deploy to this environment. If `protected_branches` is `true`, `custom_branch_policies` must be `false`; if `protected_branches` is `false`, `custom_branch_policies` must be `true`.",
- "childParamsGroups": []
+ "description": "Whether only branches with branch protection rules can deploy to this environment. If `protected_branches` is `true`, `custom_branch_policies` must be `false`; if `protected_branches` is `false`, `custom_branch_policies` must be `true`."
},
"custom_branch_policies": {
"type": "boolean",
- "description": "Required. Whether only branches that match the specified name patterns can deploy to this environment. If custom_branch_policies is true, protected_branches must be false; if custom_branch_policies is false, protected_branches must be true.
",
- "name": "custom_branch_policies",
- "in": "body",
- "rawType": "boolean",
- "rawDescription": "Whether only branches that match the specified name patterns can deploy to this environment. If `custom_branch_policies` is `true`, `protected_branches` must be `false`; if `custom_branch_policies` is `false`, `protected_branches` must be `true`.",
- "childParamsGroups": []
+ "description": "Whether only branches that match the specified name patterns can deploy to this environment. If `custom_branch_policies` is `true`, `protected_branches` must be `false`; if `custom_branch_policies` is `false`, `protected_branches` must be `true`."
}
},
- "nullable": true,
"required": [
"protected_branches",
"custom_branch_policies"
],
"name": "deployment_branch_policy",
"in": "body",
- "rawType": "object",
+ "rawType": [
+ "object",
+ "null"
+ ],
"rawDescription": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.",
- "childParamsGroups": [
- {
- "parentName": "deployment_branch_policy",
- "parentType": "object",
- "id": "deployment_branch_policy-object",
- "params": [
- {
- "type": "boolean",
- "description": "Required. Whether only branches with branch protection rules can deploy to this environment. If protected_branches is true, custom_branch_policies must be false; if protected_branches is false, custom_branch_policies must be true.
",
- "name": "protected_branches",
- "in": "body",
- "rawType": "boolean",
- "rawDescription": "Whether only branches with branch protection rules can deploy to this environment. If `protected_branches` is `true`, `custom_branch_policies` must be `false`; if `protected_branches` is `false`, `custom_branch_policies` must be `true`.",
- "childParamsGroups": []
- },
- {
- "type": "boolean",
- "description": "Required. Whether only branches that match the specified name patterns can deploy to this environment. If custom_branch_policies is true, protected_branches must be false; if custom_branch_policies is false, protected_branches must be true.
",
- "name": "custom_branch_policies",
- "in": "body",
- "rawType": "boolean",
- "rawDescription": "Whether only branches that match the specified name patterns can deploy to this environment. If `custom_branch_policies` is `true`, `protected_branches` must be `false`; if `custom_branch_policies` is `false`, `protected_branches` must be `true`.",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ "childParamsGroups": []
}
]
},
@@ -42024,8 +40856,10 @@
"properties": {
"description": {
"description": "Description of the gist
",
- "example": "Example Ruby script",
"type": "string",
+ "examples": [
+ "Example Ruby script"
+ ],
"name": "description",
"in": "body",
"rawType": "string",
@@ -42034,11 +40868,6 @@
},
"files": {
"description": "Required. Names and content for the files that make up the gist
",
- "example": {
- "hello.rb": {
- "content": "puts \"Hello, World!\""
- }
- },
"type": "object",
"additionalProperties": {
"type": "object",
@@ -42053,6 +40882,13 @@
"content"
]
},
+ "examples": [
+ {
+ "hello.rb": {
+ "content": "puts \"Hello, World!\""
+ }
+ }
+ ],
"name": "files",
"in": "body",
"rawType": "object",
@@ -42063,17 +40899,21 @@
"oneOf": [
{
"description": "Flag indicating whether the gist is public",
- "example": true,
"type": "boolean",
- "default": false
+ "default": false,
+ "examples": [
+ true
+ ]
},
{
"type": "string",
- "example": "true",
"default": "false",
"enum": [
"true",
"false"
+ ],
+ "examples": [
+ "true"
]
}
],
@@ -42132,8 +40972,10 @@
"bodyParameters": [
{
"description": "Description of the gist
",
- "example": "Example Ruby script",
"type": "string",
+ "examples": [
+ "Example Ruby script"
+ ],
"name": "description",
"in": "body",
"rawType": "string",
@@ -42142,11 +40984,6 @@
},
{
"description": "Required. Names and content for the files that make up the gist
",
- "example": {
- "hello.rb": {
- "content": "puts \"Hello, World!\""
- }
- },
"type": "object",
"additionalProperties": {
"type": "object",
@@ -42161,6 +40998,13 @@
"content"
]
},
+ "examples": [
+ {
+ "hello.rb": {
+ "content": "puts \"Hello, World!\""
+ }
+ }
+ ],
"name": "files",
"in": "body",
"rawType": "object",
@@ -42171,17 +41015,21 @@
"oneOf": [
{
"description": "Flag indicating whether the gist is public",
- "example": true,
"type": "boolean",
- "default": false
+ "default": false,
+ "examples": [
+ true
+ ]
},
{
"type": "string",
- "example": "true",
"default": "false",
"enum": [
"true",
"false"
+ ],
+ "examples": [
+ "true"
]
}
],
@@ -42453,8 +41301,10 @@
"properties": {
"description": {
"description": "Description of the gist
",
- "example": "Example Ruby script",
"type": "string",
+ "examples": [
+ "Example Ruby script"
+ ],
"name": "description",
"in": "body",
"rawType": "string",
@@ -42463,16 +41313,12 @@
},
"files": {
"description": "Names of files to be updated
",
- "example": {
- "hello.rb": {
- "content": "blah",
- "filename": "goodbye.rb"
- }
- },
"type": "object",
"additionalProperties": {
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"content": {
"description": "The new content of the file",
@@ -42480,8 +41326,10 @@
},
"filename": {
"description": "The new filename for the file",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"anyOf": [
@@ -42501,6 +41349,14 @@
}
]
},
+ "examples": [
+ {
+ "hello.rb": {
+ "content": "blah",
+ "filename": "goodbye.rb"
+ }
+ }
+ ],
"name": "files",
"in": "body",
"rawType": "object",
@@ -42520,8 +41376,10 @@
]
}
],
- "type": "object",
- "nullable": true
+ "type": [
+ "object",
+ "null"
+ ]
}
}
}
@@ -42556,8 +41414,10 @@
"bodyParameters": [
{
"description": "Description of the gist
",
- "example": "Example Ruby script",
"type": "string",
+ "examples": [
+ "Example Ruby script"
+ ],
"name": "description",
"in": "body",
"rawType": "string",
@@ -42566,16 +41426,12 @@
},
{
"description": "Names of files to be updated
",
- "example": {
- "hello.rb": {
- "content": "blah",
- "filename": "goodbye.rb"
- }
- },
"type": "object",
"additionalProperties": {
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"content": {
"description": "The new content of the file",
@@ -42583,8 +41439,10 @@
},
"filename": {
"description": "The new filename for the file",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"anyOf": [
@@ -42604,6 +41462,14 @@
}
]
},
+ "examples": [
+ {
+ "hello.rb": {
+ "content": "blah",
+ "filename": "goodbye.rb"
+ }
+ }
+ ],
"name": "files",
"in": "body",
"rawType": "object",
@@ -43351,7 +42217,9 @@
"description": "Required. The comment text.
",
"type": "string",
"maxLength": 65535,
- "example": "Body of the attachment",
+ "examples": [
+ "Body of the attachment"
+ ],
"name": "body",
"in": "body",
"rawType": "string",
@@ -43405,7 +42273,9 @@
"description": "Required. The comment text.
",
"type": "string",
"maxLength": 65535,
- "example": "Body of the attachment",
+ "examples": [
+ "Body of the attachment"
+ ],
"name": "body",
"in": "body",
"rawType": "string",
@@ -43531,7 +42401,9 @@
"description": "Required. The comment text.
",
"type": "string",
"maxLength": 65535,
- "example": "Body of the attachment",
+ "examples": [
+ "Body of the attachment"
+ ],
"name": "body",
"in": "body",
"rawType": "string",
@@ -43575,7 +42447,9 @@
"description": "Required. The comment text.
",
"type": "string",
"maxLength": 65535,
- "example": "Body of the attachment",
+ "examples": [
+ "Body of the attachment"
+ ],
"name": "body",
"in": "body",
"rawType": "string",
@@ -44638,7 +43512,9 @@
},
"key": {
"type": "string",
- "example": "\"refs/heads/newbranch\"",
+ "examples": [
+ "\"refs/heads/newbranch\""
+ ],
"name": "key",
"in": "body",
"rawType": "string",
@@ -44702,7 +43578,9 @@
},
{
"type": "string",
- "example": "\"refs/heads/newbranch\"",
+ "examples": [
+ "\"refs/heads/newbranch\""
+ ],
"name": "key",
"in": "body",
"rawType": "string",
@@ -45398,10 +44276,12 @@
"sha": {
"type": "string or null",
"description": "The SHA1 checksum ID of the object in the tree. Also called tree.sha. If the value is null then the file will be deleted.
\nNote: Use either tree.sha or content to specify the contents of the entry. Using both tree.sha and content will return an error.
",
- "nullable": true,
"name": "sha",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "The SHA1 checksum ID of the object in the tree. Also called `tree.sha`. If the value is `null` then the file will be deleted. \n \n**Note:** Use either `tree.sha` or `content` to specify the contents of the entry. Using both `tree.sha` and `content` will return an error.",
"childParamsGroups": []
},
@@ -45468,10 +44348,12 @@
{
"type": "string or null",
"description": "The SHA1 checksum ID of the object in the tree. Also called tree.sha. If the value is null then the file will be deleted.
\nNote: Use either tree.sha or content to specify the contents of the entry. Using both tree.sha and content will return an error.
",
- "nullable": true,
"name": "sha",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "The SHA1 checksum ID of the object in the tree. Also called `tree.sha`. If the value is `null` then the file will be deleted. \n \n**Note:** Use either `tree.sha` or `content` to specify the contents of the entry. Using both `tree.sha` and `content` will return an error.",
"childParamsGroups": []
},
@@ -45598,10 +44480,12 @@
"sha": {
"type": "string or null",
"description": "The SHA1 checksum ID of the object in the tree. Also called tree.sha. If the value is null then the file will be deleted.
\nNote: Use either tree.sha or content to specify the contents of the entry. Using both tree.sha and content will return an error.
",
- "nullable": true,
"name": "sha",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "The SHA1 checksum ID of the object in the tree. Also called `tree.sha`. If the value is `null` then the file will be deleted. \n \n**Note:** Use either `tree.sha` or `content` to specify the contents of the entry. Using both `tree.sha` and `content` will return an error.",
"childParamsGroups": []
},
@@ -45668,10 +44552,12 @@
{
"type": "string or null",
"description": "The SHA1 checksum ID of the object in the tree. Also called tree.sha. If the value is null then the file will be deleted.
\nNote: Use either tree.sha or content to specify the contents of the entry. Using both tree.sha and content will return an error.
",
- "nullable": true,
"name": "sha",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "The SHA1 checksum ID of the object in the tree. Also called `tree.sha`. If the value is `null` then the file will be deleted. \n \n**Note:** Use either `tree.sha` or `content` to specify the contents of the entry. Using both `tree.sha` and `content` will return an error.",
"childParamsGroups": []
},
@@ -45969,12 +44855,14 @@
"limit": {
"type": "string",
"description": "Required. The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect. Can be one of: existing_users, contributors_only, collaborators_only.
",
- "example": "collaborators_only",
"enum": [
"existing_users",
"contributors_only",
"collaborators_only"
],
+ "examples": [
+ "collaborators_only"
+ ],
"name": "limit",
"in": "body",
"rawType": "string",
@@ -45984,7 +44872,6 @@
"expiry": {
"type": "string",
"description": "The duration of the interaction restriction. Can be one of: one_day, three_days, one_week, one_month, six_months. Default: one_day.
",
- "example": "one_month",
"enum": [
"one_day",
"three_days",
@@ -45992,6 +44879,9 @@
"one_month",
"six_months"
],
+ "examples": [
+ "one_month"
+ ],
"name": "expiry",
"in": "body",
"rawType": "string",
@@ -46033,12 +44923,14 @@
{
"type": "string",
"description": "Required. The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect. Can be one of: existing_users, contributors_only, collaborators_only.
",
- "example": "collaborators_only",
"enum": [
"existing_users",
"contributors_only",
"collaborators_only"
],
+ "examples": [
+ "collaborators_only"
+ ],
"name": "limit",
"in": "body",
"rawType": "string",
@@ -46048,7 +44940,6 @@
{
"type": "string",
"description": "The duration of the interaction restriction. Can be one of: one_day, three_days, one_week, one_month, six_months. Default: one_day.
",
- "example": "one_month",
"enum": [
"one_day",
"three_days",
@@ -46056,6 +44947,9 @@
"one_month",
"six_months"
],
+ "examples": [
+ "one_month"
+ ],
"name": "expiry",
"in": "body",
"rawType": "string",
@@ -46210,12 +45104,14 @@
"limit": {
"type": "string",
"description": "Required. The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect. Can be one of: existing_users, contributors_only, collaborators_only.
",
- "example": "collaborators_only",
"enum": [
"existing_users",
"contributors_only",
"collaborators_only"
],
+ "examples": [
+ "collaborators_only"
+ ],
"name": "limit",
"in": "body",
"rawType": "string",
@@ -46225,7 +45121,6 @@
"expiry": {
"type": "string",
"description": "The duration of the interaction restriction. Can be one of: one_day, three_days, one_week, one_month, six_months. Default: one_day.
",
- "example": "one_month",
"enum": [
"one_day",
"three_days",
@@ -46233,6 +45128,9 @@
"one_month",
"six_months"
],
+ "examples": [
+ "one_month"
+ ],
"name": "expiry",
"in": "body",
"rawType": "string",
@@ -46274,12 +45172,14 @@
{
"type": "string",
"description": "Required. The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect. Can be one of: existing_users, contributors_only, collaborators_only.
",
- "example": "collaborators_only",
"enum": [
"existing_users",
"contributors_only",
"collaborators_only"
],
+ "examples": [
+ "collaborators_only"
+ ],
"name": "limit",
"in": "body",
"rawType": "string",
@@ -46289,7 +45189,6 @@
{
"type": "string",
"description": "The duration of the interaction restriction. Can be one of: one_day, three_days, one_week, one_month, six_months. Default: one_day.
",
- "example": "one_month",
"enum": [
"one_day",
"three_days",
@@ -46297,6 +45196,9 @@
"one_month",
"six_months"
],
+ "examples": [
+ "one_month"
+ ],
"name": "expiry",
"in": "body",
"rawType": "string",
@@ -46432,12 +45334,14 @@
"limit": {
"type": "string",
"description": "Required. The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect. Can be one of: existing_users, contributors_only, collaborators_only.
",
- "example": "collaborators_only",
"enum": [
"existing_users",
"contributors_only",
"collaborators_only"
],
+ "examples": [
+ "collaborators_only"
+ ],
"name": "limit",
"in": "body",
"rawType": "string",
@@ -46447,7 +45351,6 @@
"expiry": {
"type": "string",
"description": "The duration of the interaction restriction. Can be one of: one_day, three_days, one_week, one_month, six_months. Default: one_day.
",
- "example": "one_month",
"enum": [
"one_day",
"three_days",
@@ -46455,6 +45358,9 @@
"one_month",
"six_months"
],
+ "examples": [
+ "one_month"
+ ],
"name": "expiry",
"in": "body",
"rawType": "string",
@@ -46496,12 +45402,14 @@
{
"type": "string",
"description": "Required. The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect. Can be one of: existing_users, contributors_only, collaborators_only.
",
- "example": "collaborators_only",
"enum": [
"existing_users",
"contributors_only",
"collaborators_only"
],
+ "examples": [
+ "collaborators_only"
+ ],
"name": "limit",
"in": "body",
"rawType": "string",
@@ -46511,7 +45419,6 @@
{
"type": "string",
"description": "The duration of the interaction restriction. Can be one of: one_day, three_days, one_week, one_month, six_months. Default: one_day.
",
- "example": "one_month",
"enum": [
"one_day",
"three_days",
@@ -46519,6 +45426,9 @@
"one_month",
"six_months"
],
+ "examples": [
+ "one_month"
+ ],
"name": "expiry",
"in": "body",
"rawType": "string",
@@ -47182,10 +46092,12 @@
"assignee": {
"type": "string or null",
"description": "Login for the user that this issue should be assigned to. NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. This field is deprecated.
",
- "nullable": true,
"name": "assignee",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_",
"childParamsGroups": []
},
@@ -47199,10 +46111,14 @@
"description": "The `number` of the milestone to associate this issue with. _NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise._"
}
],
- "nullable": true,
+ "type": "string or integer or null or string or integer",
"name": "milestone",
"in": "body",
- "type": "string or integer or or null",
+ "rawType": [
+ "null",
+ "string",
+ "integer"
+ ],
"description": "The number of the milestone to associate this issue with. NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise.
",
"childParamsGroups": []
},
@@ -47224,12 +46140,16 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"color": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
}
@@ -47344,10 +46264,12 @@
{
"type": "string or null",
"description": "Login for the user that this issue should be assigned to. NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. This field is deprecated.
",
- "nullable": true,
"name": "assignee",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_",
"childParamsGroups": []
},
@@ -47361,10 +46283,14 @@
"description": "The `number` of the milestone to associate this issue with. _NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise._"
}
],
- "nullable": true,
+ "type": "string or integer or null or string or integer",
"name": "milestone",
"in": "body",
- "type": "string or integer or or null",
+ "rawType": [
+ "null",
+ "string",
+ "integer"
+ ],
"description": "The number of the milestone to associate this issue with. NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise.
",
"childParamsGroups": []
},
@@ -47386,12 +46312,16 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"color": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
}
@@ -47563,30 +46493,38 @@
}
],
"description": "The title of the issue.
",
- "nullable": true,
+ "type": "string or integer or null or string or integer",
"name": "title",
"in": "body",
- "type": "string or integer or or null",
+ "rawType": [
+ "null",
+ "string",
+ "integer"
+ ],
"rawDescription": "The title of the issue.",
"childParamsGroups": []
},
"body": {
"type": "string or null",
"description": "The contents of the issue.
",
- "nullable": true,
"name": "body",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "The contents of the issue.",
"childParamsGroups": []
},
"assignee": {
"type": "string or null",
- "nullable": true,
"description": "Login for the user that this issue should be assigned to. This field is deprecated.
",
"name": "assignee",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "Login for the user that this issue should be assigned to. **This field is deprecated.**",
"childParamsGroups": []
},
@@ -47613,10 +46551,14 @@
"description": "The `number` of the milestone to associate this issue with or `null` to remove current. _NOTE: Only users with push access can set the milestone for issues. The milestone is silently dropped otherwise._"
}
],
- "nullable": true,
+ "type": "string or integer or null or string or integer",
"name": "milestone",
"in": "body",
- "type": "string or integer or or null",
+ "rawType": [
+ "null",
+ "string",
+ "integer"
+ ],
"description": "The number of the milestone to associate this issue with or null to remove current. NOTE: Only users with push access can set the milestone for issues. The milestone is silently dropped otherwise.
",
"childParamsGroups": []
},
@@ -47638,12 +46580,16 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"color": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
}
@@ -47742,30 +46688,38 @@
}
],
"description": "The title of the issue.
",
- "nullable": true,
+ "type": "string or integer or null or string or integer",
"name": "title",
"in": "body",
- "type": "string or integer or or null",
+ "rawType": [
+ "null",
+ "string",
+ "integer"
+ ],
"rawDescription": "The title of the issue.",
"childParamsGroups": []
},
{
"type": "string or null",
"description": "The contents of the issue.
",
- "nullable": true,
"name": "body",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "The contents of the issue.",
"childParamsGroups": []
},
{
"type": "string or null",
- "nullable": true,
"description": "Login for the user that this issue should be assigned to. This field is deprecated.
",
"name": "assignee",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "Login for the user that this issue should be assigned to. **This field is deprecated.**",
"childParamsGroups": []
},
@@ -47792,10 +46746,14 @@
"description": "The `number` of the milestone to associate this issue with or `null` to remove current. _NOTE: Only users with push access can set the milestone for issues. The milestone is silently dropped otherwise._"
}
],
- "nullable": true,
+ "type": "string or integer or null or string or integer",
"name": "milestone",
"in": "body",
- "type": "string or integer or or null",
+ "rawType": [
+ "null",
+ "string",
+ "integer"
+ ],
"description": "The number of the milestone to associate this issue with or null to remove current. NOTE: Only users with push access can set the milestone for issues. The milestone is silently dropped otherwise.
",
"childParamsGroups": []
},
@@ -47817,12 +46775,16 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"color": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
}
@@ -47898,8 +46860,10 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"lock_reason": {
"type": "string",
@@ -51472,8 +50436,10 @@
"gfm"
],
"default": "markdown",
- "example": "markdown",
"type": "string",
+ "examples": [
+ "markdown"
+ ],
"name": "mode",
"in": "body",
"rawType": "string",
@@ -51536,8 +50502,10 @@
"gfm"
],
"default": "markdown",
- "example": "markdown",
"type": "string",
+ "examples": [
+ "markdown"
+ ],
"name": "mode",
"in": "body",
"rawType": "string",
@@ -52452,8 +51420,10 @@
"enum": [
"repositories"
],
- "example": "repositories",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "repositories"
+ ]
}
},
"descriptionHTML": "Exclude attributes from the API response to improve performance
"
@@ -52536,9 +51506,11 @@
},
"lock_repositories": {
"type": "boolean",
- "example": true,
"description": "Indicates whether repositories should be locked (to prevent manipulation) while migrating data.
",
"default": false,
+ "examples": [
+ true
+ ],
"name": "lock_repositories",
"in": "body",
"rawType": "boolean",
@@ -52547,9 +51519,11 @@
},
"exclude_attachments": {
"type": "boolean",
- "example": true,
"description": "Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).
",
"default": false,
+ "examples": [
+ true
+ ],
"name": "exclude_attachments",
"in": "body",
"rawType": "boolean",
@@ -52558,9 +51532,11 @@
},
"exclude_releases": {
"type": "boolean",
- "example": true,
"description": "Indicates whether releases should be excluded from the migration (to reduce migration archive file size).
",
"default": false,
+ "examples": [
+ true
+ ],
"name": "exclude_releases",
"in": "body",
"rawType": "boolean",
@@ -52569,9 +51545,11 @@
},
"exclude_owner_projects": {
"type": "boolean",
- "example": true,
"description": "Indicates whether projects owned by the organization or users should be excluded. from the migration.
",
"default": false,
+ "examples": [
+ true
+ ],
"name": "exclude_owner_projects",
"in": "body",
"rawType": "boolean",
@@ -52649,9 +51627,11 @@
},
{
"type": "boolean",
- "example": true,
"description": "Indicates whether repositories should be locked (to prevent manipulation) while migrating data.
",
"default": false,
+ "examples": [
+ true
+ ],
"name": "lock_repositories",
"in": "body",
"rawType": "boolean",
@@ -52660,9 +51640,11 @@
},
{
"type": "boolean",
- "example": true,
"description": "Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).
",
"default": false,
+ "examples": [
+ true
+ ],
"name": "exclude_attachments",
"in": "body",
"rawType": "boolean",
@@ -52671,9 +51653,11 @@
},
{
"type": "boolean",
- "example": true,
"description": "Indicates whether releases should be excluded from the migration (to reduce migration archive file size).
",
"default": false,
+ "examples": [
+ true
+ ],
"name": "exclude_releases",
"in": "body",
"rawType": "boolean",
@@ -52682,9 +51666,11 @@
},
{
"type": "boolean",
- "example": true,
"description": "Indicates whether projects owned by the organization or users should be excluded. from the migration.
",
"default": false,
+ "examples": [
+ true
+ ],
"name": "exclude_owner_projects",
"in": "body",
"rawType": "boolean",
@@ -52741,8 +51727,10 @@
"enum": [
"repositories"
],
- "example": "repositories",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "repositories"
+ ]
}
},
"descriptionHTML": "Exclude attributes from the API response to improve performance
"
@@ -53339,7 +52327,10 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"vcs_username": {
"type": "string",
@@ -53368,7 +52359,9 @@
"git",
"mercurial"
],
- "example": "\"git\"",
+ "examples": [
+ "\"git\""
+ ],
"name": "vcs",
"in": "body",
"rawType": "string",
@@ -53378,15 +52371,16 @@
"tfvc_project": {
"type": "string",
"description": "For a tfvc import, the name of the project that is being imported.
",
- "example": "\"project1\"",
+ "examples": [
+ "\"project1\""
+ ],
"name": "tfvc_project",
"in": "body",
"rawType": "string",
"rawDescription": "For a tfvc import, the name of the project that is being imported.",
"childParamsGroups": []
}
- },
- "nullable": true
+ }
},
"examples": {
"example-1": {
@@ -53469,7 +52463,9 @@
"git",
"mercurial"
],
- "example": "\"git\"",
+ "examples": [
+ "\"git\""
+ ],
"name": "vcs",
"in": "body",
"rawType": "string",
@@ -53479,7 +52475,9 @@
{
"type": "string",
"description": "For a tfvc import, the name of the project that is being imported.
",
- "example": "\"project1\"",
+ "examples": [
+ "\"project1\""
+ ],
"name": "tfvc_project",
"in": "body",
"rawType": "string",
@@ -53991,9 +52989,11 @@
"properties": {
"lock_repositories": {
"description": "Lock the repositories being migrated at the start of the migration
",
- "example": true,
"readOnly": false,
"type": "boolean",
+ "examples": [
+ true
+ ],
"name": "lock_repositories",
"in": "body",
"rawType": "boolean",
@@ -54002,9 +53002,11 @@
},
"exclude_attachments": {
"description": "Do not include attachments in the migration
",
- "example": true,
"readOnly": false,
"type": "boolean",
+ "examples": [
+ true
+ ],
"name": "exclude_attachments",
"in": "body",
"rawType": "boolean",
@@ -54013,9 +53015,11 @@
},
"exclude_releases": {
"description": "Do not include releases in the migration
",
- "example": true,
"readOnly": false,
"type": "boolean",
+ "examples": [
+ true
+ ],
"name": "exclude_releases",
"in": "body",
"rawType": "boolean",
@@ -54024,9 +53028,11 @@
},
"exclude_owner_projects": {
"description": "Indicates whether projects owned by the organization or users should be excluded.
",
- "example": true,
"readOnly": false,
"type": "boolean",
+ "examples": [
+ true
+ ],
"name": "exclude_owner_projects",
"in": "body",
"rawType": "boolean",
@@ -54035,9 +53041,6 @@
},
"exclude": {
"description": "Exclude attributes from the API response to improve performance
",
- "example": [
- "repositories"
- ],
"readOnly": false,
"type": "array of strings",
"items": {
@@ -54045,9 +53048,14 @@
"enum": [
"repositories"
],
- "example": "repositories",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "repositories"
+ ]
},
+ "examples": [
+ "repositories"
+ ],
"name": "exclude",
"in": "body",
"rawType": "array",
@@ -54058,8 +53066,10 @@
"type": "array of strings",
"items": {
"description": "Repository path, owner and name",
- "example": "acme/widgets",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "acme/widgets"
+ ]
},
"name": "repositories",
"in": "body",
@@ -54117,9 +53127,11 @@
"bodyParameters": [
{
"description": "Lock the repositories being migrated at the start of the migration
",
- "example": true,
"readOnly": false,
"type": "boolean",
+ "examples": [
+ true
+ ],
"name": "lock_repositories",
"in": "body",
"rawType": "boolean",
@@ -54128,9 +53140,11 @@
},
{
"description": "Do not include attachments in the migration
",
- "example": true,
"readOnly": false,
"type": "boolean",
+ "examples": [
+ true
+ ],
"name": "exclude_attachments",
"in": "body",
"rawType": "boolean",
@@ -54139,9 +53153,11 @@
},
{
"description": "Do not include releases in the migration
",
- "example": true,
"readOnly": false,
"type": "boolean",
+ "examples": [
+ true
+ ],
"name": "exclude_releases",
"in": "body",
"rawType": "boolean",
@@ -54150,9 +53166,11 @@
},
{
"description": "Indicates whether projects owned by the organization or users should be excluded.
",
- "example": true,
"readOnly": false,
"type": "boolean",
+ "examples": [
+ true
+ ],
"name": "exclude_owner_projects",
"in": "body",
"rawType": "boolean",
@@ -54161,9 +53179,6 @@
},
{
"description": "Exclude attributes from the API response to improve performance
",
- "example": [
- "repositories"
- ],
"readOnly": false,
"type": "array of strings",
"items": {
@@ -54171,9 +53186,14 @@
"enum": [
"repositories"
],
- "example": "repositories",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "repositories"
+ ]
},
+ "examples": [
+ "repositories"
+ ],
"name": "exclude",
"in": "body",
"rawType": "array",
@@ -54184,8 +53204,10 @@
"type": "array of strings",
"items": {
"description": "Repository path, owner and name",
- "example": "acme/widgets",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "acme/widgets"
+ ]
},
"name": "repositories",
"in": "body",
@@ -54881,21 +53903,24 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"public_repo",
"user"
],
- "nullable": true,
"name": "scopes",
"in": "body",
- "rawType": "array",
+ "rawType": [
+ "null"
+ ],
"rawDescription": "A list of scopes that this authorization is in.",
"childParamsGroups": []
},
"note": {
"description": "A note to remind you what the OAuth token is for.
",
"type": "string",
- "example": "Update all gems",
+ "examples": [
+ "Update all gems"
+ ],
"name": "note",
"in": "body",
"rawType": "string",
@@ -54997,21 +54022,24 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"public_repo",
"user"
],
- "nullable": true,
"name": "scopes",
"in": "body",
- "rawType": "array",
+ "rawType": [
+ "null"
+ ],
"rawDescription": "A list of scopes that this authorization is in.",
"childParamsGroups": []
},
{
"description": "A note to remind you what the OAuth token is for.
",
"type": "string",
- "example": "Update all gems",
+ "examples": [
+ "Update all gems"
+ ],
"name": "note",
"in": "body",
"rawType": "string",
@@ -55112,21 +54140,24 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"public_repo",
"user"
],
- "nullable": true,
"name": "scopes",
"in": "body",
- "rawType": "array",
+ "rawType": [
+ "null"
+ ],
"rawDescription": "A list of scopes that this authorization is in.",
"childParamsGroups": []
},
"note": {
"description": "A note to remind you what the OAuth token is for.
",
"type": "string",
- "example": "Update all gems",
+ "examples": [
+ "Update all gems"
+ ],
"name": "note",
"in": "body",
"rawType": "string",
@@ -55223,21 +54254,24 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"public_repo",
"user"
],
- "nullable": true,
"name": "scopes",
"in": "body",
- "rawType": "array",
+ "rawType": [
+ "null"
+ ],
"rawDescription": "A list of scopes that this authorization is in.",
"childParamsGroups": []
},
{
"description": "A note to remind you what the OAuth token is for.
",
"type": "string",
- "example": "Update all gems",
+ "examples": [
+ "Update all gems"
+ ],
"name": "note",
"in": "body",
"rawType": "string",
@@ -55327,21 +54361,24 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"public_repo",
"user"
],
- "nullable": true,
"name": "scopes",
"in": "body",
- "rawType": "array",
+ "rawType": [
+ "null"
+ ],
"rawDescription": "A list of scopes that this authorization is in.",
"childParamsGroups": []
},
"note": {
"description": "A note to remind you what the OAuth token is for.
",
"type": "string",
- "example": "Update all gems",
+ "examples": [
+ "Update all gems"
+ ],
"name": "note",
"in": "body",
"rawType": "string",
@@ -55414,21 +54451,24 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"public_repo",
"user"
],
- "nullable": true,
"name": "scopes",
"in": "body",
- "rawType": "array",
+ "rawType": [
+ "null"
+ ],
"rawDescription": "A list of scopes that this authorization is in.",
"childParamsGroups": []
},
{
"description": "A note to remind you what the OAuth token is for.
",
"type": "string",
- "example": "Update all gems",
+ "examples": [
+ "Update all gems"
+ ],
"name": "note",
"in": "body",
"rawType": "string",
@@ -55550,14 +54590,15 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"public_repo",
"user"
],
- "nullable": true,
"name": "scopes",
"in": "body",
- "rawType": "array",
+ "rawType": [
+ "null"
+ ],
"rawDescription": "A list of scopes that this authorization is in.",
"childParamsGroups": []
},
@@ -55588,7 +54629,9 @@
"note": {
"description": "A note to remind you what the OAuth token is for.
",
"type": "string",
- "example": "Update all gems",
+ "examples": [
+ "Update all gems"
+ ],
"name": "note",
"in": "body",
"rawType": "string",
@@ -55650,14 +54693,15 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"public_repo",
"user"
],
- "nullable": true,
"name": "scopes",
"in": "body",
- "rawType": "array",
+ "rawType": [
+ "null"
+ ],
"rawDescription": "A list of scopes that this authorization is in.",
"childParamsGroups": []
},
@@ -55688,7 +54732,9 @@
{
"description": "A note to remind you what the OAuth token is for.
",
"type": "string",
- "example": "Update all gems",
+ "examples": [
+ "Update all gems"
+ ],
"name": "note",
"in": "body",
"rawType": "string",
@@ -56116,7 +55162,9 @@
},
"blog": {
"type": "string",
- "example": "\"http://github.blog\"",
+ "examples": [
+ "\"http://github.blog\""
+ ],
"name": "blog",
"in": "body",
"rawType": "string",
@@ -56358,7 +55406,9 @@
},
{
"type": "string",
- "example": "\"http://github.blog\"",
+ "examples": [
+ "\"http://github.blog\""
+ ],
"name": "blog",
"in": "body",
"rawType": "string",
@@ -58806,8 +57856,10 @@
"url": {
"type": "string",
"description": "Required. The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -58817,7 +57869,9 @@
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -58827,7 +57881,9 @@
"secret": {
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -58839,7 +57895,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -58853,7 +57911,9 @@
},
"username": {
"type": "string",
- "example": "\"kdaigle\"",
+ "examples": [
+ "\"kdaigle\""
+ ],
"name": "username",
"in": "body",
"rawType": "string",
@@ -58862,7 +57922,9 @@
},
"password": {
"type": "string",
- "example": "\"password\"",
+ "examples": [
+ "\"password\""
+ ],
"name": "password",
"in": "body",
"rawType": "string",
@@ -58886,8 +57948,10 @@
{
"type": "string",
"description": "Required. The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -58897,7 +57961,9 @@
{
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -58907,7 +57973,9 @@
{
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -58919,7 +57987,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -58933,7 +58003,9 @@
},
{
"type": "string",
- "example": "\"kdaigle\"",
+ "examples": [
+ "\"kdaigle\""
+ ],
"name": "username",
"in": "body",
"rawType": "string",
@@ -58942,7 +58014,9 @@
},
{
"type": "string",
- "example": "\"password\"",
+ "examples": [
+ "\"password\""
+ ],
"name": "password",
"in": "body",
"rawType": "string",
@@ -59044,8 +58118,10 @@
"url": {
"type": "string",
"description": "Required. The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -59055,7 +58131,9 @@
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -59065,7 +58143,9 @@
"secret": {
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -59077,7 +58157,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -59091,7 +58173,9 @@
},
"username": {
"type": "string",
- "example": "\"kdaigle\"",
+ "examples": [
+ "\"kdaigle\""
+ ],
"name": "username",
"in": "body",
"rawType": "string",
@@ -59100,7 +58184,9 @@
},
"password": {
"type": "string",
- "example": "\"password\"",
+ "examples": [
+ "\"password\""
+ ],
"name": "password",
"in": "body",
"rawType": "string",
@@ -59124,8 +58210,10 @@
{
"type": "string",
"description": "Required. The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -59135,7 +58223,9 @@
{
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -59145,7 +58235,9 @@
{
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -59157,7 +58249,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -59171,7 +58265,9 @@
},
{
"type": "string",
- "example": "\"kdaigle\"",
+ "examples": [
+ "\"kdaigle\""
+ ],
"name": "username",
"in": "body",
"rawType": "string",
@@ -59180,7 +58276,9 @@
},
{
"type": "string",
- "example": "\"password\"",
+ "examples": [
+ "\"password\""
+ ],
"name": "password",
"in": "body",
"rawType": "string",
@@ -59325,8 +58423,10 @@
"url": {
"type": "string",
"description": "Required. The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -59336,7 +58436,9 @@
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -59346,7 +58448,9 @@
"secret": {
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -59358,7 +58462,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -59387,8 +58493,10 @@
{
"type": "string",
"description": "Required. The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -59398,7 +58506,9 @@
{
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -59408,7 +58518,9 @@
{
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -59420,7 +58532,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -59463,7 +58577,9 @@
},
"name": {
"type": "string",
- "example": "\"web\"",
+ "examples": [
+ "\"web\""
+ ],
"name": "name",
"in": "body",
"rawType": "string",
@@ -59517,8 +58633,10 @@
"url": {
"type": "string",
"description": "Required. The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -59528,7 +58646,9 @@
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -59538,7 +58658,9 @@
"secret": {
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -59550,7 +58672,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -59579,8 +58703,10 @@
{
"type": "string",
"description": "Required. The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -59590,7 +58716,9 @@
{
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -59600,7 +58728,9 @@
{
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -59612,7 +58742,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -59655,7 +58787,9 @@
},
{
"type": "string",
- "example": "\"web\"",
+ "examples": [
+ "\"web\""
+ ],
"name": "name",
"in": "body",
"rawType": "string",
@@ -59820,8 +58954,10 @@
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -59831,7 +58967,9 @@
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -59841,7 +58979,9 @@
"secret": {
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -59853,7 +58993,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -59899,8 +59041,10 @@
{
"type": "string",
"description": "The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -59910,7 +59054,9 @@
{
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -59920,7 +59066,9 @@
{
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -59932,7 +59080,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -62457,9 +61607,11 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"description": "The source branch and directory used to publish your Pages site.",
- "nullable": true,
"properties": {
"source": {
"type": "object",
@@ -62686,10 +61838,12 @@
"cname": {
"type": "string or null",
"description": "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.\"
",
- "nullable": true,
"name": "cname",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "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](https://docs.github.com/articles/using-a-custom-domain-with-github-pages/).\"",
"childParamsGroups": []
},
@@ -62815,10 +61969,12 @@
{
"type": "string or null",
"description": "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.\"
",
- "nullable": true,
"name": "cname",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "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](https://docs.github.com/articles/using-a-custom-domain-with-github-pages/).\"",
"childParamsGroups": []
},
@@ -63574,8 +62730,10 @@
"properties": {
"name": {
"description": "Name of the project
",
- "example": "Week One Sprint",
"type": "string",
+ "examples": [
+ "Week One Sprint"
+ ],
"name": "name",
"in": "body",
"rawType": "string",
@@ -63584,19 +62742,25 @@
},
"body": {
"description": "Body of the project
",
- "example": "This project represents the sprint of the first week in January",
"type": "string or null",
- "nullable": true,
+ "examples": [
+ "This project represents the sprint of the first week in January"
+ ],
"name": "body",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "Body of the project",
"childParamsGroups": []
},
"state": {
"description": "State of the project; either 'open' or 'closed'
",
- "example": "open",
"type": "string",
+ "examples": [
+ "open"
+ ],
"name": "state",
"in": "body",
"rawType": "string",
@@ -63683,8 +62847,10 @@
"bodyParameters": [
{
"description": "Name of the project
",
- "example": "Week One Sprint",
"type": "string",
+ "examples": [
+ "Week One Sprint"
+ ],
"name": "name",
"in": "body",
"rawType": "string",
@@ -63693,19 +62859,25 @@
},
{
"description": "Body of the project
",
- "example": "This project represents the sprint of the first week in January",
"type": "string or null",
- "nullable": true,
+ "examples": [
+ "This project represents the sprint of the first week in January"
+ ],
"name": "body",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "Body of the project",
"childParamsGroups": []
},
{
"description": "State of the project; either 'open' or 'closed'
",
- "example": "open",
"type": "string",
+ "examples": [
+ "open"
+ ],
"name": "state",
"in": "body",
"rawType": "string",
@@ -64081,8 +63253,10 @@
"properties": {
"name": {
"description": "Required. Name of the project
",
- "example": "Week One Sprint",
"type": "string",
+ "examples": [
+ "Week One Sprint"
+ ],
"name": "name",
"in": "body",
"rawType": "string",
@@ -64091,12 +63265,16 @@
},
"body": {
"description": "Body of the project
",
- "example": "This project represents the sprint of the first week in January",
"type": "string or null",
- "nullable": true,
+ "examples": [
+ "This project represents the sprint of the first week in January"
+ ],
"name": "body",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "Body of the project",
"childParamsGroups": []
}
@@ -64154,8 +63332,10 @@
"bodyParameters": [
{
"description": "Required. Name of the project
",
- "example": "Week One Sprint",
"type": "string",
+ "examples": [
+ "Week One Sprint"
+ ],
"name": "name",
"in": "body",
"rawType": "string",
@@ -64164,12 +63344,16 @@
},
{
"description": "Body of the project
",
- "example": "This project represents the sprint of the first week in January",
"type": "string or null",
- "nullable": true,
+ "examples": [
+ "This project represents the sprint of the first week in January"
+ ],
"name": "body",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "Body of the project",
"childParamsGroups": []
}
@@ -64365,19 +63549,25 @@
"properties": {
"note": {
"description": "The project card's note
",
- "example": "Update all gems",
"type": "string or null",
- "nullable": true,
+ "examples": [
+ "Update all gems"
+ ],
"name": "note",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "The project card's note",
"childParamsGroups": []
},
"archived": {
"description": "Whether or not the card is archived
",
- "example": false,
"type": "boolean",
+ "examples": [
+ false
+ ],
"name": "archived",
"in": "body",
"rawType": "boolean",
@@ -64435,19 +63625,25 @@
"bodyParameters": [
{
"description": "The project card's note
",
- "example": "Update all gems",
"type": "string or null",
- "nullable": true,
+ "examples": [
+ "Update all gems"
+ ],
"name": "note",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "The project card's note",
"childParamsGroups": []
},
{
"description": "Whether or not the card is archived
",
- "example": false,
"type": "boolean",
+ "examples": [
+ false
+ ],
"name": "archived",
"in": "body",
"rawType": "boolean",
@@ -64555,9 +63751,11 @@
"properties": {
"position": {
"description": "Required. The position of the card in a column. Can be one of: top, bottom, or after:<card_id> to place after the specified card.
",
- "example": "bottom",
"type": "string",
"pattern": "^(?:top|bottom|after:\\d+)$",
+ "examples": [
+ "bottom"
+ ],
"name": "position",
"in": "body",
"rawType": "string",
@@ -64566,8 +63764,10 @@
},
"column_id": {
"description": "The unique identifier of the column the card should be moved to
",
- "example": 42,
"type": "integer",
+ "examples": [
+ 42
+ ],
"name": "column_id",
"in": "body",
"rawType": "integer",
@@ -64628,9 +63828,11 @@
"bodyParameters": [
{
"description": "Required. The position of the card in a column. Can be one of: top, bottom, or after:<card_id> to place after the specified card.
",
- "example": "bottom",
"type": "string",
"pattern": "^(?:top|bottom|after:\\d+)$",
+ "examples": [
+ "bottom"
+ ],
"name": "position",
"in": "body",
"rawType": "string",
@@ -64639,8 +63841,10 @@
},
{
"description": "The unique identifier of the column the card should be moved to
",
- "example": 42,
"type": "integer",
+ "examples": [
+ 42
+ ],
"name": "column_id",
"in": "body",
"rawType": "integer",
@@ -64783,19 +63987,25 @@
"properties": {
"note": {
"description": "Required. The project card's note
",
- "example": "Update all gems",
"type": "string or null",
- "nullable": true,
+ "examples": [
+ "Update all gems"
+ ],
"name": "note",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "The project card's note",
"childParamsGroups": []
},
"content_id": {
"description": "Required. The unique identifier of the content associated with the card
",
- "example": 42,
"type": "integer",
+ "examples": [
+ 42
+ ],
"name": "content_id",
"in": "body",
"rawType": "integer",
@@ -64804,8 +64014,10 @@
},
"content_type": {
"description": "Required. The piece of content associated with the card
",
- "example": "PullRequest",
"type": "string",
+ "examples": [
+ "PullRequest"
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -64822,8 +64034,10 @@
"properties": {
"content_id": {
"description": "Required. The unique identifier of the content associated with the card
",
- "example": 42,
"type": "integer",
+ "examples": [
+ 42
+ ],
"name": "content_id",
"in": "body",
"rawType": "integer",
@@ -64832,8 +64046,10 @@
},
"content_type": {
"description": "Required. The piece of content associated with the card
",
- "example": "PullRequest",
"type": "string",
+ "examples": [
+ "PullRequest"
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -64897,19 +64113,25 @@
"bodyParameters": [
{
"description": "Required. The project card's note
",
- "example": "Update all gems",
"type": "string or null",
- "nullable": true,
+ "examples": [
+ "Update all gems"
+ ],
"name": "note",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "The project card's note",
"childParamsGroups": []
},
{
"description": "Required. The unique identifier of the content associated with the card
",
- "example": 42,
"type": "integer",
+ "examples": [
+ 42
+ ],
"name": "content_id",
"in": "body",
"rawType": "integer",
@@ -64918,8 +64140,10 @@
},
{
"description": "Required. The piece of content associated with the card
",
- "example": "PullRequest",
"type": "string",
+ "examples": [
+ "PullRequest"
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -65075,7 +64299,10 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"permission": {
"description": "The permission to grant the collaborator.
",
@@ -65085,16 +64312,17 @@
"admin"
],
"default": "write",
- "example": "write",
"type": "string",
+ "examples": [
+ "write"
+ ],
"name": "permission",
"in": "body",
"rawType": "string",
"rawDescription": "The permission to grant the collaborator.",
"childParamsGroups": []
}
- },
- "nullable": true
+ }
}
}
}
@@ -65150,8 +64378,10 @@
"admin"
],
"default": "write",
- "example": "write",
"type": "string",
+ "examples": [
+ "write"
+ ],
"name": "permission",
"in": "body",
"rawType": "string",
@@ -65419,8 +64649,10 @@
"properties": {
"name": {
"description": "Required. Name of the project column
",
- "example": "Remaining tasks",
"type": "string",
+ "examples": [
+ "Remaining tasks"
+ ],
"name": "name",
"in": "body",
"rawType": "string",
@@ -65472,8 +64704,10 @@
"bodyParameters": [
{
"description": "Required. Name of the project column
",
- "example": "Remaining tasks",
"type": "string",
+ "examples": [
+ "Remaining tasks"
+ ],
"name": "name",
"in": "body",
"rawType": "string",
@@ -65576,9 +64810,11 @@
"properties": {
"position": {
"description": "Required. The position of the column in a project. Can be one of: first, last, or after:<column_id> to place after the specified column.
",
- "example": "last",
"type": "string",
"pattern": "^(?:first|last|after:\\d+)$",
+ "examples": [
+ "last"
+ ],
"name": "position",
"in": "body",
"rawType": "string",
@@ -65634,9 +64870,11 @@
"bodyParameters": [
{
"description": "Required. The position of the column in a project. Can be one of: first, last, or after:<column_id> to place after the specified column.
",
- "example": "last",
"type": "string",
"pattern": "^(?:first|last|after:\\d+)$",
+ "examples": [
+ "last"
+ ],
"name": "position",
"in": "body",
"rawType": "string",
@@ -65758,8 +64996,10 @@
"properties": {
"name": {
"description": "Required. Name of the project column
",
- "example": "Remaining tasks",
"type": "string",
+ "examples": [
+ "Remaining tasks"
+ ],
"name": "name",
"in": "body",
"rawType": "string",
@@ -65816,8 +65056,10 @@
"bodyParameters": [
{
"description": "Required. Name of the project column
",
- "example": "Remaining tasks",
"type": "string",
+ "examples": [
+ "Remaining tasks"
+ ],
"name": "name",
"in": "body",
"rawType": "string",
@@ -66078,7 +65320,9 @@
},
"issue": {
"type": "integer",
- "example": 1,
+ "examples": [
+ 1
+ ],
"name": "issue",
"in": "body",
"rawType": "integer",
@@ -66185,7 +65429,9 @@
},
{
"type": "integer",
- "example": 1,
+ "examples": [
+ 1
+ ],
"name": "issue",
"in": "body",
"rawType": "integer",
@@ -66754,8 +66000,10 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"commit_title": {
"type": "string",
@@ -66941,8 +66189,10 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"expected_head_sha": {
"type": "string",
@@ -67610,8 +66860,10 @@
},
"in_reply_to": {
"type": "integer",
- "example": 2,
"description": "The ID of the review comment to reply to. To find the ID of a review comment with \"List review comments on a pull request\". When specified, all parameters other than body in the request body are ignored.
",
+ "examples": [
+ 2
+ ],
"name": "in_reply_to",
"in": "body",
"rawType": "integer",
@@ -67753,8 +67005,10 @@
},
{
"type": "integer",
- "example": 2,
"description": "The ID of the review comment to reply to. To find the ID of a review comment with \"List review comments on a pull request\". When specified, all parameters other than body in the request body are ignored.
",
+ "examples": [
+ 2
+ ],
"name": "in_reply_to",
"in": "body",
"rawType": "integer",
@@ -68464,7 +67718,9 @@
},
"line": {
"type": "integer",
- "example": 28,
+ "examples": [
+ 28
+ ],
"name": "line",
"in": "body",
"rawType": "integer",
@@ -68473,7 +67729,9 @@
},
"side": {
"type": "string",
- "example": "RIGHT",
+ "examples": [
+ "RIGHT"
+ ],
"name": "side",
"in": "body",
"rawType": "string",
@@ -68482,7 +67740,9 @@
},
"start_line": {
"type": "integer",
- "example": 26,
+ "examples": [
+ 26
+ ],
"name": "start_line",
"in": "body",
"rawType": "integer",
@@ -68491,7 +67751,9 @@
},
"start_side": {
"type": "string",
- "example": "LEFT",
+ "examples": [
+ "LEFT"
+ ],
"name": "start_side",
"in": "body",
"rawType": "string",
@@ -68543,7 +67805,9 @@
},
{
"type": "integer",
- "example": 28,
+ "examples": [
+ 28
+ ],
"name": "line",
"in": "body",
"rawType": "integer",
@@ -68552,7 +67816,9 @@
},
{
"type": "string",
- "example": "RIGHT",
+ "examples": [
+ "RIGHT"
+ ],
"name": "side",
"in": "body",
"rawType": "string",
@@ -68561,7 +67827,9 @@
},
{
"type": "integer",
- "example": 26,
+ "examples": [
+ 26
+ ],
"name": "start_line",
"in": "body",
"rawType": "integer",
@@ -68570,7 +67838,9 @@
},
{
"type": "string",
- "example": "LEFT",
+ "examples": [
+ "LEFT"
+ ],
"name": "start_side",
"in": "body",
"rawType": "string",
@@ -68695,7 +67965,9 @@
},
"line": {
"type": "integer",
- "example": 28,
+ "examples": [
+ 28
+ ],
"name": "line",
"in": "body",
"rawType": "integer",
@@ -68704,7 +67976,9 @@
},
"side": {
"type": "string",
- "example": "RIGHT",
+ "examples": [
+ "RIGHT"
+ ],
"name": "side",
"in": "body",
"rawType": "string",
@@ -68713,7 +67987,9 @@
},
"start_line": {
"type": "integer",
- "example": 26,
+ "examples": [
+ 26
+ ],
"name": "start_line",
"in": "body",
"rawType": "integer",
@@ -68722,7 +67998,9 @@
},
"start_side": {
"type": "string",
- "example": "LEFT",
+ "examples": [
+ "LEFT"
+ ],
"name": "start_side",
"in": "body",
"rawType": "string",
@@ -68774,7 +68052,9 @@
},
{
"type": "integer",
- "example": 28,
+ "examples": [
+ 28
+ ],
"name": "line",
"in": "body",
"rawType": "integer",
@@ -68783,7 +68063,9 @@
},
{
"type": "string",
- "example": "RIGHT",
+ "examples": [
+ "RIGHT"
+ ],
"name": "side",
"in": "body",
"rawType": "string",
@@ -68792,7 +68074,9 @@
},
{
"type": "integer",
- "example": 26,
+ "examples": [
+ 26
+ ],
"name": "start_line",
"in": "body",
"rawType": "integer",
@@ -68801,7 +68085,9 @@
},
{
"type": "string",
- "example": "LEFT",
+ "examples": [
+ "LEFT"
+ ],
"name": "start_side",
"in": "body",
"rawType": "string",
@@ -69259,7 +68545,9 @@
},
"event": {
"type": "string",
- "example": "\"APPROVE\"",
+ "examples": [
+ "\"APPROVE\""
+ ],
"name": "event",
"in": "body",
"rawType": "string",
@@ -69314,7 +68602,9 @@
},
{
"type": "string",
- "example": "\"APPROVE\"",
+ "examples": [
+ "\"APPROVE\""
+ ],
"name": "event",
"in": "body",
"rawType": "string",
@@ -73301,7 +72591,9 @@
},
"state": {
"type": "string",
- "example": "\"uploaded\"",
+ "examples": [
+ "\"uploaded\""
+ ],
"name": "state",
"in": "body",
"rawType": "string",
@@ -73356,7 +72648,9 @@
},
{
"type": "string",
- "example": "\"uploaded\"",
+ "examples": [
+ "\"uploaded\""
+ ],
"name": "state",
"in": "body",
"rawType": "string",
@@ -74339,292 +73633,46 @@
"security_and_analysis": {
"type": "object or null",
"description": "Specify which security and analysis features to enable or disable. For example, to enable GitHub Advanced Security, use this data in the body of the PATCH request: {\"security_and_analysis\": {\"advanced_security\": {\"status\": \"enabled\"}}}. If you have admin permissions for a private repository covered by an Advanced Security license, you can check which security and analysis features are currently enabled by using a GET /repos/{owner}/{repo} request.
",
- "nullable": true,
"properties": {
"advanced_security": {
"type": "object",
- "description": "Use the status property to enable or disable GitHub Advanced Security for this repository. For more information, see \"About GitHub Advanced Security.\"
",
+ "description": "Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see \"[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security).\"",
"properties": {
"status": {
"type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
+ "description": "Can be `enabled` or `disabled`."
}
- },
- "name": "advanced_security",
- "in": "body",
- "rawType": "object",
- "rawDescription": "Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see \"[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security).\"",
- "childParamsGroups": [
- {
- "parentName": "advanced_security",
- "parentType": "object",
- "id": "advanced_security-object",
- "params": [
- {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ }
},
"secret_scanning": {
"type": "object",
- "description": "Use the status property to enable or disable secret scanning for this repository. For more information, see \"About secret scanning.\"
",
+ "description": "Use the `status` property to enable or disable secret scanning for this repository. For more information, see \"[About secret scanning](/code-security/secret-security/about-secret-scanning).\"",
"properties": {
"status": {
"type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
+ "description": "Can be `enabled` or `disabled`."
}
- },
- "name": "secret_scanning",
- "in": "body",
- "rawType": "object",
- "rawDescription": "Use the `status` property to enable or disable secret scanning for this repository. For more information, see \"[About secret scanning](/code-security/secret-security/about-secret-scanning).\"",
- "childParamsGroups": [
- {
- "parentName": "secret_scanning",
- "parentType": "object",
- "id": "secret_scanning-object",
- "params": [
- {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ }
},
"secret_scanning_push_protection": {
"type": "object",
- "description": "Use the status property to enable or disable secret scanning push protection for this repository. For more information, see \"About push protection.\"
",
+ "description": "Use the `status` property to enable or disable secret scanning push protection for this repository. For more information, see \"[About push protection](/enterprise-cloud@latest/early-access/code-security/secret-scanning/protecting-pushes-with-secret-scanning).\"",
"properties": {
"status": {
"type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
+ "description": "Can be `enabled` or `disabled`."
}
- },
- "name": "secret_scanning_push_protection",
- "in": "body",
- "rawType": "object",
- "rawDescription": "Use the `status` property to enable or disable secret scanning push protection for this repository. For more information, see \"[About push protection](/enterprise-cloud@latest/early-access/code-security/secret-scanning/protecting-pushes-with-secret-scanning).\"",
- "childParamsGroups": [
- {
- "parentName": "secret_scanning_push_protection",
- "parentType": "object",
- "id": "secret_scanning_push_protection-object",
- "params": [
- {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ }
}
},
"name": "security_and_analysis",
"in": "body",
- "rawType": "object",
+ "rawType": [
+ "object",
+ "null"
+ ],
"rawDescription": "Specify which security and analysis features to enable or disable. For example, to enable GitHub Advanced Security, use this data in the body of the PATCH request: `{\"security_and_analysis\": {\"advanced_security\": {\"status\": \"enabled\"}}}`. If you have admin permissions for a private repository covered by an Advanced Security license, you can check which security and analysis features are currently enabled by using a `GET /repos/{owner}/{repo}` request.",
- "childParamsGroups": [
- {
- "parentName": "security_and_analysis",
- "parentType": "object",
- "id": "security_and_analysis-object",
- "params": [
- {
- "type": "object",
- "description": "Use the status property to enable or disable GitHub Advanced Security for this repository. For more information, see \"About GitHub Advanced Security.\"
",
- "properties": {
- "status": {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- },
- "name": "advanced_security",
- "in": "body",
- "rawType": "object",
- "rawDescription": "Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see \"[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security).\"",
- "childParamsGroups": [
- {
- "parentName": "advanced_security",
- "parentType": "object",
- "id": "advanced_security-object",
- "params": [
- {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- ]
- }
- ]
- },
- {
- "type": "object",
- "description": "Use the status property to enable or disable secret scanning for this repository. For more information, see \"About secret scanning.\"
",
- "properties": {
- "status": {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- },
- "name": "secret_scanning",
- "in": "body",
- "rawType": "object",
- "rawDescription": "Use the `status` property to enable or disable secret scanning for this repository. For more information, see \"[About secret scanning](/code-security/secret-security/about-secret-scanning).\"",
- "childParamsGroups": [
- {
- "parentName": "secret_scanning",
- "parentType": "object",
- "id": "secret_scanning-object",
- "params": [
- {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- ]
- }
- ]
- },
- {
- "type": "object",
- "description": "Use the status property to enable or disable secret scanning push protection for this repository. For more information, see \"About push protection.\"
",
- "properties": {
- "status": {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- },
- "name": "secret_scanning_push_protection",
- "in": "body",
- "rawType": "object",
- "rawDescription": "Use the `status` property to enable or disable secret scanning push protection for this repository. For more information, see \"[About push protection](/enterprise-cloud@latest/early-access/code-security/secret-scanning/protecting-pushes-with-secret-scanning).\"",
- "childParamsGroups": [
- {
- "parentName": "secret_scanning_push_protection",
- "parentType": "object",
- "id": "secret_scanning_push_protection-object",
- "params": [
- {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- ]
- }
- ]
- }
- ]
- },
- {
- "parentName": "advanced_security",
- "parentType": "object",
- "id": "advanced_security-object",
- "params": [
- {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- ]
- },
- {
- "parentName": "secret_scanning",
- "parentType": "object",
- "id": "secret_scanning-object",
- "params": [
- {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- ]
- },
- {
- "parentName": "secret_scanning_push_protection",
- "parentType": "object",
- "id": "secret_scanning_push_protection-object",
- "params": [
- {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ "childParamsGroups": []
},
"has_issues": {
"type": "boolean",
@@ -74851,292 +73899,46 @@
{
"type": "object or null",
"description": "Specify which security and analysis features to enable or disable. For example, to enable GitHub Advanced Security, use this data in the body of the PATCH request: {\"security_and_analysis\": {\"advanced_security\": {\"status\": \"enabled\"}}}. If you have admin permissions for a private repository covered by an Advanced Security license, you can check which security and analysis features are currently enabled by using a GET /repos/{owner}/{repo} request.
",
- "nullable": true,
"properties": {
"advanced_security": {
"type": "object",
- "description": "Use the status property to enable or disable GitHub Advanced Security for this repository. For more information, see \"About GitHub Advanced Security.\"
",
+ "description": "Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see \"[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security).\"",
"properties": {
"status": {
"type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
+ "description": "Can be `enabled` or `disabled`."
}
- },
- "name": "advanced_security",
- "in": "body",
- "rawType": "object",
- "rawDescription": "Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see \"[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security).\"",
- "childParamsGroups": [
- {
- "parentName": "advanced_security",
- "parentType": "object",
- "id": "advanced_security-object",
- "params": [
- {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ }
},
"secret_scanning": {
"type": "object",
- "description": "Use the status property to enable or disable secret scanning for this repository. For more information, see \"About secret scanning.\"
",
+ "description": "Use the `status` property to enable or disable secret scanning for this repository. For more information, see \"[About secret scanning](/code-security/secret-security/about-secret-scanning).\"",
"properties": {
"status": {
"type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
+ "description": "Can be `enabled` or `disabled`."
}
- },
- "name": "secret_scanning",
- "in": "body",
- "rawType": "object",
- "rawDescription": "Use the `status` property to enable or disable secret scanning for this repository. For more information, see \"[About secret scanning](/code-security/secret-security/about-secret-scanning).\"",
- "childParamsGroups": [
- {
- "parentName": "secret_scanning",
- "parentType": "object",
- "id": "secret_scanning-object",
- "params": [
- {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ }
},
"secret_scanning_push_protection": {
"type": "object",
- "description": "Use the status property to enable or disable secret scanning push protection for this repository. For more information, see \"About push protection.\"
",
+ "description": "Use the `status` property to enable or disable secret scanning push protection for this repository. For more information, see \"[About push protection](/enterprise-cloud@latest/early-access/code-security/secret-scanning/protecting-pushes-with-secret-scanning).\"",
"properties": {
"status": {
"type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
+ "description": "Can be `enabled` or `disabled`."
}
- },
- "name": "secret_scanning_push_protection",
- "in": "body",
- "rawType": "object",
- "rawDescription": "Use the `status` property to enable or disable secret scanning push protection for this repository. For more information, see \"[About push protection](/enterprise-cloud@latest/early-access/code-security/secret-scanning/protecting-pushes-with-secret-scanning).\"",
- "childParamsGroups": [
- {
- "parentName": "secret_scanning_push_protection",
- "parentType": "object",
- "id": "secret_scanning_push_protection-object",
- "params": [
- {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ }
}
},
"name": "security_and_analysis",
"in": "body",
- "rawType": "object",
+ "rawType": [
+ "object",
+ "null"
+ ],
"rawDescription": "Specify which security and analysis features to enable or disable. For example, to enable GitHub Advanced Security, use this data in the body of the PATCH request: `{\"security_and_analysis\": {\"advanced_security\": {\"status\": \"enabled\"}}}`. If you have admin permissions for a private repository covered by an Advanced Security license, you can check which security and analysis features are currently enabled by using a `GET /repos/{owner}/{repo}` request.",
- "childParamsGroups": [
- {
- "parentName": "security_and_analysis",
- "parentType": "object",
- "id": "security_and_analysis-object",
- "params": [
- {
- "type": "object",
- "description": "Use the status property to enable or disable GitHub Advanced Security for this repository. For more information, see \"About GitHub Advanced Security.\"
",
- "properties": {
- "status": {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- },
- "name": "advanced_security",
- "in": "body",
- "rawType": "object",
- "rawDescription": "Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see \"[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security).\"",
- "childParamsGroups": [
- {
- "parentName": "advanced_security",
- "parentType": "object",
- "id": "advanced_security-object",
- "params": [
- {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- ]
- }
- ]
- },
- {
- "type": "object",
- "description": "Use the status property to enable or disable secret scanning for this repository. For more information, see \"About secret scanning.\"
",
- "properties": {
- "status": {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- },
- "name": "secret_scanning",
- "in": "body",
- "rawType": "object",
- "rawDescription": "Use the `status` property to enable or disable secret scanning for this repository. For more information, see \"[About secret scanning](/code-security/secret-security/about-secret-scanning).\"",
- "childParamsGroups": [
- {
- "parentName": "secret_scanning",
- "parentType": "object",
- "id": "secret_scanning-object",
- "params": [
- {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- ]
- }
- ]
- },
- {
- "type": "object",
- "description": "Use the status property to enable or disable secret scanning push protection for this repository. For more information, see \"About push protection.\"
",
- "properties": {
- "status": {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- },
- "name": "secret_scanning_push_protection",
- "in": "body",
- "rawType": "object",
- "rawDescription": "Use the `status` property to enable or disable secret scanning push protection for this repository. For more information, see \"[About push protection](/enterprise-cloud@latest/early-access/code-security/secret-scanning/protecting-pushes-with-secret-scanning).\"",
- "childParamsGroups": [
- {
- "parentName": "secret_scanning_push_protection",
- "parentType": "object",
- "id": "secret_scanning_push_protection-object",
- "params": [
- {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- ]
- }
- ]
- }
- ]
- },
- {
- "parentName": "advanced_security",
- "parentType": "object",
- "id": "advanced_security-object",
- "params": [
- {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- ]
- },
- {
- "parentName": "secret_scanning",
- "parentType": "object",
- "id": "secret_scanning-object",
- "params": [
- {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- ]
- },
- {
- "parentName": "secret_scanning_push_protection",
- "parentType": "object",
- "id": "secret_scanning_push_protection-object",
- "params": [
- {
- "type": "string",
- "description": "Can be enabled or disabled.
",
- "name": "status",
- "in": "body",
- "rawType": "string",
- "rawDescription": "Can be `enabled` or `disabled`.",
- "childParamsGroups": []
- }
- ]
- }
- ]
+ "childParamsGroups": []
},
{
"type": "boolean",
@@ -76830,7 +75632,9 @@
"name": {
"description": "Required. The name of the repository.
",
"type": "string",
- "example": "Team Environment",
+ "examples": [
+ "Team Environment"
+ ],
"name": "name",
"in": "body",
"rawType": "string",
@@ -76869,7 +75673,9 @@
"description": "Whether issues are enabled.
",
"default": true,
"type": "boolean",
- "example": true,
+ "examples": [
+ true
+ ],
"name": "has_issues",
"in": "body",
"rawType": "boolean",
@@ -76880,7 +75686,9 @@
"description": "Whether projects are enabled.
",
"default": true,
"type": "boolean",
- "example": true,
+ "examples": [
+ true
+ ],
"name": "has_projects",
"in": "body",
"rawType": "boolean",
@@ -76891,7 +75699,9 @@
"description": "Whether the wiki is enabled.
",
"default": true,
"type": "boolean",
- "example": true,
+ "examples": [
+ true
+ ],
"name": "has_wiki",
"in": "body",
"rawType": "boolean",
@@ -76919,8 +75729,10 @@
},
"gitignore_template": {
"description": "The desired language or platform to apply to the .gitignore.
",
- "example": "Haskell",
"type": "string",
+ "examples": [
+ "Haskell"
+ ],
"name": "gitignore_template",
"in": "body",
"rawType": "string",
@@ -76929,8 +75741,10 @@
},
"license_template": {
"description": "The license keyword of the open source license for this repository.
",
- "example": "mit",
"type": "string",
+ "examples": [
+ "mit"
+ ],
"name": "license_template",
"in": "body",
"rawType": "string",
@@ -76941,7 +75755,9 @@
"description": "Whether to allow squash merges for pull requests.
",
"default": true,
"type": "boolean",
- "example": true,
+ "examples": [
+ true
+ ],
"name": "allow_squash_merge",
"in": "body",
"rawType": "boolean",
@@ -76952,7 +75768,9 @@
"description": "Whether to allow merge commits for pull requests.
",
"default": true,
"type": "boolean",
- "example": true,
+ "examples": [
+ true
+ ],
"name": "allow_merge_commit",
"in": "body",
"rawType": "boolean",
@@ -76963,7 +75781,9 @@
"description": "Whether to allow rebase merges for pull requests.
",
"default": true,
"type": "boolean",
- "example": true,
+ "examples": [
+ true
+ ],
"name": "allow_rebase_merge",
"in": "body",
"rawType": "boolean",
@@ -76974,7 +75794,9 @@
"description": "Whether to allow Auto-merge to be used on pull requests.
",
"default": false,
"type": "boolean",
- "example": false,
+ "examples": [
+ false
+ ],
"name": "allow_auto_merge",
"in": "body",
"rawType": "boolean",
@@ -76985,7 +75807,9 @@
"description": "Whether to delete head branches when pull requests are merged
",
"default": false,
"type": "boolean",
- "example": false,
+ "examples": [
+ false
+ ],
"name": "delete_branch_on_merge",
"in": "body",
"rawType": "boolean",
@@ -76996,7 +75820,9 @@
"description": "Whether downloads are enabled.
",
"default": true,
"type": "boolean",
- "example": true,
+ "examples": [
+ true
+ ],
"name": "has_downloads",
"in": "body",
"rawType": "boolean",
@@ -77007,7 +75833,9 @@
"description": "Whether this repository acts as a template that can be used to generate new repositories.
",
"default": false,
"type": "boolean",
- "example": true,
+ "examples": [
+ true
+ ],
"name": "is_template",
"in": "body",
"rawType": "boolean",
@@ -77074,7 +75902,9 @@
{
"description": "Required. The name of the repository.
",
"type": "string",
- "example": "Team Environment",
+ "examples": [
+ "Team Environment"
+ ],
"name": "name",
"in": "body",
"rawType": "string",
@@ -77113,7 +75943,9 @@
"description": "Whether issues are enabled.
",
"default": true,
"type": "boolean",
- "example": true,
+ "examples": [
+ true
+ ],
"name": "has_issues",
"in": "body",
"rawType": "boolean",
@@ -77124,7 +75956,9 @@
"description": "Whether projects are enabled.
",
"default": true,
"type": "boolean",
- "example": true,
+ "examples": [
+ true
+ ],
"name": "has_projects",
"in": "body",
"rawType": "boolean",
@@ -77135,7 +75969,9 @@
"description": "Whether the wiki is enabled.
",
"default": true,
"type": "boolean",
- "example": true,
+ "examples": [
+ true
+ ],
"name": "has_wiki",
"in": "body",
"rawType": "boolean",
@@ -77163,8 +75999,10 @@
},
{
"description": "The desired language or platform to apply to the .gitignore.
",
- "example": "Haskell",
"type": "string",
+ "examples": [
+ "Haskell"
+ ],
"name": "gitignore_template",
"in": "body",
"rawType": "string",
@@ -77173,8 +76011,10 @@
},
{
"description": "The license keyword of the open source license for this repository.
",
- "example": "mit",
"type": "string",
+ "examples": [
+ "mit"
+ ],
"name": "license_template",
"in": "body",
"rawType": "string",
@@ -77185,7 +76025,9 @@
"description": "Whether to allow squash merges for pull requests.
",
"default": true,
"type": "boolean",
- "example": true,
+ "examples": [
+ true
+ ],
"name": "allow_squash_merge",
"in": "body",
"rawType": "boolean",
@@ -77196,7 +76038,9 @@
"description": "Whether to allow merge commits for pull requests.
",
"default": true,
"type": "boolean",
- "example": true,
+ "examples": [
+ true
+ ],
"name": "allow_merge_commit",
"in": "body",
"rawType": "boolean",
@@ -77207,7 +76051,9 @@
"description": "Whether to allow rebase merges for pull requests.
",
"default": true,
"type": "boolean",
- "example": true,
+ "examples": [
+ true
+ ],
"name": "allow_rebase_merge",
"in": "body",
"rawType": "boolean",
@@ -77218,7 +76064,9 @@
"description": "Whether to allow Auto-merge to be used on pull requests.
",
"default": false,
"type": "boolean",
- "example": false,
+ "examples": [
+ false
+ ],
"name": "allow_auto_merge",
"in": "body",
"rawType": "boolean",
@@ -77229,7 +76077,9 @@
"description": "Whether to delete head branches when pull requests are merged
",
"default": false,
"type": "boolean",
- "example": false,
+ "examples": [
+ false
+ ],
"name": "delete_branch_on_merge",
"in": "body",
"rawType": "boolean",
@@ -77240,7 +76090,9 @@
"description": "Whether downloads are enabled.
",
"default": true,
"type": "boolean",
- "example": true,
+ "examples": [
+ true
+ ],
"name": "has_downloads",
"in": "body",
"rawType": "boolean",
@@ -77251,7 +76103,9 @@
"description": "Whether this repository acts as a template that can be used to generate new repositories.
",
"default": false,
"type": "boolean",
- "example": true,
+ "examples": [
+ true
+ ],
"name": "is_template",
"in": "body",
"rawType": "boolean",
@@ -77914,7 +76768,9 @@
},
"date": {
"type": "string",
- "example": "\"2013-01-05T13:13:22+05:00\"",
+ "examples": [
+ "\"2013-01-05T13:13:22+05:00\""
+ ],
"name": "date",
"in": "body",
"rawType": "string",
@@ -77956,7 +76812,9 @@
},
{
"type": "string",
- "example": "\"2013-01-05T13:13:22+05:00\"",
+ "examples": [
+ "\"2013-01-05T13:13:22+05:00\""
+ ],
"name": "date",
"in": "body",
"rawType": "string",
@@ -77991,7 +76849,9 @@
},
"date": {
"type": "string",
- "example": "\"2013-01-15T17:13:22+05:00\"",
+ "examples": [
+ "\"2013-01-15T17:13:22+05:00\""
+ ],
"name": "date",
"in": "body",
"rawType": "string",
@@ -78033,7 +76893,9 @@
},
{
"type": "string",
- "example": "\"2013-01-15T17:13:22+05:00\"",
+ "examples": [
+ "\"2013-01-15T17:13:22+05:00\""
+ ],
"name": "date",
"in": "body",
"rawType": "string",
@@ -78178,7 +77040,9 @@
},
"date": {
"type": "string",
- "example": "\"2013-01-05T13:13:22+05:00\"",
+ "examples": [
+ "\"2013-01-05T13:13:22+05:00\""
+ ],
"name": "date",
"in": "body",
"rawType": "string",
@@ -78220,7 +77084,9 @@
},
{
"type": "string",
- "example": "\"2013-01-05T13:13:22+05:00\"",
+ "examples": [
+ "\"2013-01-05T13:13:22+05:00\""
+ ],
"name": "date",
"in": "body",
"rawType": "string",
@@ -78255,7 +77121,9 @@
},
"date": {
"type": "string",
- "example": "\"2013-01-15T17:13:22+05:00\"",
+ "examples": [
+ "\"2013-01-15T17:13:22+05:00\""
+ ],
"name": "date",
"in": "body",
"rawType": "string",
@@ -78297,7 +77165,9 @@
},
{
"type": "string",
- "example": "\"2013-01-15T17:13:22+05:00\"",
+ "examples": [
+ "\"2013-01-15T17:13:22+05:00\""
+ ],
"name": "date",
"in": "body",
"rawType": "string",
@@ -79114,8 +77984,10 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"organization": {
"type": "string",
@@ -79426,8 +78298,10 @@
"properties": {
"userName": {
"description": "Required. Configured by the admin. Could be an email, login, or username
",
- "example": "someone@example.com",
"type": "string",
+ "examples": [
+ "someone@example.com"
+ ],
"name": "userName",
"in": "body",
"rawType": "string",
@@ -79436,8 +78310,10 @@
},
"displayName": {
"description": "The name of the user, suitable for display to end-users
",
- "example": "Jon Doe",
"type": "string",
+ "examples": [
+ "Jon Doe"
+ ],
"name": "displayName",
"in": "body",
"rawType": "string",
@@ -79520,16 +78396,6 @@
},
"emails": {
"description": "Required. user emails
",
- "example": [
- {
- "value": "someone@example.com",
- "primary": true
- },
- {
- "value": "another@example.com",
- "primary": false
- }
- ],
"type": "array of objects",
"minItems": 1,
"items": {
@@ -79564,6 +78430,16 @@
"value"
]
},
+ "examples": [
+ {
+ "value": "someone@example.com",
+ "primary": true
+ },
+ {
+ "value": "another@example.com",
+ "primary": false
+ }
+ ],
"name": "emails",
"in": "body",
"rawType": "array",
@@ -79699,8 +78575,10 @@
"bodyParameters": [
{
"description": "Required. Configured by the admin. Could be an email, login, or username
",
- "example": "someone@example.com",
"type": "string",
+ "examples": [
+ "someone@example.com"
+ ],
"name": "userName",
"in": "body",
"rawType": "string",
@@ -79709,8 +78587,10 @@
},
{
"description": "The name of the user, suitable for display to end-users
",
- "example": "Jon Doe",
"type": "string",
+ "examples": [
+ "Jon Doe"
+ ],
"name": "displayName",
"in": "body",
"rawType": "string",
@@ -79793,16 +78673,6 @@
},
{
"description": "Required. user emails
",
- "example": [
- {
- "value": "someone@example.com",
- "primary": true
- },
- {
- "value": "another@example.com",
- "primary": false
- }
- ],
"type": "array of objects",
"minItems": 1,
"items": {
@@ -79837,6 +78707,16 @@
"value"
]
},
+ "examples": [
+ {
+ "value": "someone@example.com",
+ "primary": true
+ },
+ {
+ "value": "another@example.com",
+ "primary": false
+ }
+ ],
"name": "emails",
"in": "body",
"rawType": "array",
@@ -80040,8 +78920,10 @@
},
"displayName": {
"description": "The name of the user, suitable for display to end-users
",
- "example": "Jon Doe",
"type": "string",
+ "examples": [
+ "Jon Doe"
+ ],
"name": "displayName",
"in": "body",
"rawType": "string",
@@ -80077,8 +78959,10 @@
},
"userName": {
"description": "Required. Configured by the admin. Could be an email, login, or username
",
- "example": "someone@example.com",
"type": "string",
+ "examples": [
+ "someone@example.com"
+ ],
"name": "userName",
"in": "body",
"rawType": "string",
@@ -80161,16 +79045,6 @@
},
"emails": {
"description": "Required. user emails
",
- "example": [
- {
- "value": "someone@example.com",
- "primary": true
- },
- {
- "value": "another@example.com",
- "primary": false
- }
- ],
"type": "array of objects",
"minItems": 1,
"items": {
@@ -80205,6 +79079,16 @@
"value"
]
},
+ "examples": [
+ {
+ "value": "someone@example.com",
+ "primary": true
+ },
+ {
+ "value": "another@example.com",
+ "primary": false
+ }
+ ],
"name": "emails",
"in": "body",
"rawType": "array",
@@ -80298,8 +79182,10 @@
},
{
"description": "The name of the user, suitable for display to end-users
",
- "example": "Jon Doe",
"type": "string",
+ "examples": [
+ "Jon Doe"
+ ],
"name": "displayName",
"in": "body",
"rawType": "string",
@@ -80335,8 +79221,10 @@
},
{
"description": "Required. Configured by the admin. Could be an email, login, or username
",
- "example": "someone@example.com",
"type": "string",
+ "examples": [
+ "someone@example.com"
+ ],
"name": "userName",
"in": "body",
"rawType": "string",
@@ -80419,16 +79307,6 @@
},
{
"description": "Required. user emails
",
- "example": [
- {
- "value": "someone@example.com",
- "primary": true
- },
- {
- "value": "another@example.com",
- "primary": false
- }
- ],
"type": "array of objects",
"minItems": 1,
"items": {
@@ -80463,6 +79341,16 @@
"value"
]
},
+ "examples": [
+ {
+ "value": "someone@example.com",
+ "primary": true
+ },
+ {
+ "value": "another@example.com",
+ "primary": false
+ }
+ ],
"name": "emails",
"in": "body",
"rawType": "array",
@@ -80558,14 +79446,6 @@
},
"Operations": {
"description": "Required. Set of operations to be performed
",
- "example": [
- {
- "op": "replace",
- "value": {
- "active": false
- }
- }
- ],
"type": "array of objects",
"minItems": 1,
"items": {
@@ -80598,24 +79478,34 @@
"type": "object",
"properties": {
"active": {
- "type": "boolean",
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ]
},
"userName": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"externalId": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"givenName": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"familyName": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
},
@@ -80648,6 +79538,14 @@
"op"
]
},
+ "examples": [
+ {
+ "op": "replace",
+ "value": {
+ "active": false
+ }
+ }
+ ],
"name": "Operations",
"in": "body",
"rawType": "array",
@@ -80685,24 +79583,34 @@
"type": "object",
"properties": {
"active": {
- "type": "boolean",
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ]
},
"userName": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"externalId": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"givenName": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"familyName": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
},
@@ -80798,14 +79706,6 @@
},
{
"description": "Required. Set of operations to be performed
",
- "example": [
- {
- "op": "replace",
- "value": {
- "active": false
- }
- }
- ],
"type": "array of objects",
"minItems": 1,
"items": {
@@ -80838,24 +79738,34 @@
"type": "object",
"properties": {
"active": {
- "type": "boolean",
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ]
},
"userName": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"externalId": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"givenName": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"familyName": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
},
@@ -80888,6 +79798,14 @@
"op"
]
},
+ "examples": [
+ {
+ "op": "replace",
+ "value": {
+ "active": false
+ }
+ }
+ ],
"name": "Operations",
"in": "body",
"rawType": "array",
@@ -80925,24 +79843,34 @@
"type": "object",
"properties": {
"active": {
- "type": "boolean",
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ]
},
"userName": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"externalId": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"givenName": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"familyName": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
},
@@ -82308,7 +81236,6 @@
"resolution": {
"type": "string or null",
"description": "Required when the state is resolved. The reason for resolving the alert. Can be one of false_positive, wont_fix, revoked, or used_in_tests.
",
- "nullable": true,
"enum": [
null,
"false_positive",
@@ -82318,7 +81245,10 @@
],
"name": "resolution",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "**Required when the `state` is `resolved`.** The reason for resolving the alert. Can be one of `false_positive`, `wont_fix`, `revoked`, or `used_in_tests`.",
"childParamsGroups": []
}
@@ -82382,7 +81312,6 @@
{
"type": "string or null",
"description": "Required when the state is resolved. The reason for resolving the alert. Can be one of false_positive, wont_fix, revoked, or used_in_tests.
",
- "nullable": true,
"enum": [
null,
"false_positive",
@@ -82392,7 +81321,10 @@
],
"name": "resolution",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "**Required when the `state` is `resolved`.** The reason for resolving the alert. Can be one of `false_positive`, `wont_fix`, `revoked`, or `used_in_tests`.",
"childParamsGroups": []
}
@@ -82953,10 +81885,12 @@
"parent_team_id": {
"type": "integer or null",
"description": "The ID of a team to set as the parent team.
",
- "nullable": true,
"name": "parent_team_id",
"in": "body",
- "rawType": "integer",
+ "rawType": [
+ "integer",
+ "null"
+ ],
"rawDescription": "The ID of a team to set as the parent team.",
"childParamsGroups": []
}
@@ -83037,10 +81971,12 @@
{
"type": "integer or null",
"description": "The ID of a team to set as the parent team.
",
- "nullable": true,
"name": "parent_team_id",
"in": "body",
- "rawType": "integer",
+ "rawType": [
+ "integer",
+ "null"
+ ],
"rawDescription": "The ID of a team to set as the parent team.",
"childParamsGroups": []
}
@@ -83294,7 +82230,10 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"permission": {
"type": "string",
@@ -83310,8 +82249,7 @@
"rawDescription": "The permission to grant to the team for this project. Can be one of: \n\\* `read` - team members can read, but not write to or administer this project. \n\\* `write` - team members can read and write, but not administer this project. \n\\* `admin` - team members can read, write and administer this project. \nDefault: the team's `permission` attribute will be used to determine what permission to grant the team on this project. 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](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"",
"childParamsGroups": []
}
- },
- "nullable": true
+ }
}
}
}
@@ -83977,10 +82915,12 @@
"parent_team_id": {
"type": "integer or null",
"description": "The ID of a team to set as the parent team.
",
- "nullable": true,
"name": "parent_team_id",
"in": "body",
- "rawType": "integer",
+ "rawType": [
+ "integer",
+ "null"
+ ],
"rawDescription": "The ID of a team to set as the parent team.",
"childParamsGroups": []
}
@@ -84092,10 +83032,12 @@
{
"type": "integer or null",
"description": "The ID of a team to set as the parent team.
",
- "nullable": true,
"name": "parent_team_id",
"in": "body",
- "rawType": "integer",
+ "rawType": [
+ "integer",
+ "null"
+ ],
"rawDescription": "The ID of a team to set as the parent team.",
"childParamsGroups": []
}
@@ -86980,7 +85922,9 @@
"group_id": {
"type": "integer",
"description": "Required. External Group Id
",
- "example": 1,
+ "examples": [
+ 1
+ ],
"name": "group_id",
"in": "body",
"rawType": "integer",
@@ -87020,7 +85964,9 @@
{
"type": "integer",
"description": "Required. External Group Id
",
- "example": 1,
+ "examples": [
+ 1
+ ],
"name": "group_id",
"in": "body",
"rawType": "integer",
@@ -88575,7 +87521,9 @@
},
"id": {
"type": "string",
- "example": "\"caceab43fc9ffa20081c\"",
+ "examples": [
+ "\"caceab43fc9ffa20081c\""
+ ],
"name": "id",
"in": "body",
"rawType": "string",
@@ -88584,7 +87532,9 @@
},
"name": {
"type": "string",
- "example": "\"external-team-6c13e7288ef7\"",
+ "examples": [
+ "\"external-team-6c13e7288ef7\""
+ ],
"name": "name",
"in": "body",
"rawType": "string",
@@ -88593,7 +87543,9 @@
},
"description": {
"type": "string",
- "example": "\"moar cheese pleese\"",
+ "examples": [
+ "\"moar cheese pleese\""
+ ],
"name": "description",
"in": "body",
"rawType": "string",
@@ -88646,7 +87598,9 @@
},
{
"type": "string",
- "example": "\"caceab43fc9ffa20081c\"",
+ "examples": [
+ "\"caceab43fc9ffa20081c\""
+ ],
"name": "id",
"in": "body",
"rawType": "string",
@@ -88655,7 +87609,9 @@
},
{
"type": "string",
- "example": "\"external-team-6c13e7288ef7\"",
+ "examples": [
+ "\"external-team-6c13e7288ef7\""
+ ],
"name": "name",
"in": "body",
"rawType": "string",
@@ -88664,7 +87620,9 @@
},
{
"type": "string",
- "example": "\"moar cheese pleese\"",
+ "examples": [
+ "\"moar cheese pleese\""
+ ],
"name": "description",
"in": "body",
"rawType": "string",
@@ -88677,7 +87635,9 @@
},
"synced_at": {
"type": "string",
- "example": "\"I am not a timestamp\"",
+ "examples": [
+ "\"I am not a timestamp\""
+ ],
"name": "synced_at",
"in": "body",
"rawType": "string",
@@ -88769,7 +87729,9 @@
},
"id": {
"type": "string",
- "example": "\"caceab43fc9ffa20081c\"",
+ "examples": [
+ "\"caceab43fc9ffa20081c\""
+ ],
"name": "id",
"in": "body",
"rawType": "string",
@@ -88778,7 +87740,9 @@
},
"name": {
"type": "string",
- "example": "\"external-team-6c13e7288ef7\"",
+ "examples": [
+ "\"external-team-6c13e7288ef7\""
+ ],
"name": "name",
"in": "body",
"rawType": "string",
@@ -88787,7 +87751,9 @@
},
"description": {
"type": "string",
- "example": "\"moar cheese pleese\"",
+ "examples": [
+ "\"moar cheese pleese\""
+ ],
"name": "description",
"in": "body",
"rawType": "string",
@@ -88840,7 +87806,9 @@
},
{
"type": "string",
- "example": "\"caceab43fc9ffa20081c\"",
+ "examples": [
+ "\"caceab43fc9ffa20081c\""
+ ],
"name": "id",
"in": "body",
"rawType": "string",
@@ -88849,7 +87817,9 @@
},
{
"type": "string",
- "example": "\"external-team-6c13e7288ef7\"",
+ "examples": [
+ "\"external-team-6c13e7288ef7\""
+ ],
"name": "name",
"in": "body",
"rawType": "string",
@@ -88858,7 +87828,9 @@
},
{
"type": "string",
- "example": "\"moar cheese pleese\"",
+ "examples": [
+ "\"moar cheese pleese\""
+ ],
"name": "description",
"in": "body",
"rawType": "string",
@@ -88871,7 +87843,9 @@
},
{
"type": "string",
- "example": "\"I am not a timestamp\"",
+ "examples": [
+ "\"I am not a timestamp\""
+ ],
"name": "synced_at",
"in": "body",
"rawType": "string",
@@ -88965,7 +87939,9 @@
"name": {
"description": "The new name of the user.
",
"type": "string",
- "example": "Omar Jahandar",
+ "examples": [
+ "Omar Jahandar"
+ ],
"name": "name",
"in": "body",
"rawType": "string",
@@ -88975,7 +87951,9 @@
"email": {
"description": "The publicly visible email address of the user.
",
"type": "string",
- "example": "omar@example.com",
+ "examples": [
+ "omar@example.com"
+ ],
"name": "email",
"in": "body",
"rawType": "string",
@@ -88985,7 +87963,9 @@
"blog": {
"description": "The new blog URL of the user.
",
"type": "string",
- "example": "blog.example.com",
+ "examples": [
+ "blog.example.com"
+ ],
"name": "blog",
"in": "body",
"rawType": "string",
@@ -88995,18 +87975,24 @@
"twitter_username": {
"description": "The new Twitter username of the user.
",
"type": "string or null",
- "example": "therealomarj",
- "nullable": true,
+ "examples": [
+ "therealomarj"
+ ],
"name": "twitter_username",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "The new Twitter username of the user.",
"childParamsGroups": []
},
"company": {
"description": "The new company of the user.
",
"type": "string",
- "example": "Acme corporation",
+ "examples": [
+ "Acme corporation"
+ ],
"name": "company",
"in": "body",
"rawType": "string",
@@ -89016,7 +88002,9 @@
"location": {
"description": "The new location of the user.
",
"type": "string",
- "example": "Berlin, Germany",
+ "examples": [
+ "Berlin, Germany"
+ ],
"name": "location",
"in": "body",
"rawType": "string",
@@ -89092,7 +88080,9 @@
{
"description": "The new name of the user.
",
"type": "string",
- "example": "Omar Jahandar",
+ "examples": [
+ "Omar Jahandar"
+ ],
"name": "name",
"in": "body",
"rawType": "string",
@@ -89102,7 +88092,9 @@
{
"description": "The publicly visible email address of the user.
",
"type": "string",
- "example": "omar@example.com",
+ "examples": [
+ "omar@example.com"
+ ],
"name": "email",
"in": "body",
"rawType": "string",
@@ -89112,7 +88104,9 @@
{
"description": "The new blog URL of the user.
",
"type": "string",
- "example": "blog.example.com",
+ "examples": [
+ "blog.example.com"
+ ],
"name": "blog",
"in": "body",
"rawType": "string",
@@ -89122,18 +88116,24 @@
{
"description": "The new Twitter username of the user.
",
"type": "string or null",
- "example": "therealomarj",
- "nullable": true,
+ "examples": [
+ "therealomarj"
+ ],
"name": "twitter_username",
"in": "body",
- "rawType": "string",
+ "rawType": [
+ "string",
+ "null"
+ ],
"rawDescription": "The new Twitter username of the user.",
"childParamsGroups": []
},
{
"description": "The new company of the user.
",
"type": "string",
- "example": "Acme corporation",
+ "examples": [
+ "Acme corporation"
+ ],
"name": "company",
"in": "body",
"rawType": "string",
@@ -89143,7 +88143,9 @@
{
"description": "The new location of the user.
",
"type": "string",
- "example": "Berlin, Germany",
+ "examples": [
+ "Berlin, Germany"
+ ],
"name": "location",
"in": "body",
"rawType": "string",
@@ -89837,10 +88839,12 @@
"type": "array of strings",
"items": {
"type": "string",
- "example": "username@example.com",
- "minItems": 1
+ "minItems": 1,
+ "examples": [
+ "username@example.com"
+ ]
},
- "example": [],
+ "examples": [],
"name": "emails",
"in": "body",
"rawType": "array",
@@ -89862,8 +88866,10 @@
"type": "array",
"items": {
"type": "string",
- "example": "username@example.com",
- "minItems": 1
+ "minItems": 1,
+ "examples": [
+ "username@example.com"
+ ]
}
},
{
@@ -89923,10 +88929,12 @@
"type": "array of strings",
"items": {
"type": "string",
- "example": "username@example.com",
- "minItems": 1
+ "minItems": 1,
+ "examples": [
+ "username@example.com"
+ ]
},
- "example": [],
+ "examples": [],
"name": "emails",
"in": "body",
"rawType": "array",
@@ -89964,8 +88972,10 @@
"type": "array of strings",
"items": {
"type": "string",
- "example": "username@example.com",
- "minItems": 1
+ "minItems": 1,
+ "examples": [
+ "username@example.com"
+ ]
},
"name": "emails",
"in": "body",
@@ -89988,8 +88998,10 @@
"type": "array",
"items": {
"type": "string",
- "example": "username@example.com",
- "minItems": 1
+ "minItems": 1,
+ "examples": [
+ "username@example.com"
+ ]
}
},
{
@@ -90048,8 +89060,10 @@
"type": "array of strings",
"items": {
"type": "string",
- "example": "username@example.com",
- "minItems": 1
+ "minItems": 1,
+ "examples": [
+ "username@example.com"
+ ]
},
"name": "emails",
"in": "body",
@@ -91134,7 +90148,9 @@
"title": {
"description": "A descriptive name for the new key.
",
"type": "string",
- "example": "Personal MacBook Air",
+ "examples": [
+ "Personal MacBook Air"
+ ],
"name": "title",
"in": "body",
"rawType": "string",
@@ -91207,7 +90223,9 @@
{
"description": "A descriptive name for the new key.
",
"type": "string",
- "example": "Personal MacBook Air",
+ "examples": [
+ "Personal MacBook Air"
+ ],
"name": "title",
"in": "body",
"rawType": "string",
@@ -91543,8 +90561,10 @@
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -91554,7 +90574,9 @@
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -91564,7 +90586,9 @@
"secret": {
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -91576,7 +90600,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -91621,8 +90647,10 @@
{
"type": "string",
"description": "The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -91632,7 +90660,9 @@
{
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -91642,7 +90672,9 @@
{
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -91654,7 +90686,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -92046,8 +91080,10 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"name": {
"type": "string",
@@ -92065,8 +91101,10 @@
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -92076,7 +91114,9 @@
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -92086,7 +91126,9 @@
"secret": {
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -92098,7 +91140,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -92112,7 +91156,9 @@
},
"token": {
"type": "string",
- "example": "\"abc\"",
+ "examples": [
+ "\"abc\""
+ ],
"name": "token",
"in": "body",
"rawType": "string",
@@ -92121,7 +91167,9 @@
},
"digest": {
"type": "string",
- "example": "\"sha256\"",
+ "examples": [
+ "\"sha256\""
+ ],
"name": "digest",
"in": "body",
"rawType": "string",
@@ -92142,8 +91190,10 @@
{
"type": "string",
"description": "The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -92153,7 +91203,9 @@
{
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -92163,7 +91215,9 @@
{
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -92175,7 +91229,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -92189,7 +91245,9 @@
},
{
"type": "string",
- "example": "\"abc\"",
+ "examples": [
+ "\"abc\""
+ ],
"name": "token",
"in": "body",
"rawType": "string",
@@ -92198,7 +91256,9 @@
},
{
"type": "string",
- "example": "\"sha256\"",
+ "examples": [
+ "\"sha256\""
+ ],
"name": "digest",
"in": "body",
"rawType": "string",
@@ -92303,8 +91363,10 @@
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -92314,7 +91376,9 @@
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -92324,7 +91388,9 @@
"secret": {
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -92336,7 +91402,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -92350,7 +91418,9 @@
},
"token": {
"type": "string",
- "example": "\"abc\"",
+ "examples": [
+ "\"abc\""
+ ],
"name": "token",
"in": "body",
"rawType": "string",
@@ -92359,7 +91429,9 @@
},
"digest": {
"type": "string",
- "example": "\"sha256\"",
+ "examples": [
+ "\"sha256\""
+ ],
"name": "digest",
"in": "body",
"rawType": "string",
@@ -92380,8 +91452,10 @@
{
"type": "string",
"description": "The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -92391,7 +91465,9 @@
{
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -92401,7 +91477,9 @@
{
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -92413,7 +91491,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -92427,7 +91507,9 @@
},
{
"type": "string",
- "example": "\"abc\"",
+ "examples": [
+ "\"abc\""
+ ],
"name": "token",
"in": "body",
"rawType": "string",
@@ -92436,7 +91518,9 @@
},
{
"type": "string",
- "example": "\"sha256\"",
+ "examples": [
+ "\"sha256\""
+ ],
"name": "digest",
"in": "body",
"rawType": "string",
@@ -92599,8 +91683,10 @@
"url": {
"type": "string",
"description": "Required. The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -92610,7 +91696,9 @@
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -92620,7 +91708,9 @@
"secret": {
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -92632,7 +91722,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -92646,7 +91738,9 @@
},
"address": {
"type": "string",
- "example": "\"bar@example.com\"",
+ "examples": [
+ "\"bar@example.com\""
+ ],
"name": "address",
"in": "body",
"rawType": "string",
@@ -92655,7 +91749,9 @@
},
"room": {
"type": "string",
- "example": "\"The Serious Room\"",
+ "examples": [
+ "\"The Serious Room\""
+ ],
"name": "room",
"in": "body",
"rawType": "string",
@@ -92679,8 +91775,10 @@
{
"type": "string",
"description": "Required. The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -92690,7 +91788,9 @@
{
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -92700,7 +91800,9 @@
{
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -92712,7 +91814,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -92726,7 +91830,9 @@
},
{
"type": "string",
- "example": "\"bar@example.com\"",
+ "examples": [
+ "\"bar@example.com\""
+ ],
"name": "address",
"in": "body",
"rawType": "string",
@@ -92735,7 +91841,9 @@
},
{
"type": "string",
- "example": "\"The Serious Room\"",
+ "examples": [
+ "\"The Serious Room\""
+ ],
"name": "room",
"in": "body",
"rawType": "string",
@@ -92842,8 +91950,10 @@
"url": {
"type": "string",
"description": "Required. The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -92853,7 +91963,9 @@
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -92863,7 +91975,9 @@
"secret": {
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -92875,7 +91989,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -92889,7 +92005,9 @@
},
"address": {
"type": "string",
- "example": "\"bar@example.com\"",
+ "examples": [
+ "\"bar@example.com\""
+ ],
"name": "address",
"in": "body",
"rawType": "string",
@@ -92898,7 +92016,9 @@
},
"room": {
"type": "string",
- "example": "\"The Serious Room\"",
+ "examples": [
+ "\"The Serious Room\""
+ ],
"name": "room",
"in": "body",
"rawType": "string",
@@ -92922,8 +92042,10 @@
{
"type": "string",
"description": "Required. The URL to which the payloads will be delivered.
",
- "example": "https://example.com/webhook",
"format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ],
"name": "url",
"in": "body",
"rawType": "string",
@@ -92933,7 +92055,9 @@
{
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include json and form. The default is form.
",
- "example": "\"json\"",
+ "examples": [
+ "\"json\""
+ ],
"name": "content_type",
"in": "body",
"rawType": "string",
@@ -92943,7 +92067,9 @@
{
"type": "string",
"description": "If provided, the secret will be used as the key to generate the HMAC hex digest value for delivery signature headers.
",
- "example": "\"********\"",
+ "examples": [
+ "\"********\""
+ ],
"name": "secret",
"in": "body",
"rawType": "string",
@@ -92955,7 +92081,9 @@
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -92969,7 +92097,9 @@
},
{
"type": "string",
- "example": "\"bar@example.com\"",
+ "examples": [
+ "\"bar@example.com\""
+ ],
"name": "address",
"in": "body",
"rawType": "string",
@@ -92978,7 +92108,9 @@
},
{
"type": "string",
- "example": "\"The Serious Room\"",
+ "examples": [
+ "\"The Serious Room\""
+ ],
"name": "room",
"in": "body",
"rawType": "string",
diff --git a/lib/rest/static/dereferenced/api.github.com.deref.json b/lib/rest/static/dereferenced/api.github.com.deref.json
index a4bec1c7ec..503a5595ea 100644
--- a/lib/rest/static/dereferenced/api.github.com.deref.json
+++ b/lib/rest/static/dereferenced/api.github.com.deref.json
@@ -1,5 +1,5 @@
{
- "openapi": "3.0.3",
+ "openapi": "3.1.0",
"info": {
"version": "1.1.4",
"title": "GitHub v3 REST API",
@@ -388,167 +388,235 @@
"properties": {
"id": {
"description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
"slug": {
"description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
"owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"name": {
"description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
},
"description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
},
"external_url": {
"type": "string",
"format": "uri",
- "example": "https://example.com"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/apps/super-ci"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
"permissions": {
"description": "The set of permissions for the GitHub app",
@@ -580,36 +648,48 @@
},
"events": {
"description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
"type": "array",
"items": {
"type": "string"
- }
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
},
"installations_count": {
"description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 5
+ ]
},
"client_id": {
"type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
"client_secret": {
"type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
"webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
},
"pem": {
"type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
@@ -719,167 +799,235 @@
"properties": {
"id": {
"description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
"slug": {
"description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
"owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"name": {
"description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
},
"description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
},
"external_url": {
"type": "string",
"format": "uri",
- "example": "https://example.com"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/apps/super-ci"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
"permissions": {
"description": "The set of permissions for the GitHub app",
@@ -911,36 +1059,48 @@
},
"events": {
"description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
"type": "array",
"items": {
"type": "string"
- }
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
},
"installations_count": {
"description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 5
+ ]
},
"client_id": {
"type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
"client_secret": {
"type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
"webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
},
"pem": {
"type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
@@ -967,8 +1127,10 @@
"type": "string"
},
"webhook_secret": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"pem": {
"type": "string"
@@ -1126,25 +1288,33 @@
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.",
- "example": "https://example.com/webhook",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ]
},
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.",
- "example": "\"json\""
+ "examples": [
+ "\"json\""
+ ]
},
"secret": {
"type": "string",
"description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers).",
- "example": "\"********\""
+ "examples": [
+ "\"********\""
+ ]
},
"insecure_ssl": {
"oneOf": [
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -1195,25 +1365,33 @@
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.",
- "example": "https://example.com/webhook",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ]
},
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.",
- "example": "\"json\""
+ "examples": [
+ "\"json\""
+ ]
},
"secret": {
"type": "string",
"description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers).",
- "example": "\"********\""
+ "examples": [
+ "\"********\""
+ ]
},
"insecure_ssl": {
"oneOf": [
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -1248,25 +1426,33 @@
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.",
- "example": "https://example.com/webhook",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ]
},
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.",
- "example": "\"json\""
+ "examples": [
+ "\"json\""
+ ]
},
"secret": {
"type": "string",
"description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers).",
- "example": "\"********\""
+ "examples": [
+ "\"********\""
+ ]
},
"insecure_ssl": {
"oneOf": [
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -1344,61 +1530,89 @@
"id": {
"description": "Unique identifier of the webhook delivery.",
"type": "integer",
- "example": 42
+ "examples": [
+ 42
+ ]
},
"guid": {
"description": "Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event).",
"type": "string",
- "example": "58474f00-b361-11eb-836d-0e4f3503ccbe"
+ "examples": [
+ "58474f00-b361-11eb-836d-0e4f3503ccbe"
+ ]
},
"delivered_at": {
"description": "Time when the webhook delivery occurred.",
"type": "string",
"format": "date-time",
- "example": "2021-05-12T20:33:44Z"
+ "examples": [
+ "2021-05-12T20:33:44Z"
+ ]
},
"redelivery": {
"description": "Whether the webhook delivery is a redelivery.",
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"duration": {
"description": "Time spent delivering.",
"type": "number",
- "example": 0.03
+ "examples": [
+ 0.03
+ ]
},
"status": {
"description": "Describes the response returned after attempting the delivery.",
"type": "string",
- "example": "failed to connect"
+ "examples": [
+ "failed to connect"
+ ]
},
"status_code": {
"description": "Status code received when delivery was made.",
"type": "integer",
- "example": 502
+ "examples": [
+ 502
+ ]
},
"event": {
"description": "The event that triggered the delivery.",
"type": "string",
- "example": "issues"
+ "examples": [
+ "issues"
+ ]
},
"action": {
"description": "The type of activity for the event that triggered the delivery.",
- "type": "string",
- "example": "opened",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "opened"
+ ]
},
"installation_id": {
"description": "The id of the GitHub App installation associated with this event.",
- "type": "integer",
- "example": 123,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 123
+ ]
},
"repository_id": {
"description": "The id of the repository associated with this event.",
- "type": "integer",
- "example": 123,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 123
+ ]
}
},
"required": [
@@ -1482,23 +1696,31 @@
"type": "object",
"properties": {
"message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"documentation_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"detail": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"status": {
"type": "integer"
},
"scimType": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"schemas": {
"type": "array",
@@ -1556,16 +1778,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -1624,80 +1852,114 @@
"id": {
"description": "Unique identifier of the delivery.",
"type": "integer",
- "example": 42
+ "examples": [
+ 42
+ ]
},
"guid": {
"description": "Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event).",
"type": "string",
- "example": "58474f00-b361-11eb-836d-0e4f3503ccbe"
+ "examples": [
+ "58474f00-b361-11eb-836d-0e4f3503ccbe"
+ ]
},
"delivered_at": {
"description": "Time when the delivery was delivered.",
"type": "string",
"format": "date-time",
- "example": "2021-05-12T20:33:44Z"
+ "examples": [
+ "2021-05-12T20:33:44Z"
+ ]
},
"redelivery": {
"description": "Whether the delivery is a redelivery.",
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"duration": {
"description": "Time spent delivering.",
"type": "number",
- "example": 0.03
+ "examples": [
+ 0.03
+ ]
},
"status": {
"description": "Description of the status of the attempted delivery",
"type": "string",
- "example": "failed to connect"
+ "examples": [
+ "failed to connect"
+ ]
},
"status_code": {
"description": "Status code received when delivery was made.",
"type": "integer",
- "example": 502
+ "examples": [
+ 502
+ ]
},
"event": {
"description": "The event that triggered the delivery.",
"type": "string",
- "example": "issues"
+ "examples": [
+ "issues"
+ ]
},
"action": {
"description": "The type of activity for the event that triggered the delivery.",
- "type": "string",
- "example": "opened",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "opened"
+ ]
},
"installation_id": {
"description": "The id of the GitHub App installation associated with this event.",
- "type": "integer",
- "example": 123,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 123
+ ]
},
"repository_id": {
"description": "The id of the repository associated with this event.",
- "type": "integer",
- "example": 123,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 123
+ ]
},
"url": {
"description": "The URL target of the delivery.",
"type": "string",
- "example": "https://www.example.com"
+ "examples": [
+ "https://www.example.com"
+ ]
},
"request": {
"type": "object",
"properties": {
"headers": {
"description": "The request headers sent with the webhook delivery.",
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"additionalProperties": true
},
"payload": {
"description": "The webhook payload.",
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"additionalProperties": true
}
},
@@ -1711,14 +1973,18 @@
"properties": {
"headers": {
"description": "The response headers received when the delivery was made.",
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"additionalProperties": true
},
"payload": {
"description": "The response payload received.",
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"additionalProperties": true
}
},
@@ -1825,23 +2091,31 @@
"type": "object",
"properties": {
"message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"documentation_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"detail": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"status": {
"type": "integer"
},
"scimType": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"schemas": {
"type": "array",
@@ -1899,16 +2173,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -1996,23 +2276,31 @@
"type": "object",
"properties": {
"message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"documentation_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"detail": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"status": {
"type": "integer"
},
"scimType": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"schemas": {
"type": "array",
@@ -2070,16 +2358,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -2168,10 +2462,11 @@
"id": {
"description": "The ID of the installation.",
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"account": {
- "nullable": true,
"anyOf": [
{
"title": "Simple User",
@@ -2179,96 +2474,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -2299,50 +2636,72 @@
"properties": {
"description": {
"description": "A short description of the enterprise.",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/enterprises/octo-business"
+ "examples": [
+ "https://github.com/enterprises/octo-business"
+ ]
},
"website_url": {
"description": "The enterprise's website URL.",
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri"
},
"id": {
"description": "Unique identifier of the enterprise",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the enterprise.",
"type": "string",
- "example": "Octo Business"
+ "examples": [
+ "Octo Business"
+ ]
},
"slug": {
"description": "The slug url identifier for the enterprise.",
"type": "string",
- "example": "octo-business"
+ "examples": [
+ "octo-business"
+ ]
},
"created_at": {
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2019-01-26T19:01:12Z"
+ "examples": [
+ "2019-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2019-01-26T19:14:43Z"
+ "examples": [
+ "2019-01-26T19:14:43Z"
+ ]
},
"avatar_url": {
"type": "string",
@@ -2360,6 +2719,10 @@
"avatar_url"
]
}
+ ],
+ "type": [
+ "null",
+ "object"
]
},
"repository_selection": {
@@ -2373,21 +2736,29 @@
"access_tokens_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/installations/1/access_tokens"
+ "examples": [
+ "https://api.github.com/installations/1/access_tokens"
+ ]
},
"repositories_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/installation/repositories"
+ "examples": [
+ "https://api.github.com/installation/repositories"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/organizations/github/settings/installations/1"
+ "examples": [
+ "https://github.com/organizations/github/settings/installations/1"
+ ]
},
"app_id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"target_id": {
"description": "The ID of the user or organization this token is being scoped to.",
@@ -2395,7 +2766,9 @@
},
"target_type": {
"type": "string",
- "example": "Organization"
+ "examples": [
+ "Organization"
+ ]
},
"permissions": {
"title": "App Permissions",
@@ -2665,157 +3038,219 @@
"format": "date-time"
},
"single_file_name": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
},
"has_multiple_single_files": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"single_file_paths": {
"type": "array",
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"config.yml",
".github/issue_TEMPLATE.md"
]
},
"app_slug": {
"type": "string",
- "example": "github-actions"
+ "examples": [
+ "github-actions"
+ ]
},
"suspended_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"suspended_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"contact_email": {
- "type": "string",
- "example": "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\""
+ ]
}
},
"required": [
@@ -2956,10 +3391,11 @@
"id": {
"description": "The ID of the installation.",
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"account": {
- "nullable": true,
"anyOf": [
{
"title": "Simple User",
@@ -2967,96 +3403,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -3087,50 +3565,72 @@
"properties": {
"description": {
"description": "A short description of the enterprise.",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/enterprises/octo-business"
+ "examples": [
+ "https://github.com/enterprises/octo-business"
+ ]
},
"website_url": {
"description": "The enterprise's website URL.",
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri"
},
"id": {
"description": "Unique identifier of the enterprise",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the enterprise.",
"type": "string",
- "example": "Octo Business"
+ "examples": [
+ "Octo Business"
+ ]
},
"slug": {
"description": "The slug url identifier for the enterprise.",
"type": "string",
- "example": "octo-business"
+ "examples": [
+ "octo-business"
+ ]
},
"created_at": {
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2019-01-26T19:01:12Z"
+ "examples": [
+ "2019-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2019-01-26T19:14:43Z"
+ "examples": [
+ "2019-01-26T19:14:43Z"
+ ]
},
"avatar_url": {
"type": "string",
@@ -3148,6 +3648,10 @@
"avatar_url"
]
}
+ ],
+ "type": [
+ "null",
+ "object"
]
},
"repository_selection": {
@@ -3161,21 +3665,29 @@
"access_tokens_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/installations/1/access_tokens"
+ "examples": [
+ "https://api.github.com/installations/1/access_tokens"
+ ]
},
"repositories_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/installation/repositories"
+ "examples": [
+ "https://api.github.com/installation/repositories"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/organizations/github/settings/installations/1"
+ "examples": [
+ "https://github.com/organizations/github/settings/installations/1"
+ ]
},
"app_id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"target_id": {
"description": "The ID of the user or organization this token is being scoped to.",
@@ -3183,7 +3695,9 @@
},
"target_type": {
"type": "string",
- "example": "Organization"
+ "examples": [
+ "Organization"
+ ]
},
"permissions": {
"title": "App Permissions",
@@ -3453,157 +3967,219 @@
"format": "date-time"
},
"single_file_name": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
},
"has_multiple_single_files": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"single_file_paths": {
"type": "array",
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"config.yml",
".github/issue_TEMPLATE.md"
]
},
"app_slug": {
"type": "string",
- "example": "github-actions"
+ "examples": [
+ "github-actions"
+ ]
},
"suspended_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"suspended_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"contact_email": {
- "type": "string",
- "example": "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\""
+ ]
}
},
"required": [
@@ -3845,18 +4421,20 @@
"type": "array",
"items": {
"type": "string",
- "example": "rails"
+ "examples": [
+ "rails"
+ ]
}
},
"repository_ids": {
"description": "List of repository IDs that the token should have access to",
- "example": [
- 1
- ],
"type": "array",
"items": {
"type": "integer"
- }
+ },
+ "examples": [
+ 1
+ ]
},
"permissions": {
"title": "App Permissions",
@@ -4412,183 +4990,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -4624,96 +5278,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -4745,12 +5441,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -4758,228 +5460,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -4991,19 +5799,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -5012,7 +5826,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -5029,32 +5845,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -5387,25 +6219,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -5428,7 +6268,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -5510,18 +6352,22 @@
},
"single_file": {
"type": "string",
- "example": "README.md"
+ "examples": [
+ "README.md"
+ ]
},
"has_multiple_single_files": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"single_file_paths": {
"type": "array",
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"config.yml",
".github/issue_TEMPLATE.md"
]
@@ -5818,16 +6664,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -6038,12 +6890,16 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/applications/grants/1"
+ "examples": [
+ "https://api.github.com/applications/grants/1"
+ ]
},
"app": {
"type": "object",
@@ -6068,141 +6924,193 @@
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-09-06T17:26:27Z"
+ "examples": [
+ "2011-09-06T17:26:27Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2011-09-06T20:39:23Z"
+ "examples": [
+ "2011-09-06T20:39:23Z"
+ ]
},
"scopes": {
"type": "array",
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"public_repo"
]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -6374,12 +7282,16 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/applications/grants/1"
+ "examples": [
+ "https://api.github.com/applications/grants/1"
+ ]
},
"app": {
"type": "object",
@@ -6404,141 +7316,193 @@
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-09-06T17:26:27Z"
+ "examples": [
+ "2011-09-06T17:26:27Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2011-09-06T20:39:23Z"
+ "examples": [
+ "2011-09-06T20:39:23Z"
+ ]
},
"scopes": {
"type": "array",
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"public_repo"
]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -6829,16 +7793,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -6935,22 +7905,28 @@
},
"scopes": {
"description": "A list of scopes that this authorization is in.",
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
- },
- "nullable": true
+ }
},
"token": {
"type": "string"
},
"token_last_eight": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hashed_token": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"app": {
"type": "object",
@@ -6973,13 +7949,17 @@
]
},
"note": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"note_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"updated_at": {
"type": "string",
@@ -6990,514 +7970,154 @@
"format": "date-time"
},
"fingerprint": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "installation": {
- "title": "Scoped Installation",
- "type": "object",
- "properties": {
- "permissions": {
- "title": "App Permissions",
- "type": "object",
- "description": "The permissions granted to the user-to-server access token.",
- "properties": {
- "actions": {
- "type": "string",
- "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "administration": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "checks": {
- "type": "string",
- "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "contents": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "deployments": {
- "type": "string",
- "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "environments": {
- "type": "string",
- "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "issues": {
- "type": "string",
- "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "metadata": {
- "type": "string",
- "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pages": {
- "type": "string",
- "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pull_requests": {
- "type": "string",
- "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "secret_scanning_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "security_events": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "single_file": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "statuses": {
- "type": "string",
- "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "vulnerability_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "workflows": {
- "type": "string",
- "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
- "enum": [
- "write"
- ]
- },
- "members": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_administration": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_plan": {
- "type": "string",
- "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
- "enum": [
- "read"
- ]
- },
- "organization_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "organization_packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_self_hosted_runners": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_user_blocking": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "team_discussions": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- }
- },
- "example": {
- "contents": "read",
- "issues": "read",
- "deployments": "write",
- "single_file": "read"
- }
- },
- "repository_selection": {
- "description": "Describe whether all repositories have been selected or there's a selection involved",
- "type": "string",
- "enum": [
- "all",
- "selected"
- ]
- },
- "single_file_name": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
- },
- "has_multiple_single_files": {
- "type": "boolean",
- "example": true
- },
- "single_file_paths": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "example": [
- "config.yml",
- ".github/issue_TEMPLATE.md"
- ]
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "account": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -7521,20 +8141,488 @@
"url"
]
}
- },
- "required": [
- "permissions",
- "repository_selection",
- "single_file_name",
- "repositories_url",
- "account"
- ],
- "nullable": true
+ ]
+ },
+ "installation": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Scoped Installation",
+ "type": "object",
+ "properties": {
+ "permissions": {
+ "title": "App Permissions",
+ "type": "object",
+ "description": "The permissions granted to the user-to-server access token.",
+ "properties": {
+ "actions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "checks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "contents": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "deployments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "environments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "issues": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "metadata": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pull_requests": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "secret_scanning_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "security_events": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "single_file": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "statuses": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "vulnerability_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "workflows": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
+ "enum": [
+ "write"
+ ]
+ },
+ "members": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_plan": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
+ "enum": [
+ "read"
+ ]
+ },
+ "organization_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "organization_packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_self_hosted_runners": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_user_blocking": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "team_discussions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ }
+ },
+ "example": {
+ "contents": "read",
+ "issues": "read",
+ "deployments": "write",
+ "single_file": "read"
+ }
+ },
+ "repository_selection": {
+ "description": "Describe whether all repositories have been selected or there's a selection involved",
+ "type": "string",
+ "enum": [
+ "all",
+ "selected"
+ ]
+ },
+ "single_file_name": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
+ },
+ "has_multiple_single_files": {
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "single_file_paths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "config.yml",
+ ".github/issue_TEMPLATE.md"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "account": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ },
+ "required": [
+ "permissions",
+ "repository_selection",
+ "single_file_name",
+ "repositories_url",
+ "account"
+ ]
+ }
+ ]
},
"expires_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
}
},
"required": [
@@ -7647,16 +8735,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -7777,22 +8871,28 @@
},
"scopes": {
"description": "A list of scopes that this authorization is in.",
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
- },
- "nullable": true
+ }
},
"token": {
"type": "string"
},
"token_last_eight": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hashed_token": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"app": {
"type": "object",
@@ -7815,13 +8915,17 @@
]
},
"note": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"note_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"updated_at": {
"type": "string",
@@ -7832,514 +8936,154 @@
"format": "date-time"
},
"fingerprint": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "installation": {
- "title": "Scoped Installation",
- "type": "object",
- "properties": {
- "permissions": {
- "title": "App Permissions",
- "type": "object",
- "description": "The permissions granted to the user-to-server access token.",
- "properties": {
- "actions": {
- "type": "string",
- "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "administration": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "checks": {
- "type": "string",
- "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "contents": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "deployments": {
- "type": "string",
- "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "environments": {
- "type": "string",
- "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "issues": {
- "type": "string",
- "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "metadata": {
- "type": "string",
- "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pages": {
- "type": "string",
- "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pull_requests": {
- "type": "string",
- "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "secret_scanning_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "security_events": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "single_file": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "statuses": {
- "type": "string",
- "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "vulnerability_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "workflows": {
- "type": "string",
- "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
- "enum": [
- "write"
- ]
- },
- "members": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_administration": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_plan": {
- "type": "string",
- "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
- "enum": [
- "read"
- ]
- },
- "organization_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "organization_packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_self_hosted_runners": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_user_blocking": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "team_discussions": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- }
- },
- "example": {
- "contents": "read",
- "issues": "read",
- "deployments": "write",
- "single_file": "read"
- }
- },
- "repository_selection": {
- "description": "Describe whether all repositories have been selected or there's a selection involved",
- "type": "string",
- "enum": [
- "all",
- "selected"
- ]
- },
- "single_file_name": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
- },
- "has_multiple_single_files": {
- "type": "boolean",
- "example": true
- },
- "single_file_paths": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "example": [
- "config.yml",
- ".github/issue_TEMPLATE.md"
- ]
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "account": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -8363,20 +9107,488 @@
"url"
]
}
- },
- "required": [
- "permissions",
- "repository_selection",
- "single_file_name",
- "repositories_url",
- "account"
- ],
- "nullable": true
+ ]
+ },
+ "installation": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Scoped Installation",
+ "type": "object",
+ "properties": {
+ "permissions": {
+ "title": "App Permissions",
+ "type": "object",
+ "description": "The permissions granted to the user-to-server access token.",
+ "properties": {
+ "actions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "checks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "contents": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "deployments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "environments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "issues": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "metadata": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pull_requests": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "secret_scanning_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "security_events": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "single_file": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "statuses": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "vulnerability_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "workflows": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
+ "enum": [
+ "write"
+ ]
+ },
+ "members": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_plan": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
+ "enum": [
+ "read"
+ ]
+ },
+ "organization_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "organization_packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_self_hosted_runners": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_user_blocking": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "team_discussions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ }
+ },
+ "example": {
+ "contents": "read",
+ "issues": "read",
+ "deployments": "write",
+ "single_file": "read"
+ }
+ },
+ "repository_selection": {
+ "description": "Describe whether all repositories have been selected or there's a selection involved",
+ "type": "string",
+ "enum": [
+ "all",
+ "selected"
+ ]
+ },
+ "single_file_name": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
+ },
+ "has_multiple_single_files": {
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "single_file_paths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "config.yml",
+ ".github/issue_TEMPLATE.md"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "account": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ },
+ "required": [
+ "permissions",
+ "repository_selection",
+ "single_file_name",
+ "repositories_url",
+ "account"
+ ]
+ }
+ ]
},
"expires_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
}
},
"required": [
@@ -8489,16 +9701,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -8619,16 +9837,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -8690,35 +9914,43 @@
"access_token": {
"type": "string",
"description": "The OAuth access token used to authenticate to the GitHub API.",
- "example": "e72e16c7e42f292c6912e7710c838347ae178b4a"
+ "examples": [
+ "e72e16c7e42f292c6912e7710c838347ae178b4a"
+ ]
},
"target": {
"description": "The name of the user or organization to scope the user-to-server access token to. **Required** unless `target_id` is specified.",
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"target_id": {
"description": "The ID of the user or organization to scope the user-to-server access token to. **Required** unless `target` is specified.",
- "example": 1,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"repositories": {
"description": "The list of repository names to scope the user-to-server access token to. `repositories` may not be specified if `repository_ids` is specified.",
"type": "array",
"items": {
"type": "string",
- "example": "rails"
+ "examples": [
+ "rails"
+ ]
}
},
"repository_ids": {
"description": "The list of repository IDs to scope the user-to-server access token to. `repository_ids` may not be specified if `repositories` is specified.",
- "example": [
- 1
- ],
"type": "array",
"items": {
"type": "integer"
- }
+ },
+ "examples": [
+ 1
+ ]
},
"permissions": {
"title": "App Permissions",
@@ -9013,22 +10245,28 @@
},
"scopes": {
"description": "A list of scopes that this authorization is in.",
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
- },
- "nullable": true
+ }
},
"token": {
"type": "string"
},
"token_last_eight": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hashed_token": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"app": {
"type": "object",
@@ -9051,13 +10289,17 @@
]
},
"note": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"note_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"updated_at": {
"type": "string",
@@ -9068,514 +10310,154 @@
"format": "date-time"
},
"fingerprint": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "installation": {
- "title": "Scoped Installation",
- "type": "object",
- "properties": {
- "permissions": {
- "title": "App Permissions",
- "type": "object",
- "description": "The permissions granted to the user-to-server access token.",
- "properties": {
- "actions": {
- "type": "string",
- "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "administration": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "checks": {
- "type": "string",
- "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "contents": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "deployments": {
- "type": "string",
- "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "environments": {
- "type": "string",
- "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "issues": {
- "type": "string",
- "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "metadata": {
- "type": "string",
- "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pages": {
- "type": "string",
- "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pull_requests": {
- "type": "string",
- "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "secret_scanning_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "security_events": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "single_file": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "statuses": {
- "type": "string",
- "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "vulnerability_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "workflows": {
- "type": "string",
- "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
- "enum": [
- "write"
- ]
- },
- "members": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_administration": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_plan": {
- "type": "string",
- "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
- "enum": [
- "read"
- ]
- },
- "organization_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "organization_packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_self_hosted_runners": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_user_blocking": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "team_discussions": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- }
- },
- "example": {
- "contents": "read",
- "issues": "read",
- "deployments": "write",
- "single_file": "read"
- }
- },
- "repository_selection": {
- "description": "Describe whether all repositories have been selected or there's a selection involved",
- "type": "string",
- "enum": [
- "all",
- "selected"
- ]
- },
- "single_file_name": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
- },
- "has_multiple_single_files": {
- "type": "boolean",
- "example": true
- },
- "single_file_paths": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "example": [
- "config.yml",
- ".github/issue_TEMPLATE.md"
- ]
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "account": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -9599,20 +10481,488 @@
"url"
]
}
- },
- "required": [
- "permissions",
- "repository_selection",
- "single_file_name",
- "repositories_url",
- "account"
- ],
- "nullable": true
+ ]
+ },
+ "installation": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Scoped Installation",
+ "type": "object",
+ "properties": {
+ "permissions": {
+ "title": "App Permissions",
+ "type": "object",
+ "description": "The permissions granted to the user-to-server access token.",
+ "properties": {
+ "actions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "checks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "contents": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "deployments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "environments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "issues": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "metadata": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pull_requests": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "secret_scanning_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "security_events": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "single_file": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "statuses": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "vulnerability_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "workflows": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
+ "enum": [
+ "write"
+ ]
+ },
+ "members": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_plan": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
+ "enum": [
+ "read"
+ ]
+ },
+ "organization_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "organization_packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_self_hosted_runners": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_user_blocking": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "team_discussions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ }
+ },
+ "example": {
+ "contents": "read",
+ "issues": "read",
+ "deployments": "write",
+ "single_file": "read"
+ }
+ },
+ "repository_selection": {
+ "description": "Describe whether all repositories have been selected or there's a selection involved",
+ "type": "string",
+ "enum": [
+ "all",
+ "selected"
+ ]
+ },
+ "single_file_name": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
+ },
+ "has_multiple_single_files": {
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "single_file_paths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "config.yml",
+ ".github/issue_TEMPLATE.md"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "account": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ },
+ "required": [
+ "permissions",
+ "repository_selection",
+ "single_file_name",
+ "repositories_url",
+ "account"
+ ]
+ }
+ ]
},
"expires_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
}
},
"required": [
@@ -9836,16 +11186,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -9903,167 +11259,235 @@
"properties": {
"id": {
"description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
"slug": {
"description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
"owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"name": {
"description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
},
"description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
},
"external_url": {
"type": "string",
"format": "uri",
- "example": "https://example.com"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/apps/super-ci"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
"permissions": {
"description": "The set of permissions for the GitHub app",
@@ -10095,36 +11519,48 @@
},
"events": {
"description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
"type": "array",
"items": {
"type": "string"
- }
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
},
"installations_count": {
"description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 5
+ ]
},
"client_id": {
"type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
"client_secret": {
"type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
"webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
},
"pem": {
"type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
@@ -10334,22 +11770,28 @@
},
"scopes": {
"description": "A list of scopes that this authorization is in.",
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
- },
- "nullable": true
+ }
},
"token": {
"type": "string"
},
"token_last_eight": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hashed_token": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"app": {
"type": "object",
@@ -10372,13 +11814,17 @@
]
},
"note": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"note_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"updated_at": {
"type": "string",
@@ -10389,514 +11835,154 @@
"format": "date-time"
},
"fingerprint": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "installation": {
- "title": "Scoped Installation",
- "type": "object",
- "properties": {
- "permissions": {
- "title": "App Permissions",
- "type": "object",
- "description": "The permissions granted to the user-to-server access token.",
- "properties": {
- "actions": {
- "type": "string",
- "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "administration": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "checks": {
- "type": "string",
- "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "contents": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "deployments": {
- "type": "string",
- "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "environments": {
- "type": "string",
- "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "issues": {
- "type": "string",
- "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "metadata": {
- "type": "string",
- "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pages": {
- "type": "string",
- "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pull_requests": {
- "type": "string",
- "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "secret_scanning_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "security_events": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "single_file": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "statuses": {
- "type": "string",
- "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "vulnerability_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "workflows": {
- "type": "string",
- "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
- "enum": [
- "write"
- ]
- },
- "members": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_administration": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_plan": {
- "type": "string",
- "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
- "enum": [
- "read"
- ]
- },
- "organization_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "organization_packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_self_hosted_runners": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_user_blocking": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "team_discussions": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- }
- },
- "example": {
- "contents": "read",
- "issues": "read",
- "deployments": "write",
- "single_file": "read"
- }
- },
- "repository_selection": {
- "description": "Describe whether all repositories have been selected or there's a selection involved",
- "type": "string",
- "enum": [
- "all",
- "selected"
- ]
- },
- "single_file_name": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
- },
- "has_multiple_single_files": {
- "type": "boolean",
- "example": true
- },
- "single_file_paths": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "example": [
- "config.yml",
- ".github/issue_TEMPLATE.md"
- ]
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "account": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -10920,20 +12006,488 @@
"url"
]
}
- },
- "required": [
- "permissions",
- "repository_selection",
- "single_file_name",
- "repositories_url",
- "account"
- ],
- "nullable": true
+ ]
+ },
+ "installation": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Scoped Installation",
+ "type": "object",
+ "properties": {
+ "permissions": {
+ "title": "App Permissions",
+ "type": "object",
+ "description": "The permissions granted to the user-to-server access token.",
+ "properties": {
+ "actions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "checks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "contents": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "deployments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "environments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "issues": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "metadata": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pull_requests": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "secret_scanning_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "security_events": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "single_file": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "statuses": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "vulnerability_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "workflows": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
+ "enum": [
+ "write"
+ ]
+ },
+ "members": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_plan": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
+ "enum": [
+ "read"
+ ]
+ },
+ "organization_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "organization_packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_self_hosted_runners": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_user_blocking": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "team_discussions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ }
+ },
+ "example": {
+ "contents": "read",
+ "issues": "read",
+ "deployments": "write",
+ "single_file": "read"
+ }
+ },
+ "repository_selection": {
+ "description": "Describe whether all repositories have been selected or there's a selection involved",
+ "type": "string",
+ "enum": [
+ "all",
+ "selected"
+ ]
+ },
+ "single_file_name": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
+ },
+ "has_multiple_single_files": {
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "single_file_paths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "config.yml",
+ ".github/issue_TEMPLATE.md"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "account": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ },
+ "required": [
+ "permissions",
+ "repository_selection",
+ "single_file_name",
+ "repositories_url",
+ "account"
+ ]
+ }
+ ]
},
"expires_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
}
},
"required": [
@@ -11106,20 +12660,24 @@
"properties": {
"scopes": {
"description": "A list of scopes that this authorization is in.",
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"public_repo",
"user"
- ],
- "nullable": true
+ ]
},
"note": {
"description": "A note to remind you what the OAuth token is for.",
"type": "string",
- "example": "Update all gems"
+ "examples": [
+ "Update all gems"
+ ]
},
"note_url": {
"description": "A URL to remind you what app the OAuth token is for.",
@@ -11163,22 +12721,28 @@
},
"scopes": {
"description": "A list of scopes that this authorization is in.",
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
- },
- "nullable": true
+ }
},
"token": {
"type": "string"
},
"token_last_eight": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hashed_token": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"app": {
"type": "object",
@@ -11201,13 +12765,17 @@
]
},
"note": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"note_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"updated_at": {
"type": "string",
@@ -11218,514 +12786,154 @@
"format": "date-time"
},
"fingerprint": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "installation": {
- "title": "Scoped Installation",
- "type": "object",
- "properties": {
- "permissions": {
- "title": "App Permissions",
- "type": "object",
- "description": "The permissions granted to the user-to-server access token.",
- "properties": {
- "actions": {
- "type": "string",
- "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "administration": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "checks": {
- "type": "string",
- "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "contents": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "deployments": {
- "type": "string",
- "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "environments": {
- "type": "string",
- "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "issues": {
- "type": "string",
- "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "metadata": {
- "type": "string",
- "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pages": {
- "type": "string",
- "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pull_requests": {
- "type": "string",
- "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "secret_scanning_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "security_events": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "single_file": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "statuses": {
- "type": "string",
- "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "vulnerability_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "workflows": {
- "type": "string",
- "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
- "enum": [
- "write"
- ]
- },
- "members": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_administration": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_plan": {
- "type": "string",
- "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
- "enum": [
- "read"
- ]
- },
- "organization_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "organization_packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_self_hosted_runners": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_user_blocking": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "team_discussions": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- }
- },
- "example": {
- "contents": "read",
- "issues": "read",
- "deployments": "write",
- "single_file": "read"
- }
- },
- "repository_selection": {
- "description": "Describe whether all repositories have been selected or there's a selection involved",
- "type": "string",
- "enum": [
- "all",
- "selected"
- ]
- },
- "single_file_name": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
- },
- "has_multiple_single_files": {
- "type": "boolean",
- "example": true
- },
- "single_file_paths": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "example": [
- "config.yml",
- ".github/issue_TEMPLATE.md"
- ]
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "account": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -11749,20 +12957,488 @@
"url"
]
}
- },
- "required": [
- "permissions",
- "repository_selection",
- "single_file_name",
- "repositories_url",
- "account"
- ],
- "nullable": true
+ ]
+ },
+ "installation": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Scoped Installation",
+ "type": "object",
+ "properties": {
+ "permissions": {
+ "title": "App Permissions",
+ "type": "object",
+ "description": "The permissions granted to the user-to-server access token.",
+ "properties": {
+ "actions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "checks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "contents": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "deployments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "environments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "issues": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "metadata": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pull_requests": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "secret_scanning_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "security_events": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "single_file": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "statuses": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "vulnerability_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "workflows": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
+ "enum": [
+ "write"
+ ]
+ },
+ "members": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_plan": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
+ "enum": [
+ "read"
+ ]
+ },
+ "organization_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "organization_packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_self_hosted_runners": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_user_blocking": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "team_discussions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ }
+ },
+ "example": {
+ "contents": "read",
+ "issues": "read",
+ "deployments": "write",
+ "single_file": "read"
+ }
+ },
+ "repository_selection": {
+ "description": "Describe whether all repositories have been selected or there's a selection involved",
+ "type": "string",
+ "enum": [
+ "all",
+ "selected"
+ ]
+ },
+ "single_file_name": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
+ },
+ "has_multiple_single_files": {
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "single_file_paths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "config.yml",
+ ".github/issue_TEMPLATE.md"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "account": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ },
+ "required": [
+ "permissions",
+ "repository_selection",
+ "single_file_name",
+ "repositories_url",
+ "account"
+ ]
+ }
+ ]
},
"expires_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
}
},
"required": [
@@ -11862,16 +13538,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -12020,20 +13702,24 @@
},
"scopes": {
"description": "A list of scopes that this authorization is in.",
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"public_repo",
"user"
- ],
- "nullable": true
+ ]
},
"note": {
"description": "A note to remind you what the OAuth token is for.",
"type": "string",
- "example": "Update all gems"
+ "examples": [
+ "Update all gems"
+ ]
},
"note_url": {
"description": "A URL to remind you what app the OAuth token is for.",
@@ -12071,22 +13757,28 @@
},
"scopes": {
"description": "A list of scopes that this authorization is in.",
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
- },
- "nullable": true
+ }
},
"token": {
"type": "string"
},
"token_last_eight": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hashed_token": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"app": {
"type": "object",
@@ -12109,13 +13801,17 @@
]
},
"note": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"note_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"updated_at": {
"type": "string",
@@ -12126,514 +13822,154 @@
"format": "date-time"
},
"fingerprint": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "installation": {
- "title": "Scoped Installation",
- "type": "object",
- "properties": {
- "permissions": {
- "title": "App Permissions",
- "type": "object",
- "description": "The permissions granted to the user-to-server access token.",
- "properties": {
- "actions": {
- "type": "string",
- "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "administration": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "checks": {
- "type": "string",
- "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "contents": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "deployments": {
- "type": "string",
- "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "environments": {
- "type": "string",
- "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "issues": {
- "type": "string",
- "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "metadata": {
- "type": "string",
- "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pages": {
- "type": "string",
- "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pull_requests": {
- "type": "string",
- "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "secret_scanning_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "security_events": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "single_file": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "statuses": {
- "type": "string",
- "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "vulnerability_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "workflows": {
- "type": "string",
- "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
- "enum": [
- "write"
- ]
- },
- "members": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_administration": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_plan": {
- "type": "string",
- "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
- "enum": [
- "read"
- ]
- },
- "organization_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "organization_packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_self_hosted_runners": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_user_blocking": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "team_discussions": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- }
- },
- "example": {
- "contents": "read",
- "issues": "read",
- "deployments": "write",
- "single_file": "read"
- }
- },
- "repository_selection": {
- "description": "Describe whether all repositories have been selected or there's a selection involved",
- "type": "string",
- "enum": [
- "all",
- "selected"
- ]
- },
- "single_file_name": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
- },
- "has_multiple_single_files": {
- "type": "boolean",
- "example": true
- },
- "single_file_paths": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "example": [
- "config.yml",
- ".github/issue_TEMPLATE.md"
- ]
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "account": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -12657,20 +13993,488 @@
"url"
]
}
- },
- "required": [
- "permissions",
- "repository_selection",
- "single_file_name",
- "repositories_url",
- "account"
- ],
- "nullable": true
+ ]
+ },
+ "installation": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Scoped Installation",
+ "type": "object",
+ "properties": {
+ "permissions": {
+ "title": "App Permissions",
+ "type": "object",
+ "description": "The permissions granted to the user-to-server access token.",
+ "properties": {
+ "actions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "checks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "contents": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "deployments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "environments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "issues": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "metadata": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pull_requests": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "secret_scanning_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "security_events": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "single_file": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "statuses": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "vulnerability_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "workflows": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
+ "enum": [
+ "write"
+ ]
+ },
+ "members": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_plan": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
+ "enum": [
+ "read"
+ ]
+ },
+ "organization_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "organization_packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_self_hosted_runners": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_user_blocking": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "team_discussions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ }
+ },
+ "example": {
+ "contents": "read",
+ "issues": "read",
+ "deployments": "write",
+ "single_file": "read"
+ }
+ },
+ "repository_selection": {
+ "description": "Describe whether all repositories have been selected or there's a selection involved",
+ "type": "string",
+ "enum": [
+ "all",
+ "selected"
+ ]
+ },
+ "single_file_name": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
+ },
+ "has_multiple_single_files": {
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "single_file_paths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "config.yml",
+ ".github/issue_TEMPLATE.md"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "account": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ },
+ "required": [
+ "permissions",
+ "repository_selection",
+ "single_file_name",
+ "repositories_url",
+ "account"
+ ]
+ }
+ ]
},
"expires_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
}
},
"required": [
@@ -12743,22 +14547,28 @@
},
"scopes": {
"description": "A list of scopes that this authorization is in.",
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
- },
- "nullable": true
+ }
},
"token": {
"type": "string"
},
"token_last_eight": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hashed_token": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"app": {
"type": "object",
@@ -12781,13 +14591,17 @@
]
},
"note": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"note_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"updated_at": {
"type": "string",
@@ -12798,514 +14612,154 @@
"format": "date-time"
},
"fingerprint": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "installation": {
- "title": "Scoped Installation",
- "type": "object",
- "properties": {
- "permissions": {
- "title": "App Permissions",
- "type": "object",
- "description": "The permissions granted to the user-to-server access token.",
- "properties": {
- "actions": {
- "type": "string",
- "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "administration": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "checks": {
- "type": "string",
- "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "contents": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "deployments": {
- "type": "string",
- "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "environments": {
- "type": "string",
- "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "issues": {
- "type": "string",
- "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "metadata": {
- "type": "string",
- "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pages": {
- "type": "string",
- "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pull_requests": {
- "type": "string",
- "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "secret_scanning_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "security_events": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "single_file": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "statuses": {
- "type": "string",
- "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "vulnerability_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "workflows": {
- "type": "string",
- "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
- "enum": [
- "write"
- ]
- },
- "members": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_administration": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_plan": {
- "type": "string",
- "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
- "enum": [
- "read"
- ]
- },
- "organization_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "organization_packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_self_hosted_runners": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_user_blocking": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "team_discussions": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- }
- },
- "example": {
- "contents": "read",
- "issues": "read",
- "deployments": "write",
- "single_file": "read"
- }
- },
- "repository_selection": {
- "description": "Describe whether all repositories have been selected or there's a selection involved",
- "type": "string",
- "enum": [
- "all",
- "selected"
- ]
- },
- "single_file_name": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
- },
- "has_multiple_single_files": {
- "type": "boolean",
- "example": true
- },
- "single_file_paths": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "example": [
- "config.yml",
- ".github/issue_TEMPLATE.md"
- ]
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "account": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -13329,20 +14783,488 @@
"url"
]
}
- },
- "required": [
- "permissions",
- "repository_selection",
- "single_file_name",
- "repositories_url",
- "account"
- ],
- "nullable": true
+ ]
+ },
+ "installation": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Scoped Installation",
+ "type": "object",
+ "properties": {
+ "permissions": {
+ "title": "App Permissions",
+ "type": "object",
+ "description": "The permissions granted to the user-to-server access token.",
+ "properties": {
+ "actions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "checks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "contents": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "deployments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "environments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "issues": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "metadata": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pull_requests": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "secret_scanning_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "security_events": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "single_file": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "statuses": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "vulnerability_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "workflows": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
+ "enum": [
+ "write"
+ ]
+ },
+ "members": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_plan": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
+ "enum": [
+ "read"
+ ]
+ },
+ "organization_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "organization_packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_self_hosted_runners": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_user_blocking": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "team_discussions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ }
+ },
+ "example": {
+ "contents": "read",
+ "issues": "read",
+ "deployments": "write",
+ "single_file": "read"
+ }
+ },
+ "repository_selection": {
+ "description": "Describe whether all repositories have been selected or there's a selection involved",
+ "type": "string",
+ "enum": [
+ "all",
+ "selected"
+ ]
+ },
+ "single_file_name": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
+ },
+ "has_multiple_single_files": {
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "single_file_paths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "config.yml",
+ ".github/issue_TEMPLATE.md"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "account": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ },
+ "required": [
+ "permissions",
+ "repository_selection",
+ "single_file_name",
+ "repositories_url",
+ "account"
+ ]
+ }
+ ]
},
"expires_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
}
},
"required": [
@@ -13442,16 +15364,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -13582,20 +15510,24 @@
},
"scopes": {
"description": "A list of scopes that this authorization is in.",
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"public_repo",
"user"
- ],
- "nullable": true
+ ]
},
"note": {
"description": "A note to remind you what the OAuth token is for.",
"type": "string",
- "example": "Update all gems"
+ "examples": [
+ "Update all gems"
+ ]
},
"note_url": {
"description": "A URL to remind you what app the OAuth token is for.",
@@ -13629,22 +15561,28 @@
},
"scopes": {
"description": "A list of scopes that this authorization is in.",
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
- },
- "nullable": true
+ }
},
"token": {
"type": "string"
},
"token_last_eight": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hashed_token": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"app": {
"type": "object",
@@ -13667,13 +15605,17 @@
]
},
"note": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"note_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"updated_at": {
"type": "string",
@@ -13684,514 +15626,154 @@
"format": "date-time"
},
"fingerprint": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "installation": {
- "title": "Scoped Installation",
- "type": "object",
- "properties": {
- "permissions": {
- "title": "App Permissions",
- "type": "object",
- "description": "The permissions granted to the user-to-server access token.",
- "properties": {
- "actions": {
- "type": "string",
- "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "administration": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "checks": {
- "type": "string",
- "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "contents": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "deployments": {
- "type": "string",
- "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "environments": {
- "type": "string",
- "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "issues": {
- "type": "string",
- "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "metadata": {
- "type": "string",
- "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pages": {
- "type": "string",
- "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pull_requests": {
- "type": "string",
- "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "secret_scanning_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "security_events": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "single_file": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "statuses": {
- "type": "string",
- "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "vulnerability_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "workflows": {
- "type": "string",
- "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
- "enum": [
- "write"
- ]
- },
- "members": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_administration": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_plan": {
- "type": "string",
- "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
- "enum": [
- "read"
- ]
- },
- "organization_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "organization_packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_self_hosted_runners": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_user_blocking": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "team_discussions": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- }
- },
- "example": {
- "contents": "read",
- "issues": "read",
- "deployments": "write",
- "single_file": "read"
- }
- },
- "repository_selection": {
- "description": "Describe whether all repositories have been selected or there's a selection involved",
- "type": "string",
- "enum": [
- "all",
- "selected"
- ]
- },
- "single_file_name": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
- },
- "has_multiple_single_files": {
- "type": "boolean",
- "example": true
- },
- "single_file_paths": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "example": [
- "config.yml",
- ".github/issue_TEMPLATE.md"
- ]
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "account": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -14215,20 +15797,488 @@
"url"
]
}
- },
- "required": [
- "permissions",
- "repository_selection",
- "single_file_name",
- "repositories_url",
- "account"
- ],
- "nullable": true
+ ]
+ },
+ "installation": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Scoped Installation",
+ "type": "object",
+ "properties": {
+ "permissions": {
+ "title": "App Permissions",
+ "type": "object",
+ "description": "The permissions granted to the user-to-server access token.",
+ "properties": {
+ "actions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "checks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "contents": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "deployments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "environments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "issues": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "metadata": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pull_requests": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "secret_scanning_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "security_events": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "single_file": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "statuses": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "vulnerability_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "workflows": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
+ "enum": [
+ "write"
+ ]
+ },
+ "members": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_plan": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
+ "enum": [
+ "read"
+ ]
+ },
+ "organization_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "organization_packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_self_hosted_runners": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_user_blocking": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "team_discussions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ }
+ },
+ "example": {
+ "contents": "read",
+ "issues": "read",
+ "deployments": "write",
+ "single_file": "read"
+ }
+ },
+ "repository_selection": {
+ "description": "Describe whether all repositories have been selected or there's a selection involved",
+ "type": "string",
+ "enum": [
+ "all",
+ "selected"
+ ]
+ },
+ "single_file_name": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
+ },
+ "has_multiple_single_files": {
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "single_file_paths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "config.yml",
+ ".github/issue_TEMPLATE.md"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "account": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ },
+ "required": [
+ "permissions",
+ "repository_selection",
+ "single_file_name",
+ "repositories_url",
+ "account"
+ ]
+ }
+ ]
},
"expires_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
}
},
"required": [
@@ -14301,22 +16351,28 @@
},
"scopes": {
"description": "A list of scopes that this authorization is in.",
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
- },
- "nullable": true
+ }
},
"token": {
"type": "string"
},
"token_last_eight": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hashed_token": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"app": {
"type": "object",
@@ -14339,13 +16395,17 @@
]
},
"note": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"note_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"updated_at": {
"type": "string",
@@ -14356,514 +16416,154 @@
"format": "date-time"
},
"fingerprint": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "installation": {
- "title": "Scoped Installation",
- "type": "object",
- "properties": {
- "permissions": {
- "title": "App Permissions",
- "type": "object",
- "description": "The permissions granted to the user-to-server access token.",
- "properties": {
- "actions": {
- "type": "string",
- "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "administration": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "checks": {
- "type": "string",
- "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "contents": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "deployments": {
- "type": "string",
- "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "environments": {
- "type": "string",
- "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "issues": {
- "type": "string",
- "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "metadata": {
- "type": "string",
- "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pages": {
- "type": "string",
- "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pull_requests": {
- "type": "string",
- "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "secret_scanning_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "security_events": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "single_file": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "statuses": {
- "type": "string",
- "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "vulnerability_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "workflows": {
- "type": "string",
- "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
- "enum": [
- "write"
- ]
- },
- "members": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_administration": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_plan": {
- "type": "string",
- "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
- "enum": [
- "read"
- ]
- },
- "organization_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "organization_packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_self_hosted_runners": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_user_blocking": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "team_discussions": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- }
- },
- "example": {
- "contents": "read",
- "issues": "read",
- "deployments": "write",
- "single_file": "read"
- }
- },
- "repository_selection": {
- "description": "Describe whether all repositories have been selected or there's a selection involved",
- "type": "string",
- "enum": [
- "all",
- "selected"
- ]
- },
- "single_file_name": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
- },
- "has_multiple_single_files": {
- "type": "boolean",
- "example": true
- },
- "single_file_paths": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "example": [
- "config.yml",
- ".github/issue_TEMPLATE.md"
- ]
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "account": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -14887,20 +16587,488 @@
"url"
]
}
- },
- "required": [
- "permissions",
- "repository_selection",
- "single_file_name",
- "repositories_url",
- "account"
- ],
- "nullable": true
+ ]
+ },
+ "installation": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Scoped Installation",
+ "type": "object",
+ "properties": {
+ "permissions": {
+ "title": "App Permissions",
+ "type": "object",
+ "description": "The permissions granted to the user-to-server access token.",
+ "properties": {
+ "actions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "checks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "contents": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "deployments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "environments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "issues": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "metadata": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pull_requests": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "secret_scanning_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "security_events": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "single_file": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "statuses": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "vulnerability_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "workflows": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
+ "enum": [
+ "write"
+ ]
+ },
+ "members": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_plan": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
+ "enum": [
+ "read"
+ ]
+ },
+ "organization_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "organization_packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_self_hosted_runners": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_user_blocking": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "team_discussions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ }
+ },
+ "example": {
+ "contents": "read",
+ "issues": "read",
+ "deployments": "write",
+ "single_file": "read"
+ }
+ },
+ "repository_selection": {
+ "description": "Describe whether all repositories have been selected or there's a selection involved",
+ "type": "string",
+ "enum": [
+ "all",
+ "selected"
+ ]
+ },
+ "single_file_name": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
+ },
+ "has_multiple_single_files": {
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "single_file_paths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "config.yml",
+ ".github/issue_TEMPLATE.md"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "account": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ },
+ "required": [
+ "permissions",
+ "repository_selection",
+ "single_file_name",
+ "repositories_url",
+ "account"
+ ]
+ }
+ ]
},
"expires_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
}
},
"required": [
@@ -15000,16 +17168,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -15078,22 +17252,28 @@
},
"scopes": {
"description": "A list of scopes that this authorization is in.",
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
- },
- "nullable": true
+ }
},
"token": {
"type": "string"
},
"token_last_eight": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hashed_token": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"app": {
"type": "object",
@@ -15116,13 +17296,17 @@
]
},
"note": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"note_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"updated_at": {
"type": "string",
@@ -15133,514 +17317,154 @@
"format": "date-time"
},
"fingerprint": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "installation": {
- "title": "Scoped Installation",
- "type": "object",
- "properties": {
- "permissions": {
- "title": "App Permissions",
- "type": "object",
- "description": "The permissions granted to the user-to-server access token.",
- "properties": {
- "actions": {
- "type": "string",
- "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "administration": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "checks": {
- "type": "string",
- "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "contents": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "deployments": {
- "type": "string",
- "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "environments": {
- "type": "string",
- "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "issues": {
- "type": "string",
- "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "metadata": {
- "type": "string",
- "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pages": {
- "type": "string",
- "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pull_requests": {
- "type": "string",
- "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "secret_scanning_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "security_events": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "single_file": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "statuses": {
- "type": "string",
- "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "vulnerability_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "workflows": {
- "type": "string",
- "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
- "enum": [
- "write"
- ]
- },
- "members": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_administration": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_plan": {
- "type": "string",
- "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
- "enum": [
- "read"
- ]
- },
- "organization_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "organization_packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_self_hosted_runners": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_user_blocking": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "team_discussions": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- }
- },
- "example": {
- "contents": "read",
- "issues": "read",
- "deployments": "write",
- "single_file": "read"
- }
- },
- "repository_selection": {
- "description": "Describe whether all repositories have been selected or there's a selection involved",
- "type": "string",
- "enum": [
- "all",
- "selected"
- ]
- },
- "single_file_name": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
- },
- "has_multiple_single_files": {
- "type": "boolean",
- "example": true
- },
- "single_file_paths": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "example": [
- "config.yml",
- ".github/issue_TEMPLATE.md"
- ]
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "account": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -15664,20 +17488,488 @@
"url"
]
}
- },
- "required": [
- "permissions",
- "repository_selection",
- "single_file_name",
- "repositories_url",
- "account"
- ],
- "nullable": true
+ ]
+ },
+ "installation": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Scoped Installation",
+ "type": "object",
+ "properties": {
+ "permissions": {
+ "title": "App Permissions",
+ "type": "object",
+ "description": "The permissions granted to the user-to-server access token.",
+ "properties": {
+ "actions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "checks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "contents": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "deployments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "environments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "issues": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "metadata": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pull_requests": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "secret_scanning_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "security_events": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "single_file": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "statuses": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "vulnerability_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "workflows": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
+ "enum": [
+ "write"
+ ]
+ },
+ "members": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_plan": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
+ "enum": [
+ "read"
+ ]
+ },
+ "organization_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "organization_packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_self_hosted_runners": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_user_blocking": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "team_discussions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ }
+ },
+ "example": {
+ "contents": "read",
+ "issues": "read",
+ "deployments": "write",
+ "single_file": "read"
+ }
+ },
+ "repository_selection": {
+ "description": "Describe whether all repositories have been selected or there's a selection involved",
+ "type": "string",
+ "enum": [
+ "all",
+ "selected"
+ ]
+ },
+ "single_file_name": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
+ },
+ "has_multiple_single_files": {
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "single_file_paths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "config.yml",
+ ".github/issue_TEMPLATE.md"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "account": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ },
+ "required": [
+ "permissions",
+ "repository_selection",
+ "single_file_name",
+ "repositories_url",
+ "account"
+ ]
+ }
+ ]
},
"expires_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
}
},
"required": [
@@ -15821,15 +18113,17 @@
"properties": {
"scopes": {
"description": "A list of scopes that this authorization is in.",
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"public_repo",
"user"
- ],
- "nullable": true
+ ]
},
"add_scopes": {
"description": "A list of scopes to add to this authorization.",
@@ -15848,7 +18142,9 @@
"note": {
"description": "A note to remind you what the OAuth token is for.",
"type": "string",
- "example": "Update all gems"
+ "examples": [
+ "Update all gems"
+ ]
},
"note_url": {
"description": "A URL to remind you what app the OAuth token is for.",
@@ -15882,22 +18178,28 @@
},
"scopes": {
"description": "A list of scopes that this authorization is in.",
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
- },
- "nullable": true
+ }
},
"token": {
"type": "string"
},
"token_last_eight": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hashed_token": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"app": {
"type": "object",
@@ -15920,13 +18222,17 @@
]
},
"note": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"note_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"updated_at": {
"type": "string",
@@ -15937,514 +18243,154 @@
"format": "date-time"
},
"fingerprint": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "installation": {
- "title": "Scoped Installation",
- "type": "object",
- "properties": {
- "permissions": {
- "title": "App Permissions",
- "type": "object",
- "description": "The permissions granted to the user-to-server access token.",
- "properties": {
- "actions": {
- "type": "string",
- "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "administration": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "checks": {
- "type": "string",
- "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "contents": {
- "type": "string",
- "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "deployments": {
- "type": "string",
- "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "environments": {
- "type": "string",
- "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "issues": {
- "type": "string",
- "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "metadata": {
- "type": "string",
- "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pages": {
- "type": "string",
- "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "pull_requests": {
- "type": "string",
- "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "repository_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "secret_scanning_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "security_events": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "single_file": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "statuses": {
- "type": "string",
- "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "vulnerability_alerts": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "workflows": {
- "type": "string",
- "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
- "enum": [
- "write"
- ]
- },
- "members": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_administration": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_hooks": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_plan": {
- "type": "string",
- "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
- "enum": [
- "read"
- ]
- },
- "organization_projects": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
- "enum": [
- "read",
- "write",
- "admin"
- ]
- },
- "organization_packages": {
- "type": "string",
- "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_secrets": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_self_hosted_runners": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "organization_user_blocking": {
- "type": "string",
- "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- },
- "team_discussions": {
- "type": "string",
- "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
- "enum": [
- "read",
- "write"
- ]
- }
- },
- "example": {
- "contents": "read",
- "issues": "read",
- "deployments": "write",
- "single_file": "read"
- }
- },
- "repository_selection": {
- "description": "Describe whether all repositories have been selected or there's a selection involved",
- "type": "string",
- "enum": [
- "all",
- "selected"
- ]
- },
- "single_file_name": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
- },
- "has_multiple_single_files": {
- "type": "boolean",
- "example": true
- },
- "single_file_paths": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "example": [
- "config.yml",
- ".github/issue_TEMPLATE.md"
- ]
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "account": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -16468,20 +18414,488 @@
"url"
]
}
- },
- "required": [
- "permissions",
- "repository_selection",
- "single_file_name",
- "repositories_url",
- "account"
- ],
- "nullable": true
+ ]
+ },
+ "installation": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Scoped Installation",
+ "type": "object",
+ "properties": {
+ "permissions": {
+ "title": "App Permissions",
+ "type": "object",
+ "description": "The permissions granted to the user-to-server access token.",
+ "properties": {
+ "actions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "checks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for checks on code. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "contents": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "deployments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for deployments and deployment statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "environments": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for managing repository environments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "issues": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "metadata": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "pull_requests": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "repository_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "secret_scanning_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage secret scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage repository secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "security_events": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "single_file": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage just a single file. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "statuses": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for commit statuses. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "vulnerability_alerts": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage Dependabot alerts. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "workflows": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to update GitHub Actions workflow files. Can be one of: `write`.",
+ "enum": [
+ "write"
+ ]
+ },
+ "members": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization teams and members. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_administration": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage access to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_hooks": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_plan": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for viewing an organization's plan. Can be one of: `read`.",
+ "enum": [
+ "read"
+ ]
+ },
+ "organization_projects": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization projects and projects beta (where available). Can be one of: `read`, `write`, or `admin`.",
+ "enum": [
+ "read",
+ "write",
+ "admin"
+ ]
+ },
+ "organization_packages": {
+ "type": "string",
+ "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_secrets": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_self_hosted_runners": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "organization_user_blocking": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to view and manage users blocked by the organization. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ },
+ "team_discussions": {
+ "type": "string",
+ "description": "The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`.",
+ "enum": [
+ "read",
+ "write"
+ ]
+ }
+ },
+ "example": {
+ "contents": "read",
+ "issues": "read",
+ "deployments": "write",
+ "single_file": "read"
+ }
+ },
+ "repository_selection": {
+ "description": "Describe whether all repositories have been selected or there's a selection involved",
+ "type": "string",
+ "enum": [
+ "all",
+ "selected"
+ ]
+ },
+ "single_file_name": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
+ },
+ "has_multiple_single_files": {
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "single_file_paths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "config.yml",
+ ".github/issue_TEMPLATE.md"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "account": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ },
+ "required": [
+ "permissions",
+ "repository_selection",
+ "single_file_name",
+ "repositories_url",
+ "account"
+ ]
+ }
+ ]
},
"expires_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
}
},
"required": [
@@ -16573,16 +18987,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -16730,25 +19150,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -16826,25 +19256,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -17235,55 +19675,81 @@
"properties": {
"login": {
"type": "string",
- "example": "github"
+ "examples": [
+ "github"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEyOk9yZ2FuaXphdGlvbjE="
+ "examples": [
+ "MDEyOk9yZ2FuaXphdGlvbjE="
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github"
+ "examples": [
+ "https://api.github.com/orgs/github"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github/repos"
+ "examples": [
+ "https://api.github.com/orgs/github/repos"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github/events"
+ "examples": [
+ "https://api.github.com/orgs/github/events"
+ ]
},
"hooks_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/hooks"
+ "examples": [
+ "https://api.github.com/orgs/github/hooks"
+ ]
},
"issues_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/issues"
+ "examples": [
+ "https://api.github.com/orgs/github/issues"
+ ]
},
"members_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/members{/member}"
+ "examples": [
+ "https://api.github.com/orgs/github/members{/member}"
+ ]
},
"public_members_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/public_members{/member}"
+ "examples": [
+ "https://api.github.com/orgs/github/public_members{/member}"
+ ]
},
"avatar_url": {
"type": "string",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"description": {
- "type": "string",
- "example": "A great organization",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great organization"
+ ]
}
},
"required": [
@@ -18262,55 +20728,81 @@
"properties": {
"login": {
"type": "string",
- "example": "github"
+ "examples": [
+ "github"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEyOk9yZ2FuaXphdGlvbjE="
+ "examples": [
+ "MDEyOk9yZ2FuaXphdGlvbjE="
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github"
+ "examples": [
+ "https://api.github.com/orgs/github"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github/repos"
+ "examples": [
+ "https://api.github.com/orgs/github/repos"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github/events"
+ "examples": [
+ "https://api.github.com/orgs/github/events"
+ ]
},
"hooks_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/hooks"
+ "examples": [
+ "https://api.github.com/orgs/github/hooks"
+ ]
},
"issues_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/issues"
+ "examples": [
+ "https://api.github.com/orgs/github/issues"
+ ]
},
"members_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/members{/member}"
+ "examples": [
+ "https://api.github.com/orgs/github/members{/member}"
+ ]
},
"public_members_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/public_members{/member}"
+ "examples": [
+ "https://api.github.com/orgs/github/public_members{/member}"
+ ]
},
"avatar_url": {
"type": "string",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"description": {
- "type": "string",
- "example": "A great organization",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great organization"
+ ]
}
},
"required": [
@@ -18619,22 +21111,30 @@
"id": {
"description": "The id of the runner.",
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"name": {
"description": "The name of the runner.",
"type": "string",
- "example": "iMac"
+ "examples": [
+ "iMac"
+ ]
},
"os": {
"description": "The Operating System of the runner.",
"type": "string",
- "example": "macos"
+ "examples": [
+ "macos"
+ ]
},
"status": {
"description": "The status of the runner.",
"type": "string",
- "example": "online"
+ "examples": [
+ "online"
+ ]
},
"busy": {
"type": "boolean"
@@ -19007,22 +21507,30 @@
"id": {
"description": "The id of the runner.",
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"name": {
"description": "The name of the runner.",
"type": "string",
- "example": "iMac"
+ "examples": [
+ "iMac"
+ ]
},
"os": {
"description": "The Operating System of the runner.",
"type": "string",
- "example": "macos"
+ "examples": [
+ "macos"
+ ]
},
"status": {
"description": "The status of the runner.",
"type": "string",
- "example": "online"
+ "examples": [
+ "online"
+ ]
},
"busy": {
"type": "boolean"
@@ -19298,20 +21806,26 @@
"token": {
"description": "The token used for authentication",
"type": "string",
- "example": "v1.1f699f1069f60xxx"
+ "examples": [
+ "v1.1f699f1069f60xxx"
+ ]
},
"expires_at": {
"description": "The time this token expires",
"type": "string",
"format": "date-time",
- "example": "2016-07-11T22:14:10Z"
+ "examples": [
+ "2016-07-11T22:14:10Z"
+ ]
},
"permissions": {
"type": "object",
- "example": {
- "issues": "read",
- "deployments": "write"
- }
+ "examples": [
+ {
+ "issues": "read",
+ "deployments": "write"
+ }
+ ]
},
"repositories": {
"description": "The repositories this token has access to",
@@ -19323,183 +21837,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -19535,96 +22125,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -19656,12 +22288,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -19669,228 +22307,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -19902,19 +22646,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -19923,7 +22673,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -19940,32 +22692,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -20298,25 +23066,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -20339,7 +23115,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -20420,9 +23198,13 @@
}
},
"single_file": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
},
"repository_selection": {
"description": "Describe whether all repositories have been selected or there's a selection involved",
@@ -20494,20 +23276,26 @@
"token": {
"description": "The token used for authentication",
"type": "string",
- "example": "v1.1f699f1069f60xxx"
+ "examples": [
+ "v1.1f699f1069f60xxx"
+ ]
},
"expires_at": {
"description": "The time this token expires",
"type": "string",
"format": "date-time",
- "example": "2016-07-11T22:14:10Z"
+ "examples": [
+ "2016-07-11T22:14:10Z"
+ ]
},
"permissions": {
"type": "object",
- "example": {
- "issues": "read",
- "deployments": "write"
- }
+ "examples": [
+ {
+ "issues": "read",
+ "deployments": "write"
+ }
+ ]
},
"repositories": {
"description": "The repositories this token has access to",
@@ -20519,183 +23307,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -20731,96 +23595,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -20852,12 +23758,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -20865,228 +23777,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -21098,19 +24116,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -21119,7 +24143,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -21136,32 +24162,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -21494,25 +24536,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -21535,7 +24585,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -21616,9 +24668,13 @@
}
},
"single_file": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
},
"repository_selection": {
"description": "Describe whether all repositories have been selected or there's a selection involved",
@@ -21699,22 +24755,30 @@
"id": {
"description": "The id of the runner.",
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"name": {
"description": "The name of the runner.",
"type": "string",
- "example": "iMac"
+ "examples": [
+ "iMac"
+ ]
},
"os": {
"description": "The Operating System of the runner.",
"type": "string",
- "example": "macos"
+ "examples": [
+ "macos"
+ ]
},
"status": {
"description": "The status of the runner.",
"type": "string",
- "example": "online"
+ "examples": [
+ "online"
+ ]
},
"busy": {
"type": "boolean"
@@ -23182,9 +26246,11 @@
]
},
"resolution": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "**Required when the `state` is `resolved`.** The reason for resolving the alert. Can be one of `false_positive`, `wont_fix`, `revoked`, or `used_in_tests`.",
- "nullable": true,
"enum": [
null,
"false_positive",
@@ -23194,130 +26260,180 @@
]
},
"resolved_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
- "nullable": true
+ "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`."
},
"resolved_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"secret_type": {
"type": "string",
@@ -23334,19 +26450,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -23354,96 +26478,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -23473,12 +26639,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -23486,129 +26658,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -23616,58 +26846,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -23721,22 +26973,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -23760,894 +27024,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -24656,77 +27846,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -24734,136 +28306,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -24884,25 +28420,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -24913,7 +28459,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -24930,20 +28479,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -25714,7 +29268,9 @@
"properties": {
"total_advanced_security_committers": {
"type": "integer",
- "example": 25
+ "examples": [
+ 25
+ ]
},
"repositories": {
"type": "array",
@@ -25723,11 +29279,15 @@
"properties": {
"name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"advanced_security_committers": {
"type": "integer",
- "example": 25
+ "examples": [
+ 25
+ ]
},
"advanced_security_committers_breakdown": {
"type": "array",
@@ -25739,7 +29299,9 @@
},
"last_pushed_date": {
"type": "string",
- "example": "2021-11-03"
+ "examples": [
+ "2021-11-03"
+ ]
}
},
"required": [
@@ -26022,8 +29584,10 @@
"type": "string"
},
"type": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"actor": {
"title": "Actor",
@@ -26040,8 +29604,10 @@
"type": "string"
},
"gravatar_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"url": {
"type": "string",
@@ -26095,8 +29661,10 @@
"type": "string"
},
"gravatar_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"url": {
"type": "string",
@@ -26134,9 +29702,11 @@
},
"url": {
"description": "URL for the issue",
- "example": "https://api.github.com/repositories/42/issues/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/1"
+ ]
},
"repository_url": {
"type": "string",
@@ -26159,151 +29729,205 @@
},
"number": {
"description": "Number uniquely identifying the issue within its repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"state": {
"description": "State of the issue; either 'open' or 'closed'",
- "example": "open",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "open"
+ ]
},
"title": {
"description": "Title of the issue",
- "example": "Widget creation fails in Safari on OS X 10.8",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Widget creation fails in Safari on OS X 10.8"
+ ]
},
"body": {
"description": "Contents of the issue",
- "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"labels": {
"description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository",
- "example": [
- "bug",
- "registration"
- ],
"type": "array",
"items": {
"oneOf": [
@@ -26328,12 +29952,16 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"color": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"default": {
"type": "boolean"
@@ -26341,226 +29969,323 @@
}
}
]
- }
+ },
+ "examples": [
+ "bug",
+ "registration"
+ ]
},
"assignee": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"assignees": {
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -26583,158 +30308,541 @@
"type",
"url"
]
- },
- "nullable": true
+ }
},
"milestone": {
- "title": "Milestone",
- "description": "A collection of related issues and pull requests.",
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Milestone",
+ "description": "A collection of related issues and pull requests.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World/milestones/v1.0"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1002604
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDk6TWlsZXN0b25lMTAwMjYwNA=="
+ ]
+ },
+ "number": {
+ "description": "The number of the milestone.",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "state": {
+ "description": "The state of the milestone.",
+ "type": "string",
+ "enum": [
+ "open",
+ "closed"
+ ],
+ "default": "open",
+ "examples": [
+ "open"
+ ]
+ },
+ "title": {
+ "description": "The title of the milestone.",
+ "type": "string",
+ "examples": [
+ "v1.0"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Tracking milestone for version 1.0"
+ ]
+ },
+ "creator": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "open_issues": {
+ "type": "integer",
+ "examples": [
+ 4
+ ]
+ },
+ "closed_issues": {
+ "type": "integer",
+ "examples": [
+ 8
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-10T20:09:31Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2013-02-12T13:22:01Z"
+ ]
+ },
+ "due_on": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2012-10-09T23:39:01Z"
+ ]
+ }
+ },
+ "required": [
+ "closed_issues",
+ "creator",
+ "description",
+ "due_on",
+ "closed_at",
+ "id",
+ "node_id",
+ "labels_url",
+ "html_url",
+ "number",
+ "open_issues",
+ "state",
+ "title",
+ "url",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ ]
+ },
+ "locked": {
+ "type": "boolean"
+ },
+ "active_lock_reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "comments": {
+ "type": "integer"
+ },
+ "pull_request": {
"type": "object",
"properties": {
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ "merged_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "diff_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World/milestones/v1.0"
- },
- "labels_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
- },
- "id": {
- "type": "integer",
- "example": 1002604
- },
- "node_id": {
- "type": "string",
- "example": "MDk6TWlsZXN0b25lMTAwMjYwNA=="
- },
- "number": {
- "description": "The number of the milestone.",
- "type": "integer",
- "example": 42
- },
- "state": {
- "description": "The state of the milestone.",
- "example": "open",
- "type": "string",
- "enum": [
- "open",
- "closed"
+ "type": [
+ "string",
+ "null"
],
- "default": "open"
+ "format": "uri"
},
- "title": {
- "description": "The title of the milestone.",
- "example": "v1.0",
- "type": "string"
+ "patch_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
- "description": {
- "type": "string",
- "example": "Tracking milestone for version 1.0",
- "nullable": true
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
+ }
+ },
+ "required": [
+ "diff_url",
+ "html_url",
+ "patch_url",
+ "url"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "draft": {
+ "type": "boolean"
+ },
+ "closed_by": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "creator": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -26756,242 +30864,10 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
- },
- "open_issues": {
- "type": "integer",
- "example": 4
- },
- "closed_issues": {
- "type": "integer",
- "example": 8
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-10T20:09:31Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2014-03-03T18:58:10Z"
- },
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2013-02-12T13:22:01Z",
- "nullable": true
- },
- "due_on": {
- "type": "string",
- "format": "date-time",
- "example": "2012-10-09T23:39:01Z",
- "nullable": true
+ ]
}
- },
- "required": [
- "closed_issues",
- "creator",
- "description",
- "due_on",
- "closed_at",
- "id",
- "node_id",
- "labels_url",
- "html_url",
- "number",
- "open_issues",
- "state",
- "title",
- "url",
- "created_at",
- "updated_at"
- ],
- "nullable": true
- },
- "locked": {
- "type": "boolean"
- },
- "active_lock_reason": {
- "type": "string",
- "nullable": true
- },
- "comments": {
- "type": "integer"
- },
- "pull_request": {
- "type": "object",
- "properties": {
- "merged_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "diff_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "patch_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- }
- },
- "required": [
- "diff_url",
- "html_url",
- "patch_url",
- "url"
]
},
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "draft": {
- "type": "boolean"
- },
- "closed_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
"body_html": {
"type": "string"
},
@@ -27009,183 +30885,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -27221,96 +31173,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -27342,12 +31336,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -27355,228 +31355,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -27588,19 +31694,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -27609,7 +31721,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -27626,32 +31740,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -27984,25 +32114,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -28025,7 +32163,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -28105,255 +32245,340 @@
]
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -28364,6 +32589,9 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
},
"reactions": {
@@ -28447,22 +32675,28 @@
"properties": {
"id": {
"description": "Unique identifier of the issue comment",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string"
},
"url": {
"description": "URL for the issue comment",
- "example": "https://api.github.com/repositories/42/issues/comments/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/comments/1"
+ ]
},
"body": {
"description": "Contents of the issue comment",
- "example": "What version of Safari were you using when you observed this bug?",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "What version of Safari were you using when you observed this bug?"
+ ]
},
"body_text": {
"type": "string"
@@ -28475,270 +32709,148 @@
"format": "uri"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-14T16:00:49Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-14T16:00:49Z"
- },
- "issue_url": {
- "type": "string",
- "format": "uri"
- },
- "author_association": {
- "title": "author_association",
- "type": "string",
- "example": "OWNER",
- "description": "How the author is associated with the repository.",
- "enum": [
- "COLLABORATOR",
- "CONTRIBUTOR",
- "FIRST_TIMER",
- "FIRST_TIME_CONTRIBUTOR",
- "MANNEQUIN",
- "MEMBER",
- "NONE",
- "OWNER"
- ]
- },
- "performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
- },
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -28760,115 +32872,377 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
+ ]
+ }
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-14T16:00:49Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-14T16:00:49Z"
+ ]
+ },
+ "issue_url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "author_association": {
+ "title": "author_association",
+ "type": "string",
+ "description": "How the author is associated with the repository.",
+ "enum": [
+ "COLLABORATOR",
+ "CONTRIBUTOR",
+ "FIRST_TIMER",
+ "FIRST_TIME_CONTRIBUTOR",
+ "MANNEQUIN",
+ "MEMBER",
+ "NONE",
+ "OWNER"
+ ],
+ "examples": [
+ "OWNER"
+ ]
+ },
+ "performed_via_github_app": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "issues": {
- "type": "string"
+ "id": {
+ "description": "Unique identifier of the GitHub app",
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
- "checks": {
- "type": "string"
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
- "metadata": {
- "type": "string"
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "contents": {
- "type": "string"
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
},
- "deployments": {
- "type": "string"
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
+ "type": "string",
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
+ },
+ "client_secret": {
+ "type": "string",
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
+ },
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
+ "type": "string",
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "required": [
+ "id",
+ "node_id",
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"reactions": {
"title": "Reaction Rollup",
@@ -28944,8 +33318,10 @@
"type": "string"
},
"summary": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"action": {
"type": "string"
@@ -28965,9 +33341,11 @@
"type": "boolean"
},
"created_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
}
},
"required": [
@@ -29070,41 +33448,55 @@
"properties": {
"timeline_url": {
"type": "string",
- "example": "https://github.com/timeline"
+ "examples": [
+ "https://github.com/timeline"
+ ]
},
"user_url": {
"type": "string",
- "example": "https://github.com/{user}"
+ "examples": [
+ "https://github.com/{user}"
+ ]
},
"current_user_public_url": {
"type": "string",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"current_user_url": {
"type": "string",
- "example": "https://github.com/octocat.private?token=abc123"
+ "examples": [
+ "https://github.com/octocat.private?token=abc123"
+ ]
},
"current_user_actor_url": {
"type": "string",
- "example": "https://github.com/octocat.private.actor?token=abc123"
+ "examples": [
+ "https://github.com/octocat.private.actor?token=abc123"
+ ]
},
"current_user_organization_url": {
"type": "string",
- "example": "https://github.com/octocat-org"
+ "examples": [
+ "https://github.com/octocat-org"
+ ]
},
"current_user_organization_urls": {
"type": "array",
- "example": [
- "https://github.com/organizations/github/octocat.private.atom?token=abc123"
- ],
"items": {
"type": "string",
"format": "uri"
- }
+ },
+ "examples": [
+ "https://github.com/organizations/github/octocat.private.atom?token=abc123"
+ ]
},
"security_advisories_url": {
"type": "string",
- "example": "https://github.com/security-advisories"
+ "examples": [
+ "https://github.com/security-advisories"
+ ]
},
"_links": {
"type": "object",
@@ -29444,131 +33836,181 @@
"format": "date-time"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"comments": {
"type": "integer"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"comments_url": {
"type": "string",
@@ -29580,96 +34022,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -29850,16 +34334,13 @@
"properties": {
"description": {
"description": "Description of the gist",
- "example": "Example Ruby script",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Example Ruby script"
+ ]
},
"files": {
"description": "Names and content for the files that make up the gist",
- "example": {
- "hello.rb": {
- "content": "puts \"Hello, World!\""
- }
- },
"type": "object",
"additionalProperties": {
"type": "object",
@@ -29873,23 +34354,34 @@
"required": [
"content"
]
- }
+ },
+ "examples": [
+ {
+ "hello.rb": {
+ "content": "puts \"Hello, World!\""
+ }
+ }
+ ]
},
"public": {
"oneOf": [
{
"description": "Flag indicating whether the gist is public",
- "example": true,
"type": "boolean",
- "default": false
+ "default": false,
+ "examples": [
+ true
+ ]
},
{
"type": "string",
- "example": "true",
"default": "false",
"enum": [
"true",
"false"
+ ],
+ "examples": [
+ "true"
]
}
]
@@ -29915,8 +34407,10 @@
"properties": {
"forks": {
"deprecated": true,
- "nullable": true,
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "object",
"properties": {
@@ -29946,8 +34440,10 @@
"format": "uri"
},
"gravatar_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"url": {
"type": "string",
@@ -29996,37 +34492,53 @@
"type": "boolean"
},
"name": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"company": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"blog": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"location": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "type": "string",
- "format": "email",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "email"
},
"hireable": {
- "type": "boolean",
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ]
},
"bio": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"twitter_username": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"public_repos": {
"type": "integer"
@@ -30072,29 +34584,41 @@
]
},
"suspended_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"private_gists": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"total_private_repos": {
"type": "integer",
- "example": 2
+ "examples": [
+ 2
+ ]
},
"owned_private_repos": {
"type": "integer",
- "example": 2
+ "examples": [
+ 2
+ ]
},
"disk_usage": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"collaborators": {
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
}
},
"required": [
@@ -30145,132 +34669,182 @@
},
"history": {
"deprecated": true,
- "nullable": true,
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Gist History",
"description": "Gist History",
"type": "object",
"properties": {
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"version": {
"type": "string"
@@ -30301,10 +34875,12 @@
}
},
"fork_of": {
- "nullable": true,
"title": "Gist",
"description": "Gist",
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"url": {
"type": "string",
@@ -30371,255 +34947,353 @@
"format": "date-time"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"comments": {
"type": "integer"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"comments_url": {
"type": "string",
"format": "uri"
},
"owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"truncated": {
"type": "boolean"
@@ -30681,8 +35355,10 @@
"files": {
"type": "object",
"additionalProperties": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"filename": {
"type": "string"
@@ -30718,15 +35394,19 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"comments": {
"type": "integer"
},
"user": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"comments_url": {
"type": "string"
@@ -30737,96 +35417,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -30930,16 +35652,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -31137,131 +35865,181 @@
"format": "date-time"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"comments": {
"type": "integer"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"comments_url": {
"type": "string",
@@ -31273,96 +36051,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -31529,16 +36349,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -31710,131 +36536,181 @@
"format": "date-time"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"comments": {
"type": "integer"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"comments_url": {
"type": "string",
@@ -31846,96 +36722,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -32156,8 +37074,10 @@
"properties": {
"forks": {
"deprecated": true,
- "nullable": true,
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "object",
"properties": {
@@ -32187,8 +37107,10 @@
"format": "uri"
},
"gravatar_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"url": {
"type": "string",
@@ -32237,37 +37159,53 @@
"type": "boolean"
},
"name": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"company": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"blog": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"location": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "type": "string",
- "format": "email",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "email"
},
"hireable": {
- "type": "boolean",
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ]
},
"bio": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"twitter_username": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"public_repos": {
"type": "integer"
@@ -32313,29 +37251,41 @@
]
},
"suspended_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"private_gists": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"total_private_repos": {
"type": "integer",
- "example": 2
+ "examples": [
+ 2
+ ]
},
"owned_private_repos": {
"type": "integer",
- "example": 2
+ "examples": [
+ 2
+ ]
},
"disk_usage": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"collaborators": {
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
}
},
"required": [
@@ -32386,132 +37336,182 @@
},
"history": {
"deprecated": true,
- "nullable": true,
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Gist History",
"description": "Gist History",
"type": "object",
"properties": {
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"version": {
"type": "string"
@@ -32542,10 +37542,12 @@
}
},
"fork_of": {
- "nullable": true,
"title": "Gist",
"description": "Gist",
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"url": {
"type": "string",
@@ -32612,255 +37614,353 @@
"format": "date-time"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"comments": {
"type": "integer"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"comments_url": {
"type": "string",
"format": "uri"
},
"owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"truncated": {
"type": "boolean"
@@ -32922,8 +38022,10 @@
"files": {
"type": "object",
"additionalProperties": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"filename": {
"type": "string"
@@ -32959,15 +38061,19 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"comments": {
"type": "integer"
},
"user": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"comments_url": {
"type": "string"
@@ -32978,96 +38084,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -33135,8 +38283,10 @@
"type": "string"
},
"html_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
},
@@ -33218,21 +38368,19 @@
"properties": {
"description": {
"description": "Description of the gist",
- "example": "Example Ruby script",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Example Ruby script"
+ ]
},
"files": {
"description": "Names of files to be updated",
- "example": {
- "hello.rb": {
- "content": "blah",
- "filename": "goodbye.rb"
- }
- },
"type": "object",
"additionalProperties": {
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"content": {
"description": "The new content of the file",
@@ -33240,8 +38388,10 @@
},
"filename": {
"description": "The new filename for the file",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"anyOf": [
@@ -33260,7 +38410,15 @@
"maxProperties": 0
}
]
- }
+ },
+ "examples": [
+ {
+ "hello.rb": {
+ "content": "blah",
+ "filename": "goodbye.rb"
+ }
+ }
+ ]
}
},
"anyOf": [
@@ -33275,8 +38433,10 @@
]
}
],
- "type": "object",
- "nullable": true
+ "type": [
+ "object",
+ "null"
+ ]
}
}
}
@@ -33293,8 +38453,10 @@
"properties": {
"forks": {
"deprecated": true,
- "nullable": true,
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "object",
"properties": {
@@ -33324,8 +38486,10 @@
"format": "uri"
},
"gravatar_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"url": {
"type": "string",
@@ -33374,37 +38538,53 @@
"type": "boolean"
},
"name": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"company": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"blog": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"location": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "type": "string",
- "format": "email",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "email"
},
"hireable": {
- "type": "boolean",
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ]
},
"bio": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"twitter_username": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"public_repos": {
"type": "integer"
@@ -33450,29 +38630,41 @@
]
},
"suspended_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"private_gists": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"total_private_repos": {
"type": "integer",
- "example": 2
+ "examples": [
+ 2
+ ]
},
"owned_private_repos": {
"type": "integer",
- "example": 2
+ "examples": [
+ 2
+ ]
},
"disk_usage": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"collaborators": {
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
}
},
"required": [
@@ -33523,132 +38715,182 @@
},
"history": {
"deprecated": true,
- "nullable": true,
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Gist History",
"description": "Gist History",
"type": "object",
"properties": {
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"version": {
"type": "string"
@@ -33679,10 +38921,12 @@
}
},
"fork_of": {
- "nullable": true,
"title": "Gist",
"description": "Gist",
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"url": {
"type": "string",
@@ -33749,255 +38993,353 @@
"format": "date-time"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"comments": {
"type": "integer"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"comments_url": {
"type": "string",
"format": "uri"
},
"owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"truncated": {
"type": "boolean"
@@ -34059,8 +39401,10 @@
"files": {
"type": "object",
"additionalProperties": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"filename": {
"type": "string"
@@ -34096,15 +39440,19 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"comments": {
"type": "integer"
},
"user": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"comments_url": {
"type": "string"
@@ -34115,96 +39463,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -34300,16 +39690,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -34503,157 +39899,216 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOkdpc3RDb21tZW50MQ=="
+ "examples": [
+ "MDExOkdpc3RDb21tZW50MQ=="
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/gists/a6db0bec360bb87e9418/comments/1"
+ "examples": [
+ "https://api.github.com/gists/a6db0bec360bb87e9418/comments/1"
+ ]
},
"body": {
"description": "The comment text.",
"type": "string",
"maxLength": 65535,
- "example": "Body of the attachment"
+ "examples": [
+ "Body of the attachment"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-04-18T23:23:56Z"
+ "examples": [
+ "2011-04-18T23:23:56Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2011-04-18T23:23:56Z"
+ "examples": [
+ "2011-04-18T23:23:56Z"
+ ]
},
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -34664,6 +40119,9 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
}
},
@@ -34820,7 +40278,9 @@
"description": "The comment text.",
"type": "string",
"maxLength": 65535,
- "example": "Body of the attachment"
+ "examples": [
+ "Body of the attachment"
+ ]
}
},
"type": "object",
@@ -34843,157 +40303,216 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOkdpc3RDb21tZW50MQ=="
+ "examples": [
+ "MDExOkdpc3RDb21tZW50MQ=="
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/gists/a6db0bec360bb87e9418/comments/1"
+ "examples": [
+ "https://api.github.com/gists/a6db0bec360bb87e9418/comments/1"
+ ]
},
"body": {
"description": "The comment text.",
"type": "string",
"maxLength": 65535,
- "example": "Body of the attachment"
+ "examples": [
+ "Body of the attachment"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-04-18T23:23:56Z"
+ "examples": [
+ "2011-04-18T23:23:56Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2011-04-18T23:23:56Z"
+ "examples": [
+ "2011-04-18T23:23:56Z"
+ ]
},
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -35004,6 +40523,9 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
}
},
@@ -35170,157 +40692,216 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOkdpc3RDb21tZW50MQ=="
+ "examples": [
+ "MDExOkdpc3RDb21tZW50MQ=="
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/gists/a6db0bec360bb87e9418/comments/1"
+ "examples": [
+ "https://api.github.com/gists/a6db0bec360bb87e9418/comments/1"
+ ]
},
"body": {
"description": "The comment text.",
"type": "string",
"maxLength": 65535,
- "example": "Body of the attachment"
+ "examples": [
+ "Body of the attachment"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-04-18T23:23:56Z"
+ "examples": [
+ "2011-04-18T23:23:56Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2011-04-18T23:23:56Z"
+ "examples": [
+ "2011-04-18T23:23:56Z"
+ ]
},
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -35331,6 +40912,9 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
}
},
@@ -35427,8 +41011,10 @@
"type": "string"
},
"html_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
},
@@ -35492,7 +41078,9 @@
"description": "The comment text.",
"type": "string",
"maxLength": 65535,
- "example": "Body of the attachment"
+ "examples": [
+ "Body of the attachment"
+ ]
}
},
"type": "object",
@@ -35515,157 +41103,216 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOkdpc3RDb21tZW50MQ=="
+ "examples": [
+ "MDExOkdpc3RDb21tZW50MQ=="
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/gists/a6db0bec360bb87e9418/comments/1"
+ "examples": [
+ "https://api.github.com/gists/a6db0bec360bb87e9418/comments/1"
+ ]
},
"body": {
"description": "The comment text.",
"type": "string",
"maxLength": 65535,
- "example": "Body of the attachment"
+ "examples": [
+ "Body of the attachment"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-04-18T23:23:56Z"
+ "examples": [
+ "2011-04-18T23:23:56Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2011-04-18T23:23:56Z"
+ "examples": [
+ "2011-04-18T23:23:56Z"
+ ]
},
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -35676,6 +41323,9 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
}
},
@@ -35915,131 +41565,183 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/gists/aa5a315d61ae9438b18d/57a7f021a713b1c5a6a199b54cc514735d2d462f"
+ "examples": [
+ "https://api.github.com/gists/aa5a315d61ae9438b18d/57a7f021a713b1c5a6a199b54cc514735d2d462f"
+ ]
},
"version": {
"type": "string",
- "example": "57a7f021a713b1c5a6a199b54cc514735d2d462f"
+ "examples": [
+ "57a7f021a713b1c5a6a199b54cc514735d2d462f"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"change_status": {
"type": "object",
@@ -36058,7 +41760,9 @@
"committed_at": {
"type": "string",
"format": "date-time",
- "example": "2010-04-14T02:15:15Z"
+ "examples": [
+ "2010-04-14T02:15:15Z"
+ ]
}
},
"required": [
@@ -36236,8 +41940,10 @@
"properties": {
"forks": {
"deprecated": true,
- "nullable": true,
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "object",
"properties": {
@@ -36267,8 +41973,10 @@
"format": "uri"
},
"gravatar_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"url": {
"type": "string",
@@ -36317,37 +42025,53 @@
"type": "boolean"
},
"name": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"company": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"blog": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"location": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "type": "string",
- "format": "email",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "email"
},
"hireable": {
- "type": "boolean",
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ]
},
"bio": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"twitter_username": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"public_repos": {
"type": "integer"
@@ -36393,29 +42117,41 @@
]
},
"suspended_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"private_gists": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"total_private_repos": {
"type": "integer",
- "example": 2
+ "examples": [
+ 2
+ ]
},
"owned_private_repos": {
"type": "integer",
- "example": 2
+ "examples": [
+ 2
+ ]
},
"disk_usage": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"collaborators": {
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
}
},
"required": [
@@ -36466,132 +42202,182 @@
},
"history": {
"deprecated": true,
- "nullable": true,
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Gist History",
"description": "Gist History",
"type": "object",
"properties": {
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"version": {
"type": "string"
@@ -36622,10 +42408,12 @@
}
},
"fork_of": {
- "nullable": true,
"title": "Gist",
"description": "Gist",
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"url": {
"type": "string",
@@ -36692,255 +42480,353 @@
"format": "date-time"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"comments": {
"type": "integer"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"comments_url": {
"type": "string",
"format": "uri"
},
"owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"truncated": {
"type": "boolean"
@@ -37002,8 +42888,10 @@
"files": {
"type": "object",
"additionalProperties": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"filename": {
"type": "string"
@@ -37039,15 +42927,19 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"comments": {
"type": "integer"
},
"user": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"comments_url": {
"type": "string"
@@ -37058,96 +42950,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -37400,131 +43334,181 @@
"format": "date-time"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"comments": {
"type": "integer"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"comments_url": {
"type": "string",
@@ -37536,96 +43520,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -37815,16 +43841,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -38176,8 +44208,10 @@
"properties": {
"forks": {
"deprecated": true,
- "nullable": true,
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "object",
"properties": {
@@ -38207,8 +44241,10 @@
"format": "uri"
},
"gravatar_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"url": {
"type": "string",
@@ -38257,37 +44293,53 @@
"type": "boolean"
},
"name": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"company": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"blog": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"location": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "type": "string",
- "format": "email",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "email"
},
"hireable": {
- "type": "boolean",
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ]
},
"bio": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"twitter_username": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"public_repos": {
"type": "integer"
@@ -38333,29 +44385,41 @@
]
},
"suspended_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"private_gists": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"total_private_repos": {
"type": "integer",
- "example": 2
+ "examples": [
+ 2
+ ]
},
"owned_private_repos": {
"type": "integer",
- "example": 2
+ "examples": [
+ 2
+ ]
},
"disk_usage": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"collaborators": {
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
}
},
"required": [
@@ -38406,132 +44470,182 @@
},
"history": {
"deprecated": true,
- "nullable": true,
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Gist History",
"description": "Gist History",
"type": "object",
"properties": {
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"version": {
"type": "string"
@@ -38562,10 +44676,12 @@
}
},
"fork_of": {
- "nullable": true,
"title": "Gist",
"description": "Gist",
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"url": {
"type": "string",
@@ -38632,255 +44748,353 @@
"format": "date-time"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"comments": {
"type": "integer"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"comments_url": {
"type": "string",
"format": "uri"
},
"owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"truncated": {
"type": "boolean"
@@ -38942,8 +45156,10 @@
"files": {
"type": "object",
"additionalProperties": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"filename": {
"type": "string"
@@ -38979,15 +45195,19 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"comments": {
"type": "integer"
},
"user": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"comments_url": {
"type": "string"
@@ -38998,96 +45218,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -39183,16 +45445,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -39352,11 +45620,15 @@
"properties": {
"name": {
"type": "string",
- "example": "C"
+ "examples": [
+ "C"
+ ]
},
"source": {
"type": "string",
- "example": "# Object files\n*.o\n\n# Libraries\n*.lib\n*.a\n\n# Shared objects (inc. Windows DLLs)\n*.dll\n*.so\n*.so.*\n*.dylib\n\n# Executables\n*.exe\n*.out\n*.app\n"
+ "examples": [
+ "# Object files\n*.o\n\n# Libraries\n*.lib\n*.a\n\n# Shared objects (inc. Windows DLLs)\n*.dll\n*.so\n*.so.*\n*.dylib\n\n# Executables\n*.exe\n*.out\n*.app\n"
+ ]
}
},
"required": [
@@ -39443,183 +45715,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -39655,96 +46003,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -39776,12 +46166,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -39789,228 +46185,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -40022,19 +46524,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -40043,7 +46551,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -40060,32 +46570,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -40418,25 +46944,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -40459,7 +46993,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -40541,7 +47077,9 @@
},
"repository_selection": {
"type": "string",
- "example": "selected"
+ "examples": [
+ "selected"
+ ]
}
}
},
@@ -40940,9 +47478,11 @@
},
"url": {
"description": "URL for the issue",
- "example": "https://api.github.com/repositories/42/issues/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/1"
+ ]
},
"repository_url": {
"type": "string",
@@ -40965,151 +47505,205 @@
},
"number": {
"description": "Number uniquely identifying the issue within its repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"state": {
"description": "State of the issue; either 'open' or 'closed'",
- "example": "open",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "open"
+ ]
},
"title": {
"description": "Title of the issue",
- "example": "Widget creation fails in Safari on OS X 10.8",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Widget creation fails in Safari on OS X 10.8"
+ ]
},
"body": {
"description": "Contents of the issue",
- "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"labels": {
"description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository",
- "example": [
- "bug",
- "registration"
- ],
"type": "array",
"items": {
"oneOf": [
@@ -41134,12 +47728,16 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"color": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"default": {
"type": "boolean"
@@ -41147,226 +47745,323 @@
}
}
]
- }
+ },
+ "examples": [
+ "bug",
+ "registration"
+ ]
},
"assignee": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"assignees": {
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -41389,158 +48084,541 @@
"type",
"url"
]
- },
- "nullable": true
+ }
},
"milestone": {
- "title": "Milestone",
- "description": "A collection of related issues and pull requests.",
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Milestone",
+ "description": "A collection of related issues and pull requests.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World/milestones/v1.0"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1002604
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDk6TWlsZXN0b25lMTAwMjYwNA=="
+ ]
+ },
+ "number": {
+ "description": "The number of the milestone.",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "state": {
+ "description": "The state of the milestone.",
+ "type": "string",
+ "enum": [
+ "open",
+ "closed"
+ ],
+ "default": "open",
+ "examples": [
+ "open"
+ ]
+ },
+ "title": {
+ "description": "The title of the milestone.",
+ "type": "string",
+ "examples": [
+ "v1.0"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Tracking milestone for version 1.0"
+ ]
+ },
+ "creator": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "open_issues": {
+ "type": "integer",
+ "examples": [
+ 4
+ ]
+ },
+ "closed_issues": {
+ "type": "integer",
+ "examples": [
+ 8
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-10T20:09:31Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2013-02-12T13:22:01Z"
+ ]
+ },
+ "due_on": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2012-10-09T23:39:01Z"
+ ]
+ }
+ },
+ "required": [
+ "closed_issues",
+ "creator",
+ "description",
+ "due_on",
+ "closed_at",
+ "id",
+ "node_id",
+ "labels_url",
+ "html_url",
+ "number",
+ "open_issues",
+ "state",
+ "title",
+ "url",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ ]
+ },
+ "locked": {
+ "type": "boolean"
+ },
+ "active_lock_reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "comments": {
+ "type": "integer"
+ },
+ "pull_request": {
"type": "object",
"properties": {
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ "merged_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "diff_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World/milestones/v1.0"
- },
- "labels_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
- },
- "id": {
- "type": "integer",
- "example": 1002604
- },
- "node_id": {
- "type": "string",
- "example": "MDk6TWlsZXN0b25lMTAwMjYwNA=="
- },
- "number": {
- "description": "The number of the milestone.",
- "type": "integer",
- "example": 42
- },
- "state": {
- "description": "The state of the milestone.",
- "example": "open",
- "type": "string",
- "enum": [
- "open",
- "closed"
+ "type": [
+ "string",
+ "null"
],
- "default": "open"
+ "format": "uri"
},
- "title": {
- "description": "The title of the milestone.",
- "example": "v1.0",
- "type": "string"
+ "patch_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
- "description": {
- "type": "string",
- "example": "Tracking milestone for version 1.0",
- "nullable": true
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
+ }
+ },
+ "required": [
+ "diff_url",
+ "html_url",
+ "patch_url",
+ "url"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "draft": {
+ "type": "boolean"
+ },
+ "closed_by": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "creator": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -41562,242 +48640,10 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
- },
- "open_issues": {
- "type": "integer",
- "example": 4
- },
- "closed_issues": {
- "type": "integer",
- "example": 8
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-10T20:09:31Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2014-03-03T18:58:10Z"
- },
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2013-02-12T13:22:01Z",
- "nullable": true
- },
- "due_on": {
- "type": "string",
- "format": "date-time",
- "example": "2012-10-09T23:39:01Z",
- "nullable": true
+ ]
}
- },
- "required": [
- "closed_issues",
- "creator",
- "description",
- "due_on",
- "closed_at",
- "id",
- "node_id",
- "labels_url",
- "html_url",
- "number",
- "open_issues",
- "state",
- "title",
- "url",
- "created_at",
- "updated_at"
- ],
- "nullable": true
- },
- "locked": {
- "type": "boolean"
- },
- "active_lock_reason": {
- "type": "string",
- "nullable": true
- },
- "comments": {
- "type": "integer"
- },
- "pull_request": {
- "type": "object",
- "properties": {
- "merged_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "diff_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "patch_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- }
- },
- "required": [
- "diff_url",
- "html_url",
- "patch_url",
- "url"
]
},
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "draft": {
- "type": "boolean"
- },
- "closed_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
"body_html": {
"type": "string"
},
@@ -41815,183 +48661,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -42027,96 +48949,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -42148,12 +49112,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -42161,228 +49131,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -42394,19 +49470,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -42415,7 +49497,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -42432,32 +49516,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -42790,25 +49890,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -42831,7 +49939,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -42911,255 +50021,340 @@
]
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -43170,6 +50365,9 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
},
"reactions": {
@@ -43569,16 +50767,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -43685,26 +50889,40 @@
"properties": {
"key": {
"type": "string",
- "example": "mit"
+ "examples": [
+ "mit"
+ ]
},
"name": {
"type": "string",
- "example": "MIT License"
+ "examples": [
+ "MIT License"
+ ]
},
"url": {
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://api.github.com/licenses/mit"
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
},
"spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
},
"html_url": {
"type": "string",
@@ -43824,78 +51042,102 @@
"properties": {
"key": {
"type": "string",
- "example": "mit"
+ "examples": [
+ "mit"
+ ]
},
"name": {
"type": "string",
- "example": "MIT License"
+ "examples": [
+ "MIT License"
+ ]
},
"spdx_id": {
- "type": "string",
- "example": "MIT",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
},
"url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://api.github.com/licenses/mit",
- "nullable": true
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "http://choosealicense.com/licenses/mit/"
+ "examples": [
+ "http://choosealicense.com/licenses/mit/"
+ ]
},
"description": {
"type": "string",
- "example": "A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty."
+ "examples": [
+ "A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty."
+ ]
},
"implementation": {
"type": "string",
- "example": "Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders."
+ "examples": [
+ "Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders."
+ ]
},
"permissions": {
"type": "array",
- "example": [
+ "items": {
+ "type": "string"
+ },
+ "examples": [
"commercial-use",
"modifications",
"distribution",
"sublicense",
"private-use"
- ],
- "items": {
- "type": "string"
- }
+ ]
},
"conditions": {
"type": "array",
- "example": [
- "include-copyright"
- ],
"items": {
"type": "string"
- }
+ },
+ "examples": [
+ "include-copyright"
+ ]
},
"limitations": {
"type": "array",
- "example": [
- "no-liability"
- ],
"items": {
"type": "string"
- }
+ },
+ "examples": [
+ "no-liability"
+ ]
},
"body": {
"type": "string",
- "example": "\n\nThe MIT License (MIT)\n\nCopyright (c) [year] [fullname]\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
+ "examples": [
+ "\n\nThe MIT License (MIT)\n\nCopyright (c) [year] [fullname]\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
+ ]
},
"featured": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
}
},
"required": [
@@ -44042,8 +51284,10 @@
"gfm"
],
"default": "markdown",
- "example": "markdown",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "markdown"
+ ]
},
"context": {
"description": "The repository context to use when creating references in `gfm` mode. For example, setting `context` to `octo-org/octo-repo` will change the text `#42` into an HTML link to issue 42 in the `octo-org/octo-repo` repository.",
@@ -44211,11 +51455,16 @@
"type": "string"
},
"email": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"marketplace_pending_change": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"is_installed": {
"type": "boolean"
@@ -44224,8 +51473,10 @@
"type": "string"
},
"unit_count": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"id": {
"type": "integer"
@@ -44238,59 +51489,83 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/marketplace_listing/plans/1313"
+ "examples": [
+ "https://api.github.com/marketplace_listing/plans/1313"
+ ]
},
"accounts_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/marketplace_listing/plans/1313/accounts"
+ "examples": [
+ "https://api.github.com/marketplace_listing/plans/1313/accounts"
+ ]
},
"id": {
"type": "integer",
- "example": 1313
+ "examples": [
+ 1313
+ ]
},
"number": {
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
},
"name": {
"type": "string",
- "example": "Pro"
+ "examples": [
+ "Pro"
+ ]
},
"description": {
"type": "string",
- "example": "A professional-grade CI solution"
+ "examples": [
+ "A professional-grade CI solution"
+ ]
},
"monthly_price_in_cents": {
"type": "integer",
- "example": 1099
+ "examples": [
+ 1099
+ ]
},
"yearly_price_in_cents": {
"type": "integer",
- "example": 11870
+ "examples": [
+ 11870
+ ]
},
"price_model": {
"type": "string",
- "example": "flat-rate"
+ "examples": [
+ "flat-rate"
+ ]
},
"has_free_trial": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"unit_name": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"state": {
"type": "string",
- "example": "published"
+ "examples": [
+ "published"
+ ]
},
"bullets": {
"type": "array",
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"Up to 25 private repositories",
"11 concurrent builds"
]
@@ -44312,8 +51587,7 @@
"bullets"
]
}
- },
- "nullable": true
+ }
},
"marketplace_purchase": {
"type": "object",
@@ -44322,22 +51596,28 @@
"type": "string"
},
"next_billing_date": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"is_installed": {
"type": "boolean"
},
"unit_count": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"on_free_trial": {
"type": "boolean"
},
"free_trial_ends_on": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"updated_at": {
"type": "string"
@@ -44350,59 +51630,83 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/marketplace_listing/plans/1313"
+ "examples": [
+ "https://api.github.com/marketplace_listing/plans/1313"
+ ]
},
"accounts_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/marketplace_listing/plans/1313/accounts"
+ "examples": [
+ "https://api.github.com/marketplace_listing/plans/1313/accounts"
+ ]
},
"id": {
"type": "integer",
- "example": 1313
+ "examples": [
+ 1313
+ ]
},
"number": {
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
},
"name": {
"type": "string",
- "example": "Pro"
+ "examples": [
+ "Pro"
+ ]
},
"description": {
"type": "string",
- "example": "A professional-grade CI solution"
+ "examples": [
+ "A professional-grade CI solution"
+ ]
},
"monthly_price_in_cents": {
"type": "integer",
- "example": 1099
+ "examples": [
+ 1099
+ ]
},
"yearly_price_in_cents": {
"type": "integer",
- "example": 11870
+ "examples": [
+ 11870
+ ]
},
"price_model": {
"type": "string",
- "example": "flat-rate"
+ "examples": [
+ "flat-rate"
+ ]
},
"has_free_trial": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"unit_name": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"state": {
"type": "string",
- "example": "published"
+ "examples": [
+ "published"
+ ]
},
"bullets": {
"type": "array",
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"Up to 25 private repositories",
"11 concurrent builds"
]
@@ -44607,59 +51911,83 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/marketplace_listing/plans/1313"
+ "examples": [
+ "https://api.github.com/marketplace_listing/plans/1313"
+ ]
},
"accounts_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/marketplace_listing/plans/1313/accounts"
+ "examples": [
+ "https://api.github.com/marketplace_listing/plans/1313/accounts"
+ ]
},
"id": {
"type": "integer",
- "example": 1313
+ "examples": [
+ 1313
+ ]
},
"number": {
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
},
"name": {
"type": "string",
- "example": "Pro"
+ "examples": [
+ "Pro"
+ ]
},
"description": {
"type": "string",
- "example": "A professional-grade CI solution"
+ "examples": [
+ "A professional-grade CI solution"
+ ]
},
"monthly_price_in_cents": {
"type": "integer",
- "example": 1099
+ "examples": [
+ 1099
+ ]
},
"yearly_price_in_cents": {
"type": "integer",
- "example": 11870
+ "examples": [
+ 11870
+ ]
},
"price_model": {
"type": "string",
- "example": "flat-rate"
+ "examples": [
+ "flat-rate"
+ ]
},
"has_free_trial": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"unit_name": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"state": {
"type": "string",
- "example": "published"
+ "examples": [
+ "published"
+ ]
},
"bullets": {
"type": "array",
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"Up to 25 private repositories",
"11 concurrent builds"
]
@@ -44874,11 +52202,16 @@
"type": "string"
},
"email": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"marketplace_pending_change": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"is_installed": {
"type": "boolean"
@@ -44887,8 +52220,10 @@
"type": "string"
},
"unit_count": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"id": {
"type": "integer"
@@ -44901,59 +52236,83 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/marketplace_listing/plans/1313"
+ "examples": [
+ "https://api.github.com/marketplace_listing/plans/1313"
+ ]
},
"accounts_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/marketplace_listing/plans/1313/accounts"
+ "examples": [
+ "https://api.github.com/marketplace_listing/plans/1313/accounts"
+ ]
},
"id": {
"type": "integer",
- "example": 1313
+ "examples": [
+ 1313
+ ]
},
"number": {
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
},
"name": {
"type": "string",
- "example": "Pro"
+ "examples": [
+ "Pro"
+ ]
},
"description": {
"type": "string",
- "example": "A professional-grade CI solution"
+ "examples": [
+ "A professional-grade CI solution"
+ ]
},
"monthly_price_in_cents": {
"type": "integer",
- "example": 1099
+ "examples": [
+ 1099
+ ]
},
"yearly_price_in_cents": {
"type": "integer",
- "example": 11870
+ "examples": [
+ 11870
+ ]
},
"price_model": {
"type": "string",
- "example": "flat-rate"
+ "examples": [
+ "flat-rate"
+ ]
},
"has_free_trial": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"unit_name": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"state": {
"type": "string",
- "example": "published"
+ "examples": [
+ "published"
+ ]
},
"bullets": {
"type": "array",
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"Up to 25 private repositories",
"11 concurrent builds"
]
@@ -44975,8 +52334,7 @@
"bullets"
]
}
- },
- "nullable": true
+ }
},
"marketplace_purchase": {
"type": "object",
@@ -44985,22 +52343,28 @@
"type": "string"
},
"next_billing_date": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"is_installed": {
"type": "boolean"
},
"unit_count": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"on_free_trial": {
"type": "boolean"
},
"free_trial_ends_on": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"updated_at": {
"type": "string"
@@ -45013,59 +52377,83 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/marketplace_listing/plans/1313"
+ "examples": [
+ "https://api.github.com/marketplace_listing/plans/1313"
+ ]
},
"accounts_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/marketplace_listing/plans/1313/accounts"
+ "examples": [
+ "https://api.github.com/marketplace_listing/plans/1313/accounts"
+ ]
},
"id": {
"type": "integer",
- "example": 1313
+ "examples": [
+ 1313
+ ]
},
"number": {
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
},
"name": {
"type": "string",
- "example": "Pro"
+ "examples": [
+ "Pro"
+ ]
},
"description": {
"type": "string",
- "example": "A professional-grade CI solution"
+ "examples": [
+ "A professional-grade CI solution"
+ ]
},
"monthly_price_in_cents": {
"type": "integer",
- "example": 1099
+ "examples": [
+ 1099
+ ]
},
"yearly_price_in_cents": {
"type": "integer",
- "example": 11870
+ "examples": [
+ 11870
+ ]
},
"price_model": {
"type": "string",
- "example": "flat-rate"
+ "examples": [
+ "flat-rate"
+ ]
},
"has_free_trial": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"unit_name": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"state": {
"type": "string",
- "example": "published"
+ "examples": [
+ "published"
+ ]
},
"bullets": {
"type": "array",
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"Up to 25 private repositories",
"11 concurrent builds"
]
@@ -45243,16 +52631,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -45351,11 +52745,16 @@
"type": "string"
},
"email": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"marketplace_pending_change": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"is_installed": {
"type": "boolean"
@@ -45364,8 +52763,10 @@
"type": "string"
},
"unit_count": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"id": {
"type": "integer"
@@ -45378,59 +52779,83 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/marketplace_listing/plans/1313"
+ "examples": [
+ "https://api.github.com/marketplace_listing/plans/1313"
+ ]
},
"accounts_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/marketplace_listing/plans/1313/accounts"
+ "examples": [
+ "https://api.github.com/marketplace_listing/plans/1313/accounts"
+ ]
},
"id": {
"type": "integer",
- "example": 1313
+ "examples": [
+ 1313
+ ]
},
"number": {
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
},
"name": {
"type": "string",
- "example": "Pro"
+ "examples": [
+ "Pro"
+ ]
},
"description": {
"type": "string",
- "example": "A professional-grade CI solution"
+ "examples": [
+ "A professional-grade CI solution"
+ ]
},
"monthly_price_in_cents": {
"type": "integer",
- "example": 1099
+ "examples": [
+ 1099
+ ]
},
"yearly_price_in_cents": {
"type": "integer",
- "example": 11870
+ "examples": [
+ 11870
+ ]
},
"price_model": {
"type": "string",
- "example": "flat-rate"
+ "examples": [
+ "flat-rate"
+ ]
},
"has_free_trial": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"unit_name": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"state": {
"type": "string",
- "example": "published"
+ "examples": [
+ "published"
+ ]
},
"bullets": {
"type": "array",
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"Up to 25 private repositories",
"11 concurrent builds"
]
@@ -45452,8 +52877,7 @@
"bullets"
]
}
- },
- "nullable": true
+ }
},
"marketplace_purchase": {
"type": "object",
@@ -45462,22 +52886,28 @@
"type": "string"
},
"next_billing_date": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"is_installed": {
"type": "boolean"
},
"unit_count": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"on_free_trial": {
"type": "boolean"
},
"free_trial_ends_on": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"updated_at": {
"type": "string"
@@ -45490,59 +52920,83 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/marketplace_listing/plans/1313"
+ "examples": [
+ "https://api.github.com/marketplace_listing/plans/1313"
+ ]
},
"accounts_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/marketplace_listing/plans/1313/accounts"
+ "examples": [
+ "https://api.github.com/marketplace_listing/plans/1313/accounts"
+ ]
},
"id": {
"type": "integer",
- "example": 1313
+ "examples": [
+ 1313
+ ]
},
"number": {
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
},
"name": {
"type": "string",
- "example": "Pro"
+ "examples": [
+ "Pro"
+ ]
},
"description": {
"type": "string",
- "example": "A professional-grade CI solution"
+ "examples": [
+ "A professional-grade CI solution"
+ ]
},
"monthly_price_in_cents": {
"type": "integer",
- "example": 1099
+ "examples": [
+ 1099
+ ]
},
"yearly_price_in_cents": {
"type": "integer",
- "example": 11870
+ "examples": [
+ 11870
+ ]
},
"price_model": {
"type": "string",
- "example": "flat-rate"
+ "examples": [
+ "flat-rate"
+ ]
},
"has_free_trial": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"unit_name": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"state": {
"type": "string",
- "example": "published"
+ "examples": [
+ "published"
+ ]
},
"bullets": {
"type": "array",
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"Up to 25 private repositories",
"11 concurrent builds"
]
@@ -45724,59 +53178,83 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/marketplace_listing/plans/1313"
+ "examples": [
+ "https://api.github.com/marketplace_listing/plans/1313"
+ ]
},
"accounts_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/marketplace_listing/plans/1313/accounts"
+ "examples": [
+ "https://api.github.com/marketplace_listing/plans/1313/accounts"
+ ]
},
"id": {
"type": "integer",
- "example": 1313
+ "examples": [
+ 1313
+ ]
},
"number": {
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
},
"name": {
"type": "string",
- "example": "Pro"
+ "examples": [
+ "Pro"
+ ]
},
"description": {
"type": "string",
- "example": "A professional-grade CI solution"
+ "examples": [
+ "A professional-grade CI solution"
+ ]
},
"monthly_price_in_cents": {
"type": "integer",
- "example": 1099
+ "examples": [
+ 1099
+ ]
},
"yearly_price_in_cents": {
"type": "integer",
- "example": 11870
+ "examples": [
+ 11870
+ ]
},
"price_model": {
"type": "string",
- "example": "flat-rate"
+ "examples": [
+ "flat-rate"
+ ]
},
"has_free_trial": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"unit_name": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"state": {
"type": "string",
- "example": "published"
+ "examples": [
+ "published"
+ ]
},
"bullets": {
"type": "array",
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"Up to 25 private repositories",
"11 concurrent builds"
]
@@ -45965,11 +53443,16 @@
"type": "string"
},
"email": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"marketplace_pending_change": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"is_installed": {
"type": "boolean"
@@ -45978,8 +53461,10 @@
"type": "string"
},
"unit_count": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"id": {
"type": "integer"
@@ -45992,59 +53477,83 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/marketplace_listing/plans/1313"
+ "examples": [
+ "https://api.github.com/marketplace_listing/plans/1313"
+ ]
},
"accounts_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/marketplace_listing/plans/1313/accounts"
+ "examples": [
+ "https://api.github.com/marketplace_listing/plans/1313/accounts"
+ ]
},
"id": {
"type": "integer",
- "example": 1313
+ "examples": [
+ 1313
+ ]
},
"number": {
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
},
"name": {
"type": "string",
- "example": "Pro"
+ "examples": [
+ "Pro"
+ ]
},
"description": {
"type": "string",
- "example": "A professional-grade CI solution"
+ "examples": [
+ "A professional-grade CI solution"
+ ]
},
"monthly_price_in_cents": {
"type": "integer",
- "example": 1099
+ "examples": [
+ 1099
+ ]
},
"yearly_price_in_cents": {
"type": "integer",
- "example": 11870
+ "examples": [
+ 11870
+ ]
},
"price_model": {
"type": "string",
- "example": "flat-rate"
+ "examples": [
+ "flat-rate"
+ ]
},
"has_free_trial": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"unit_name": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"state": {
"type": "string",
- "example": "published"
+ "examples": [
+ "published"
+ ]
},
"bullets": {
"type": "array",
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"Up to 25 private repositories",
"11 concurrent builds"
]
@@ -46066,8 +53575,7 @@
"bullets"
]
}
- },
- "nullable": true
+ }
},
"marketplace_purchase": {
"type": "object",
@@ -46076,22 +53584,28 @@
"type": "string"
},
"next_billing_date": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"is_installed": {
"type": "boolean"
},
"unit_count": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"on_free_trial": {
"type": "boolean"
},
"free_trial_ends_on": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"updated_at": {
"type": "string"
@@ -46104,59 +53618,83 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/marketplace_listing/plans/1313"
+ "examples": [
+ "https://api.github.com/marketplace_listing/plans/1313"
+ ]
},
"accounts_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/marketplace_listing/plans/1313/accounts"
+ "examples": [
+ "https://api.github.com/marketplace_listing/plans/1313/accounts"
+ ]
},
"id": {
"type": "integer",
- "example": 1313
+ "examples": [
+ 1313
+ ]
},
"number": {
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
},
"name": {
"type": "string",
- "example": "Pro"
+ "examples": [
+ "Pro"
+ ]
},
"description": {
"type": "string",
- "example": "A professional-grade CI solution"
+ "examples": [
+ "A professional-grade CI solution"
+ ]
},
"monthly_price_in_cents": {
"type": "integer",
- "example": 1099
+ "examples": [
+ 1099
+ ]
},
"yearly_price_in_cents": {
"type": "integer",
- "example": 11870
+ "examples": [
+ 11870
+ ]
},
"price_model": {
"type": "string",
- "example": "flat-rate"
+ "examples": [
+ "flat-rate"
+ ]
},
"has_free_trial": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"unit_name": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"state": {
"type": "string",
- "example": "published"
+ "examples": [
+ "published"
+ ]
},
"bullets": {
"type": "array",
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"Up to 25 private repositories",
"11 concurrent builds"
]
@@ -46325,7 +53863,9 @@
"properties": {
"verifiable_password_authentication": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"ssh_key_fingerprints": {
"type": "object",
@@ -46349,7 +53889,7 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl"
]
},
@@ -46358,7 +53898,7 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"127.0.0.1/32"
]
},
@@ -46367,7 +53907,7 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"127.0.0.1/32"
]
},
@@ -46376,7 +53916,7 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"127.0.0.1/32"
]
},
@@ -46385,7 +53925,7 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"127.0.0.1/32"
]
},
@@ -46394,7 +53934,7 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"13.65.0.0/16",
"157.55.204.33/32",
"2a01:111:f403:f90c::/62"
@@ -46405,7 +53945,7 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"192.30.252.153/32",
"192.30.252.154/32"
]
@@ -46415,7 +53955,7 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"54.158.161.132",
"54.226.70.38"
]
@@ -46425,7 +53965,7 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"13.64.0.0/16",
"13.65.0.0/16"
]
@@ -46435,7 +53975,7 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"192.168.7.15/32",
"192.168.7.16/32"
]
@@ -46574,8 +54114,10 @@
"type": "string"
},
"type": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"actor": {
"title": "Actor",
@@ -46592,8 +54134,10 @@
"type": "string"
},
"gravatar_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"url": {
"type": "string",
@@ -46647,8 +54191,10 @@
"type": "string"
},
"gravatar_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"url": {
"type": "string",
@@ -46686,9 +54232,11 @@
},
"url": {
"description": "URL for the issue",
- "example": "https://api.github.com/repositories/42/issues/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/1"
+ ]
},
"repository_url": {
"type": "string",
@@ -46711,151 +54259,205 @@
},
"number": {
"description": "Number uniquely identifying the issue within its repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"state": {
"description": "State of the issue; either 'open' or 'closed'",
- "example": "open",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "open"
+ ]
},
"title": {
"description": "Title of the issue",
- "example": "Widget creation fails in Safari on OS X 10.8",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Widget creation fails in Safari on OS X 10.8"
+ ]
},
"body": {
"description": "Contents of the issue",
- "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"labels": {
"description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository",
- "example": [
- "bug",
- "registration"
- ],
"type": "array",
"items": {
"oneOf": [
@@ -46880,12 +54482,16 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"color": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"default": {
"type": "boolean"
@@ -46893,226 +54499,323 @@
}
}
]
- }
+ },
+ "examples": [
+ "bug",
+ "registration"
+ ]
},
"assignee": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"assignees": {
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -47135,158 +54838,541 @@
"type",
"url"
]
- },
- "nullable": true
+ }
},
"milestone": {
- "title": "Milestone",
- "description": "A collection of related issues and pull requests.",
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Milestone",
+ "description": "A collection of related issues and pull requests.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World/milestones/v1.0"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1002604
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDk6TWlsZXN0b25lMTAwMjYwNA=="
+ ]
+ },
+ "number": {
+ "description": "The number of the milestone.",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "state": {
+ "description": "The state of the milestone.",
+ "type": "string",
+ "enum": [
+ "open",
+ "closed"
+ ],
+ "default": "open",
+ "examples": [
+ "open"
+ ]
+ },
+ "title": {
+ "description": "The title of the milestone.",
+ "type": "string",
+ "examples": [
+ "v1.0"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Tracking milestone for version 1.0"
+ ]
+ },
+ "creator": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "open_issues": {
+ "type": "integer",
+ "examples": [
+ 4
+ ]
+ },
+ "closed_issues": {
+ "type": "integer",
+ "examples": [
+ 8
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-10T20:09:31Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2013-02-12T13:22:01Z"
+ ]
+ },
+ "due_on": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2012-10-09T23:39:01Z"
+ ]
+ }
+ },
+ "required": [
+ "closed_issues",
+ "creator",
+ "description",
+ "due_on",
+ "closed_at",
+ "id",
+ "node_id",
+ "labels_url",
+ "html_url",
+ "number",
+ "open_issues",
+ "state",
+ "title",
+ "url",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ ]
+ },
+ "locked": {
+ "type": "boolean"
+ },
+ "active_lock_reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "comments": {
+ "type": "integer"
+ },
+ "pull_request": {
"type": "object",
"properties": {
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ "merged_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "diff_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World/milestones/v1.0"
- },
- "labels_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
- },
- "id": {
- "type": "integer",
- "example": 1002604
- },
- "node_id": {
- "type": "string",
- "example": "MDk6TWlsZXN0b25lMTAwMjYwNA=="
- },
- "number": {
- "description": "The number of the milestone.",
- "type": "integer",
- "example": 42
- },
- "state": {
- "description": "The state of the milestone.",
- "example": "open",
- "type": "string",
- "enum": [
- "open",
- "closed"
+ "type": [
+ "string",
+ "null"
],
- "default": "open"
+ "format": "uri"
},
- "title": {
- "description": "The title of the milestone.",
- "example": "v1.0",
- "type": "string"
+ "patch_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
- "description": {
- "type": "string",
- "example": "Tracking milestone for version 1.0",
- "nullable": true
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
+ }
+ },
+ "required": [
+ "diff_url",
+ "html_url",
+ "patch_url",
+ "url"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "draft": {
+ "type": "boolean"
+ },
+ "closed_by": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "creator": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -47308,242 +55394,10 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
- },
- "open_issues": {
- "type": "integer",
- "example": 4
- },
- "closed_issues": {
- "type": "integer",
- "example": 8
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-10T20:09:31Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2014-03-03T18:58:10Z"
- },
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2013-02-12T13:22:01Z",
- "nullable": true
- },
- "due_on": {
- "type": "string",
- "format": "date-time",
- "example": "2012-10-09T23:39:01Z",
- "nullable": true
+ ]
}
- },
- "required": [
- "closed_issues",
- "creator",
- "description",
- "due_on",
- "closed_at",
- "id",
- "node_id",
- "labels_url",
- "html_url",
- "number",
- "open_issues",
- "state",
- "title",
- "url",
- "created_at",
- "updated_at"
- ],
- "nullable": true
- },
- "locked": {
- "type": "boolean"
- },
- "active_lock_reason": {
- "type": "string",
- "nullable": true
- },
- "comments": {
- "type": "integer"
- },
- "pull_request": {
- "type": "object",
- "properties": {
- "merged_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "diff_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "patch_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- }
- },
- "required": [
- "diff_url",
- "html_url",
- "patch_url",
- "url"
]
},
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "draft": {
- "type": "boolean"
- },
- "closed_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
"body_html": {
"type": "string"
},
@@ -47561,183 +55415,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -47773,96 +55703,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -47894,12 +55866,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -47907,228 +55885,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -48140,19 +56224,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -48161,7 +56251,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -48178,32 +56270,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -48536,25 +56644,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -48577,7 +56693,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -48657,255 +56775,340 @@
]
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -48916,6 +57119,9 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
},
"reactions": {
@@ -48999,22 +57205,28 @@
"properties": {
"id": {
"description": "Unique identifier of the issue comment",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string"
},
"url": {
"description": "URL for the issue comment",
- "example": "https://api.github.com/repositories/42/issues/comments/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/comments/1"
+ ]
},
"body": {
"description": "Contents of the issue comment",
- "example": "What version of Safari were you using when you observed this bug?",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "What version of Safari were you using when you observed this bug?"
+ ]
},
"body_text": {
"type": "string"
@@ -49027,270 +57239,148 @@
"format": "uri"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-14T16:00:49Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-14T16:00:49Z"
- },
- "issue_url": {
- "type": "string",
- "format": "uri"
- },
- "author_association": {
- "title": "author_association",
- "type": "string",
- "example": "OWNER",
- "description": "How the author is associated with the repository.",
- "enum": [
- "COLLABORATOR",
- "CONTRIBUTOR",
- "FIRST_TIMER",
- "FIRST_TIME_CONTRIBUTOR",
- "MANNEQUIN",
- "MEMBER",
- "NONE",
- "OWNER"
- ]
- },
- "performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
- },
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -49312,115 +57402,377 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
+ ]
+ }
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-14T16:00:49Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-14T16:00:49Z"
+ ]
+ },
+ "issue_url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "author_association": {
+ "title": "author_association",
+ "type": "string",
+ "description": "How the author is associated with the repository.",
+ "enum": [
+ "COLLABORATOR",
+ "CONTRIBUTOR",
+ "FIRST_TIMER",
+ "FIRST_TIME_CONTRIBUTOR",
+ "MANNEQUIN",
+ "MEMBER",
+ "NONE",
+ "OWNER"
+ ],
+ "examples": [
+ "OWNER"
+ ]
+ },
+ "performed_via_github_app": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "issues": {
- "type": "string"
+ "id": {
+ "description": "Unique identifier of the GitHub app",
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
- "checks": {
- "type": "string"
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
- "metadata": {
- "type": "string"
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "contents": {
- "type": "string"
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
},
- "deployments": {
- "type": "string"
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
+ "type": "string",
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
+ },
+ "client_secret": {
+ "type": "string",
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
+ },
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
+ "type": "string",
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "required": [
+ "id",
+ "node_id",
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"reactions": {
"title": "Reaction Rollup",
@@ -49496,8 +57848,10 @@
"type": "string"
},
"summary": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"action": {
"type": "string"
@@ -49517,9 +57871,11 @@
"type": "boolean"
},
"created_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
}
},
"required": [
@@ -49720,19 +58076,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -49740,96 +58104,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -49859,12 +58265,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -49872,129 +58284,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -50002,58 +58472,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -50107,22 +58599,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -50146,894 +58650,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -51042,77 +59472,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -51120,136 +59932,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -51270,25 +60046,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -51299,7 +60085,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -51316,20 +60105,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -51417,15 +60211,19 @@
"type": "string"
},
"last_read_at": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"url": {
"type": "string"
},
"subscription_url": {
"type": "string",
- "example": "https://api.github.com/notifications/threads/2/subscription"
+ "examples": [
+ "https://api.github.com/notifications/threads/2/subscription"
+ ]
}
},
"required": [
@@ -51642,16 +60440,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -51835,19 +60639,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -51855,96 +60667,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -51974,12 +60828,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -51987,129 +60847,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -52117,58 +61035,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -52222,22 +61162,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -52261,894 +61213,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -53157,77 +62035,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -53235,136 +62495,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -53385,25 +62609,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -53414,7 +62648,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -53431,20 +62668,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -53532,15 +62774,19 @@
"type": "string"
},
"last_read_at": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"url": {
"type": "string"
},
"subscription_url": {
"type": "string",
- "example": "https://api.github.com/notifications/threads/2/subscription"
+ "examples": [
+ "https://api.github.com/notifications/threads/2/subscription"
+ ]
}
},
"required": [
@@ -53808,35 +63054,49 @@
"properties": {
"subscribed": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"ignored": {
"type": "boolean"
},
"reason": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2012-10-06T21:34:12Z",
- "nullable": true
+ "examples": [
+ "2012-10-06T21:34:12Z"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/notifications/threads/1/subscription"
+ "examples": [
+ "https://api.github.com/notifications/threads/1/subscription"
+ ]
},
"thread_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/notifications/threads/1"
+ "examples": [
+ "https://api.github.com/notifications/threads/1"
+ ]
},
"repository_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/1"
+ "examples": [
+ "https://api.github.com/repos/1"
+ ]
}
},
"required": [
@@ -53976,35 +63236,49 @@
"properties": {
"subscribed": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"ignored": {
"type": "boolean"
},
"reason": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2012-10-06T21:34:12Z",
- "nullable": true
+ "examples": [
+ "2012-10-06T21:34:12Z"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/notifications/threads/1/subscription"
+ "examples": [
+ "https://api.github.com/notifications/threads/1/subscription"
+ ]
},
"thread_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/notifications/threads/1"
+ "examples": [
+ "https://api.github.com/notifications/threads/1"
+ ]
},
"repository_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/1"
+ "examples": [
+ "https://api.github.com/repos/1"
+ ]
}
},
"required": [
@@ -54271,55 +63545,81 @@
"properties": {
"login": {
"type": "string",
- "example": "github"
+ "examples": [
+ "github"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEyOk9yZ2FuaXphdGlvbjE="
+ "examples": [
+ "MDEyOk9yZ2FuaXphdGlvbjE="
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github"
+ "examples": [
+ "https://api.github.com/orgs/github"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github/repos"
+ "examples": [
+ "https://api.github.com/orgs/github/repos"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github/events"
+ "examples": [
+ "https://api.github.com/orgs/github/events"
+ ]
},
"hooks_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/hooks"
+ "examples": [
+ "https://api.github.com/orgs/github/hooks"
+ ]
},
"issues_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/issues"
+ "examples": [
+ "https://api.github.com/orgs/github/issues"
+ ]
},
"members_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/members{/member}"
+ "examples": [
+ "https://api.github.com/orgs/github/members{/member}"
+ ]
},
"public_members_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/public_members{/member}"
+ "examples": [
+ "https://api.github.com/orgs/github/public_members{/member}"
+ ]
},
"avatar_url": {
"type": "string",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"description": {
- "type": "string",
- "example": "A great organization",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great organization"
+ ]
}
},
"required": [
@@ -54413,8 +63713,10 @@
"properties": {
"total_count": {
"description": "The number of custom roles in this organization",
- "example": 3,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 3
+ ]
},
"custom_roles": {
"type": "array",
@@ -54510,18 +63812,6 @@
"properties": {
"groups": {
"description": "An array of external groups available to be mapped to a team",
- "example": [
- {
- "group_id": 1,
- "group_name": "group-azuread-test",
- "updated_at": "2021-01-03 22:27:15:000 -700"
- },
- {
- "group_id": 2,
- "group_name": "group-azuread-test2",
- "updated_at": "2021-06-03 22:27:15:000 -700"
- }
- ],
"type": "array",
"items": {
"type": "object",
@@ -54533,21 +63823,39 @@
"properties": {
"group_id": {
"description": "The internal ID of the group",
- "example": 1,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"group_name": {
"description": "The display name of the group",
- "example": "group-azuread-test",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "group-azuread-test"
+ ]
},
"updated_at": {
"description": "The time of the last update for this group",
- "example": "2019-06-03 22:27:15:000 -700",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "2019-06-03 22:27:15:000 -700"
+ ]
}
}
- }
+ },
+ "examples": [
+ {
+ "group_id": 1,
+ "group_name": "group-azuread-test",
+ "updated_at": "2021-01-03 22:27:15:000 -700"
+ },
+ {
+ "group_id": 2,
+ "group_name": "group-azuread-test2",
+ "updated_at": "2021-06-03 22:27:15:000 -700"
+ }
+ ]
}
}
},
@@ -54615,153 +63923,233 @@
"properties": {
"login": {
"type": "string",
- "example": "github"
+ "examples": [
+ "github"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEyOk9yZ2FuaXphdGlvbjE="
+ "examples": [
+ "MDEyOk9yZ2FuaXphdGlvbjE="
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github"
+ "examples": [
+ "https://api.github.com/orgs/github"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github/repos"
+ "examples": [
+ "https://api.github.com/orgs/github/repos"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github/events"
+ "examples": [
+ "https://api.github.com/orgs/github/events"
+ ]
},
"hooks_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/hooks"
+ "examples": [
+ "https://api.github.com/orgs/github/hooks"
+ ]
},
"issues_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/issues"
+ "examples": [
+ "https://api.github.com/orgs/github/issues"
+ ]
},
"members_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/members{/member}"
+ "examples": [
+ "https://api.github.com/orgs/github/members{/member}"
+ ]
},
"public_members_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/public_members{/member}"
+ "examples": [
+ "https://api.github.com/orgs/github/public_members{/member}"
+ ]
},
"avatar_url": {
"type": "string",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"description": {
- "type": "string",
- "example": "A great organization",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great organization"
+ ]
},
"name": {
"type": "string",
- "example": "github"
+ "examples": [
+ "github"
+ ]
},
"company": {
"type": "string",
- "example": "GitHub"
+ "examples": [
+ "GitHub"
+ ]
},
"blog": {
"type": "string",
"format": "uri",
- "example": "https://github.com/blog"
+ "examples": [
+ "https://github.com/blog"
+ ]
},
"location": {
"type": "string",
- "example": "San Francisco"
+ "examples": [
+ "San Francisco"
+ ]
},
"email": {
"type": "string",
"format": "email",
- "example": "octocat@github.com"
+ "examples": [
+ "octocat@github.com"
+ ]
},
"twitter_username": {
- "type": "string",
- "example": "github",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "github"
+ ]
},
"is_verified": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_organization_projects": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_repository_projects": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"public_repos": {
"type": "integer",
- "example": 2
+ "examples": [
+ 2
+ ]
},
"public_gists": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"followers": {
"type": "integer",
- "example": 20
+ "examples": [
+ 20
+ ]
},
"following": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2008-01-14T04:33:35Z"
+ "examples": [
+ "2008-01-14T04:33:35Z"
+ ]
},
"type": {
"type": "string",
- "example": "Organization"
+ "examples": [
+ "Organization"
+ ]
},
"total_private_repos": {
"type": "integer",
- "example": 100
+ "examples": [
+ 100
+ ]
},
"owned_private_repos": {
"type": "integer",
- "example": 100
+ "examples": [
+ 100
+ ]
},
"private_gists": {
- "type": "integer",
- "example": 81,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 81
+ ]
},
"disk_usage": {
- "type": "integer",
- "example": 10000,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 10000
+ ]
},
"collaborators": {
- "type": "integer",
- "example": 8,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 8
+ ]
},
"billing_email": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "email",
- "example": "org@example.com",
- "nullable": true
+ "examples": [
+ "org@example.com"
+ ]
},
"plan": {
"type": "object",
@@ -54789,51 +64177,79 @@
]
},
"default_repository_permission": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"members_can_create_repositories": {
- "type": "boolean",
- "example": true,
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "examples": [
+ true
+ ]
},
"two_factor_requirement_enabled": {
- "type": "boolean",
- "example": true,
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "examples": [
+ true
+ ]
},
"members_allowed_repository_creation_type": {
"type": "string",
- "example": "all"
+ "examples": [
+ "all"
+ ]
},
"members_can_create_public_repositories": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_private_repositories": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_internal_repositories": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_pages": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_public_pages": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_private_pages": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_fork_private_repositories": {
- "type": "boolean",
- "example": false,
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "examples": [
+ false
+ ]
},
"updated_at": {
"type": "string",
@@ -55083,7 +64499,9 @@
},
"blog": {
"type": "string",
- "example": "\"http://github.blog\""
+ "examples": [
+ "\"http://github.blog\""
+ ]
}
}
},
@@ -55114,153 +64532,233 @@
"properties": {
"login": {
"type": "string",
- "example": "github"
+ "examples": [
+ "github"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEyOk9yZ2FuaXphdGlvbjE="
+ "examples": [
+ "MDEyOk9yZ2FuaXphdGlvbjE="
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github"
+ "examples": [
+ "https://api.github.com/orgs/github"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github/repos"
+ "examples": [
+ "https://api.github.com/orgs/github/repos"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github/events"
+ "examples": [
+ "https://api.github.com/orgs/github/events"
+ ]
},
"hooks_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/hooks"
+ "examples": [
+ "https://api.github.com/orgs/github/hooks"
+ ]
},
"issues_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/issues"
+ "examples": [
+ "https://api.github.com/orgs/github/issues"
+ ]
},
"members_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/members{/member}"
+ "examples": [
+ "https://api.github.com/orgs/github/members{/member}"
+ ]
},
"public_members_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/public_members{/member}"
+ "examples": [
+ "https://api.github.com/orgs/github/public_members{/member}"
+ ]
},
"avatar_url": {
"type": "string",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"description": {
- "type": "string",
- "example": "A great organization",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great organization"
+ ]
},
"name": {
"type": "string",
- "example": "github"
+ "examples": [
+ "github"
+ ]
},
"company": {
"type": "string",
- "example": "GitHub"
+ "examples": [
+ "GitHub"
+ ]
},
"blog": {
"type": "string",
"format": "uri",
- "example": "https://github.com/blog"
+ "examples": [
+ "https://github.com/blog"
+ ]
},
"location": {
"type": "string",
- "example": "San Francisco"
+ "examples": [
+ "San Francisco"
+ ]
},
"email": {
"type": "string",
"format": "email",
- "example": "octocat@github.com"
+ "examples": [
+ "octocat@github.com"
+ ]
},
"twitter_username": {
- "type": "string",
- "example": "github",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "github"
+ ]
},
"is_verified": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_organization_projects": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_repository_projects": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"public_repos": {
"type": "integer",
- "example": 2
+ "examples": [
+ 2
+ ]
},
"public_gists": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"followers": {
"type": "integer",
- "example": 20
+ "examples": [
+ 20
+ ]
},
"following": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2008-01-14T04:33:35Z"
+ "examples": [
+ "2008-01-14T04:33:35Z"
+ ]
},
"type": {
"type": "string",
- "example": "Organization"
+ "examples": [
+ "Organization"
+ ]
},
"total_private_repos": {
"type": "integer",
- "example": 100
+ "examples": [
+ 100
+ ]
},
"owned_private_repos": {
"type": "integer",
- "example": 100
+ "examples": [
+ 100
+ ]
},
"private_gists": {
- "type": "integer",
- "example": 81,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 81
+ ]
},
"disk_usage": {
- "type": "integer",
- "example": 10000,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 10000
+ ]
},
"collaborators": {
- "type": "integer",
- "example": 8,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 8
+ ]
},
"billing_email": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "email",
- "example": "org@example.com",
- "nullable": true
+ "examples": [
+ "org@example.com"
+ ]
},
"plan": {
"type": "object",
@@ -55288,51 +64786,79 @@
]
},
"default_repository_permission": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"members_can_create_repositories": {
- "type": "boolean",
- "example": true,
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "examples": [
+ true
+ ]
},
"two_factor_requirement_enabled": {
- "type": "boolean",
- "example": true,
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "examples": [
+ true
+ ]
},
"members_allowed_repository_creation_type": {
"type": "string",
- "example": "all"
+ "examples": [
+ "all"
+ ]
},
"members_can_create_public_repositories": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_private_repositories": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_internal_repositories": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_pages": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_public_pages": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_private_pages": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_fork_private_repositories": {
- "type": "boolean",
- "example": false,
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "examples": [
+ false
+ ]
},
"updated_at": {
"type": "string",
@@ -55471,16 +64997,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -55692,17 +65224,23 @@
"full_name": {
"description": "The repository owner and name for the cache usage being shown.",
"type": "string",
- "example": "octo-org/Hello-World"
+ "examples": [
+ "octo-org/Hello-World"
+ ]
},
"active_caches_size_in_bytes": {
"description": "The sum of the size in bytes of all the active cache items in the repository.",
"type": "integer",
- "example": 2322142
+ "examples": [
+ 2322142
+ ]
},
"active_caches_count": {
"description": "The number of active caches in the repository.",
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
}
},
"required": [
@@ -55969,183 +65507,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -56181,96 +65795,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -56302,12 +65958,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -56315,228 +65977,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -56548,19 +66316,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -56569,7 +66343,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -56586,32 +66362,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -56944,25 +66736,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -56985,7 +66785,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -58297,19 +68099,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -58317,96 +68127,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -58436,12 +68288,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -58449,129 +68307,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -58579,58 +68495,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -58684,22 +68622,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -58723,894 +68673,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -59619,77 +69495,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -59697,136 +69955,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -59847,25 +70069,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -59876,7 +70108,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -59893,20 +70128,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -60473,22 +70713,30 @@
"id": {
"description": "The id of the runner.",
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"name": {
"description": "The name of the runner.",
"type": "string",
- "example": "iMac"
+ "examples": [
+ "iMac"
+ ]
},
"os": {
"description": "The Operating System of the runner.",
"type": "string",
- "example": "macos"
+ "examples": [
+ "macos"
+ ]
},
"status": {
"description": "The status of the runner.",
"type": "string",
- "example": "online"
+ "examples": [
+ "online"
+ ]
},
"busy": {
"type": "boolean"
@@ -60857,22 +71105,30 @@
"id": {
"description": "The id of the runner.",
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"name": {
"description": "The name of the runner.",
"type": "string",
- "example": "iMac"
+ "examples": [
+ "iMac"
+ ]
},
"os": {
"description": "The Operating System of the runner.",
"type": "string",
- "example": "macos"
+ "examples": [
+ "macos"
+ ]
},
"status": {
"description": "The status of the runner.",
"type": "string",
- "example": "online"
+ "examples": [
+ "online"
+ ]
},
"busy": {
"type": "boolean"
@@ -61146,20 +71402,26 @@
"token": {
"description": "The token used for authentication",
"type": "string",
- "example": "v1.1f699f1069f60xxx"
+ "examples": [
+ "v1.1f699f1069f60xxx"
+ ]
},
"expires_at": {
"description": "The time this token expires",
"type": "string",
"format": "date-time",
- "example": "2016-07-11T22:14:10Z"
+ "examples": [
+ "2016-07-11T22:14:10Z"
+ ]
},
"permissions": {
"type": "object",
- "example": {
- "issues": "read",
- "deployments": "write"
- }
+ "examples": [
+ {
+ "issues": "read",
+ "deployments": "write"
+ }
+ ]
},
"repositories": {
"description": "The repositories this token has access to",
@@ -61171,183 +71433,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -61383,96 +71721,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -61504,12 +71884,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -61517,228 +71903,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -61750,19 +72242,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -61771,7 +72269,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -61788,32 +72288,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -62146,25 +72662,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -62187,7 +72711,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -62268,9 +72794,13 @@
}
},
"single_file": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
},
"repository_selection": {
"description": "Describe whether all repositories have been selected or there's a selection involved",
@@ -62341,20 +72871,26 @@
"token": {
"description": "The token used for authentication",
"type": "string",
- "example": "v1.1f699f1069f60xxx"
+ "examples": [
+ "v1.1f699f1069f60xxx"
+ ]
},
"expires_at": {
"description": "The time this token expires",
"type": "string",
"format": "date-time",
- "example": "2016-07-11T22:14:10Z"
+ "examples": [
+ "2016-07-11T22:14:10Z"
+ ]
},
"permissions": {
"type": "object",
- "example": {
- "issues": "read",
- "deployments": "write"
- }
+ "examples": [
+ {
+ "issues": "read",
+ "deployments": "write"
+ }
+ ]
},
"repositories": {
"description": "The repositories this token has access to",
@@ -62366,183 +72902,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -62578,96 +73190,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -62699,12 +73353,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -62712,228 +73372,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -62945,19 +73711,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -62966,7 +73738,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -62983,32 +73757,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -63341,25 +74131,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -63382,7 +74180,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -63463,9 +74263,13 @@
}
},
"single_file": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
},
"repository_selection": {
"description": "Describe whether all repositories have been selected or there's a selection involved",
@@ -63545,22 +74349,30 @@
"id": {
"description": "The id of the runner.",
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"name": {
"description": "The name of the runner.",
"type": "string",
- "example": "iMac"
+ "examples": [
+ "iMac"
+ ]
},
"os": {
"description": "The Operating System of the runner.",
"type": "string",
- "example": "macos"
+ "examples": [
+ "macos"
+ ]
},
"status": {
"description": "The status of the runner.",
"type": "string",
- "example": "online"
+ "examples": [
+ "online"
+ ]
},
"busy": {
"type": "boolean"
@@ -64623,8 +75435,10 @@
"properties": {
"name": {
"description": "The name of the secret.",
- "example": "SECRET_TOKEN",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "SECRET_TOKEN"
+ ]
},
"created_at": {
"type": "string",
@@ -64646,7 +75460,9 @@
"selected_repositories_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/org/secrets/my_secret/repositories"
+ "examples": [
+ "https://api.github.com/organizations/org/secrets/my_secret/repositories"
+ ]
}
},
"required": [
@@ -64742,28 +75558,40 @@
"key_id": {
"description": "The identifier for the key.",
"type": "string",
- "example": "1234567"
+ "examples": [
+ "1234567"
+ ]
},
"key": {
"description": "The Base64 encoded public key.",
"type": "string",
- "example": "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs="
+ "examples": [
+ "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs="
+ ]
},
"id": {
"type": "integer",
- "example": 2
+ "examples": [
+ 2
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/user/keys/2"
+ "examples": [
+ "https://api.github.com/user/keys/2"
+ ]
},
"title": {
"type": "string",
- "example": "ssh-rsa AAAAB3NzaC1yc2EAAA"
+ "examples": [
+ "ssh-rsa AAAAB3NzaC1yc2EAAA"
+ ]
},
"created_at": {
"type": "string",
- "example": "2011-01-26T19:01:12Z"
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
}
},
"required": [
@@ -64834,8 +75662,10 @@
"properties": {
"name": {
"description": "The name of the secret.",
- "example": "SECRET_TOKEN",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "SECRET_TOKEN"
+ ]
},
"created_at": {
"type": "string",
@@ -64857,7 +75687,9 @@
"selected_repositories_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/org/secrets/my_secret/repositories"
+ "examples": [
+ "https://api.github.com/organizations/org/secrets/my_secret/repositories"
+ ]
}
},
"required": [
@@ -65111,19 +75943,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -65131,96 +75971,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -65250,12 +76132,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -65263,129 +76151,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -65393,58 +76339,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -65498,22 +76466,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -65537,894 +76517,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -66433,77 +77339,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -66511,136 +77799,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -66661,25 +77913,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -66690,7 +77952,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -66707,20 +77972,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -67375,96 +78645,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -67695,16 +79007,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -67927,143 +79245,197 @@
]
},
"fixed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": true
+ "readOnly": true
},
"dismissed_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"dismissed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": true
+ "readOnly": true
},
"dismissed_reason": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "**Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
- "nullable": true,
"enum": [
null,
"false positive",
@@ -68075,8 +79447,10 @@
"type": "object",
"properties": {
"id": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "A unique identifier for the rule used to detect the alert."
},
"name": {
@@ -68084,25 +79458,31 @@
"description": "The name of the rule used to detect the alert."
},
"severity": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The severity of the alert.",
"enum": [
"none",
"note",
"warning",
- "error"
+ "error",
+ null
]
},
"security_severity_level": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The security severity of the alert.",
"enum": [
"low",
"medium",
"high",
- "critical"
+ "critical",
+ null
]
},
"description": {
@@ -68114,16 +79494,20 @@
"description": "description of the rule used to detect the alert."
},
"tags": {
- "nullable": true,
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"description": "A set of tags applicable for the rule.",
"items": {
"type": "string"
}
},
"help": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
}
}
@@ -68136,13 +79520,17 @@
"description": "The name of the tool used to generate the code scanning analysis."
},
"version": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The version of the tool used to generate the code scanning analysis."
},
"guid": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data."
}
}
@@ -68215,14 +79603,17 @@
"type": "array",
"description": "Classifications that have been applied to the file that triggered the alert.\nFor example identifying it as documentation, or a generated file.",
"items": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "A classification of the file. For example to identify it as generated.",
- "nullable": true,
"enum": [
"source",
"generated",
"test",
- "library"
+ "library",
+ null
]
}
}
@@ -68235,19 +79626,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -68255,96 +79654,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -68374,12 +79815,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -68387,129 +79834,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -68517,58 +80022,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -68622,22 +80149,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -68661,894 +80200,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -69557,77 +81022,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -69635,136 +81482,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -69785,25 +81596,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -69814,7 +81635,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -69831,20 +81655,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -70638,74 +82467,104 @@
"properties": {
"login": {
"type": "string",
- "example": "monalisa",
- "description": "User login that owns the underlying credential."
+ "description": "User login that owns the underlying credential.",
+ "examples": [
+ "monalisa"
+ ]
},
"credential_id": {
"type": "integer",
- "example": 1,
- "description": "Unique identifier for the credential."
+ "description": "Unique identifier for the credential.",
+ "examples": [
+ 1
+ ]
},
"credential_type": {
"type": "string",
- "example": "SSH Key",
- "description": "Human-readable description of the credential type."
+ "description": "Human-readable description of the credential type.",
+ "examples": [
+ "SSH Key"
+ ]
},
"token_last_eight": {
"type": "string",
- "example": "12345678",
- "description": "Last eight characters of the credential. Only included in responses with credential_type of personal access token."
+ "description": "Last eight characters of the credential. Only included in responses with credential_type of personal access token.",
+ "examples": [
+ "12345678"
+ ]
},
"credential_authorized_at": {
"type": "string",
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "description": "Date when the credential was authorized for use."
+ "description": "Date when the credential was authorized for use.",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"scopes": {
"type": "array",
- "example": [
- "user",
- "repo"
- ],
"description": "List of oauth scopes the token has been granted.",
"items": {
"type": "string"
- }
+ },
+ "examples": [
+ "user",
+ "repo"
+ ]
},
"fingerprint": {
"type": "string",
- "example": "jklmnop12345678",
- "description": "Unique string to distinguish the credential. Only included in responses with credential_type of SSH Key."
+ "description": "Unique string to distinguish the credential. Only included in responses with credential_type of SSH Key.",
+ "examples": [
+ "jklmnop12345678"
+ ]
},
"credential_accessed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
"description": "Date when the credential was last accessed. May be null if it was never accessed",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"authorized_credential_id": {
- "type": "integer",
- "nullable": true,
- "example": 12345678
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 12345678
+ ]
},
"authorized_credential_title": {
- "type": "string",
- "nullable": true,
- "example": "my ssh key",
- "description": "The title given to the ssh key. This will only be present when the credential is an ssh key."
+ "type": [
+ "string",
+ "null"
+ ],
+ "description": "The title given to the ssh key. This will only be present when the credential is an ssh key.",
+ "examples": [
+ "my ssh key"
+ ]
},
"authorized_credential_note": {
- "type": "string",
- "nullable": true,
- "example": "my token",
- "description": "The note given to the token. This will only be present when the credential is a token."
+ "type": [
+ "string",
+ "null"
+ ],
+ "description": "The note given to the token. This will only be present when the credential is a token.",
+ "examples": [
+ "my token"
+ ]
},
"authorized_credential_expires_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "nullable": true,
"description": "The expiry for the token. This will only be present when the credential is a token."
}
},
@@ -70893,8 +82752,10 @@
"properties": {
"name": {
"description": "The name of the secret.",
- "example": "SECRET_TOKEN",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "SECRET_TOKEN"
+ ]
},
"created_at": {
"type": "string",
@@ -70916,7 +82777,9 @@
"selected_repositories_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/org/dependabot/secrets/my_secret/repositories"
+ "examples": [
+ "https://api.github.com/organizations/org/dependabot/secrets/my_secret/repositories"
+ ]
}
},
"required": [
@@ -71012,12 +82875,16 @@
"key_id": {
"description": "The identifier for the key.",
"type": "string",
- "example": "1234567"
+ "examples": [
+ "1234567"
+ ]
},
"key": {
"description": "The Base64 encoded public key.",
"type": "string",
- "example": "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs="
+ "examples": [
+ "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs="
+ ]
}
},
"required": [
@@ -71088,8 +82955,10 @@
"properties": {
"name": {
"description": "The name of the secret.",
- "example": "SECRET_TOKEN",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "SECRET_TOKEN"
+ ]
},
"created_at": {
"type": "string",
@@ -71111,7 +82980,9 @@
"selected_repositories_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/org/dependabot/secrets/my_secret/repositories"
+ "examples": [
+ "https://api.github.com/organizations/org/dependabot/secrets/my_secret/repositories"
+ ]
}
},
"required": [
@@ -71365,19 +83236,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -71385,96 +83264,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -71504,12 +83425,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -71517,129 +83444,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -71647,58 +83632,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -71752,22 +83759,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -71791,894 +83810,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -72687,77 +84632,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -72765,136 +85092,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -72915,25 +85206,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -72944,7 +85245,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -72961,20 +85265,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -73355,8 +85664,10 @@
"type": "string"
},
"type": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"actor": {
"title": "Actor",
@@ -73373,8 +85684,10 @@
"type": "string"
},
"gravatar_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"url": {
"type": "string",
@@ -73428,8 +85741,10 @@
"type": "string"
},
"gravatar_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"url": {
"type": "string",
@@ -73467,9 +85782,11 @@
},
"url": {
"description": "URL for the issue",
- "example": "https://api.github.com/repositories/42/issues/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/1"
+ ]
},
"repository_url": {
"type": "string",
@@ -73492,151 +85809,205 @@
},
"number": {
"description": "Number uniquely identifying the issue within its repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"state": {
"description": "State of the issue; either 'open' or 'closed'",
- "example": "open",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "open"
+ ]
},
"title": {
"description": "Title of the issue",
- "example": "Widget creation fails in Safari on OS X 10.8",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Widget creation fails in Safari on OS X 10.8"
+ ]
},
"body": {
"description": "Contents of the issue",
- "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"labels": {
"description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository",
- "example": [
- "bug",
- "registration"
- ],
"type": "array",
"items": {
"oneOf": [
@@ -73661,12 +86032,16 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"color": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"default": {
"type": "boolean"
@@ -73674,226 +86049,323 @@
}
}
]
- }
+ },
+ "examples": [
+ "bug",
+ "registration"
+ ]
},
"assignee": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"assignees": {
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -73916,158 +86388,541 @@
"type",
"url"
]
- },
- "nullable": true
+ }
},
"milestone": {
- "title": "Milestone",
- "description": "A collection of related issues and pull requests.",
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Milestone",
+ "description": "A collection of related issues and pull requests.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World/milestones/v1.0"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1002604
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDk6TWlsZXN0b25lMTAwMjYwNA=="
+ ]
+ },
+ "number": {
+ "description": "The number of the milestone.",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "state": {
+ "description": "The state of the milestone.",
+ "type": "string",
+ "enum": [
+ "open",
+ "closed"
+ ],
+ "default": "open",
+ "examples": [
+ "open"
+ ]
+ },
+ "title": {
+ "description": "The title of the milestone.",
+ "type": "string",
+ "examples": [
+ "v1.0"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Tracking milestone for version 1.0"
+ ]
+ },
+ "creator": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "open_issues": {
+ "type": "integer",
+ "examples": [
+ 4
+ ]
+ },
+ "closed_issues": {
+ "type": "integer",
+ "examples": [
+ 8
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-10T20:09:31Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2013-02-12T13:22:01Z"
+ ]
+ },
+ "due_on": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2012-10-09T23:39:01Z"
+ ]
+ }
+ },
+ "required": [
+ "closed_issues",
+ "creator",
+ "description",
+ "due_on",
+ "closed_at",
+ "id",
+ "node_id",
+ "labels_url",
+ "html_url",
+ "number",
+ "open_issues",
+ "state",
+ "title",
+ "url",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ ]
+ },
+ "locked": {
+ "type": "boolean"
+ },
+ "active_lock_reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "comments": {
+ "type": "integer"
+ },
+ "pull_request": {
"type": "object",
"properties": {
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ "merged_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "diff_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World/milestones/v1.0"
- },
- "labels_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
- },
- "id": {
- "type": "integer",
- "example": 1002604
- },
- "node_id": {
- "type": "string",
- "example": "MDk6TWlsZXN0b25lMTAwMjYwNA=="
- },
- "number": {
- "description": "The number of the milestone.",
- "type": "integer",
- "example": 42
- },
- "state": {
- "description": "The state of the milestone.",
- "example": "open",
- "type": "string",
- "enum": [
- "open",
- "closed"
+ "type": [
+ "string",
+ "null"
],
- "default": "open"
+ "format": "uri"
},
- "title": {
- "description": "The title of the milestone.",
- "example": "v1.0",
- "type": "string"
+ "patch_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
- "description": {
- "type": "string",
- "example": "Tracking milestone for version 1.0",
- "nullable": true
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
+ }
+ },
+ "required": [
+ "diff_url",
+ "html_url",
+ "patch_url",
+ "url"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "draft": {
+ "type": "boolean"
+ },
+ "closed_by": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "creator": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -74089,242 +86944,10 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
- },
- "open_issues": {
- "type": "integer",
- "example": 4
- },
- "closed_issues": {
- "type": "integer",
- "example": 8
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-10T20:09:31Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2014-03-03T18:58:10Z"
- },
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2013-02-12T13:22:01Z",
- "nullable": true
- },
- "due_on": {
- "type": "string",
- "format": "date-time",
- "example": "2012-10-09T23:39:01Z",
- "nullable": true
+ ]
}
- },
- "required": [
- "closed_issues",
- "creator",
- "description",
- "due_on",
- "closed_at",
- "id",
- "node_id",
- "labels_url",
- "html_url",
- "number",
- "open_issues",
- "state",
- "title",
- "url",
- "created_at",
- "updated_at"
- ],
- "nullable": true
- },
- "locked": {
- "type": "boolean"
- },
- "active_lock_reason": {
- "type": "string",
- "nullable": true
- },
- "comments": {
- "type": "integer"
- },
- "pull_request": {
- "type": "object",
- "properties": {
- "merged_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "diff_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "patch_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- }
- },
- "required": [
- "diff_url",
- "html_url",
- "patch_url",
- "url"
]
},
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "draft": {
- "type": "boolean"
- },
- "closed_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
"body_html": {
"type": "string"
},
@@ -74342,183 +86965,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -74554,96 +87253,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -74675,12 +87416,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -74688,228 +87435,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -74921,19 +87774,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -74942,7 +87801,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -74959,32 +87820,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -75317,25 +88194,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -75358,7 +88243,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -75438,255 +88325,340 @@
]
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -75697,6 +88669,9 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
},
"reactions": {
@@ -75780,22 +88755,28 @@
"properties": {
"id": {
"description": "Unique identifier of the issue comment",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string"
},
"url": {
"description": "URL for the issue comment",
- "example": "https://api.github.com/repositories/42/issues/comments/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/comments/1"
+ ]
},
"body": {
"description": "Contents of the issue comment",
- "example": "What version of Safari were you using when you observed this bug?",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "What version of Safari were you using when you observed this bug?"
+ ]
},
"body_text": {
"type": "string"
@@ -75808,270 +88789,148 @@
"format": "uri"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-14T16:00:49Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-14T16:00:49Z"
- },
- "issue_url": {
- "type": "string",
- "format": "uri"
- },
- "author_association": {
- "title": "author_association",
- "type": "string",
- "example": "OWNER",
- "description": "How the author is associated with the repository.",
- "enum": [
- "COLLABORATOR",
- "CONTRIBUTOR",
- "FIRST_TIMER",
- "FIRST_TIME_CONTRIBUTOR",
- "MANNEQUIN",
- "MEMBER",
- "NONE",
- "OWNER"
- ]
- },
- "performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
- },
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -76093,115 +88952,377 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
+ ]
+ }
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-14T16:00:49Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-14T16:00:49Z"
+ ]
+ },
+ "issue_url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "author_association": {
+ "title": "author_association",
+ "type": "string",
+ "description": "How the author is associated with the repository.",
+ "enum": [
+ "COLLABORATOR",
+ "CONTRIBUTOR",
+ "FIRST_TIMER",
+ "FIRST_TIME_CONTRIBUTOR",
+ "MANNEQUIN",
+ "MEMBER",
+ "NONE",
+ "OWNER"
+ ],
+ "examples": [
+ "OWNER"
+ ]
+ },
+ "performed_via_github_app": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "issues": {
- "type": "string"
+ "id": {
+ "description": "Unique identifier of the GitHub app",
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
- "checks": {
- "type": "string"
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
- "metadata": {
- "type": "string"
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "contents": {
- "type": "string"
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
},
- "deployments": {
- "type": "string"
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
+ "type": "string",
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
+ },
+ "client_secret": {
+ "type": "string",
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
+ },
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
+ "type": "string",
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "required": [
+ "id",
+ "node_id",
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"reactions": {
"title": "Reaction Rollup",
@@ -76277,8 +89398,10 @@
"type": "string"
},
"summary": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"action": {
"type": "string"
@@ -76298,9 +89421,11 @@
"type": "boolean"
},
"created_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
}
},
"required": [
@@ -76375,31 +89500,27 @@
"properties": {
"group_id": {
"description": "The internal ID of the group",
- "example": 1,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"group_name": {
"description": "The display name for the group",
- "example": "group-azuread-test",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "group-azuread-test"
+ ]
},
"updated_at": {
"description": "The date when the group was last updated_at",
- "example": "2021-01-03 22:27:15:000 -700",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "2021-01-03 22:27:15:000 -700"
+ ]
},
"teams": {
"description": "An array of teams linked to this group",
- "example": [
- {
- "team_id": 1,
- "team_name": "team-test"
- },
- {
- "team_id": 2,
- "team_name": "team-test2"
- }
- ],
"type": "array",
"items": {
"type": "object",
@@ -76410,33 +89531,33 @@
"properties": {
"team_id": {
"description": "The id for a team",
- "example": 1,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"team_name": {
"description": "The name of the team",
- "example": "team-test",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "team-test"
+ ]
}
}
- }
+ },
+ "examples": [
+ {
+ "team_id": 1,
+ "team_name": "team-test"
+ },
+ {
+ "team_id": 2,
+ "team_name": "team-test2"
+ }
+ ]
},
"members": {
"description": "An array of external members linked to this group",
- "example": [
- {
- "member_id": 1,
- "member_login": "mona-lisa_eocsaxrs",
- "member_name": "Mona Lisa",
- "member_email": "mona_lisa@github.com"
- },
- {
- "member_id": 2,
- "member_login": "octo-lisa_eocsaxrs",
- "member_name": "Octo Lisa",
- "member_email": "octo_lisa@github.com"
- }
- ],
"type": "array",
"items": {
"type": "object",
@@ -76449,26 +89570,48 @@
"properties": {
"member_id": {
"description": "The internal user ID of the identity",
- "example": 1,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"member_login": {
"description": "The handle/login for the user",
- "example": "mona-lisa_eocsaxrs",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "mona-lisa_eocsaxrs"
+ ]
},
"member_name": {
"description": "The user display name/profile name",
- "example": "Mona Lisa",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Mona Lisa"
+ ]
},
"member_email": {
"description": "An email attached to a user",
- "example": "mona_lisa@github.com",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "mona_lisa@github.com"
+ ]
}
}
- }
+ },
+ "examples": [
+ {
+ "member_id": 1,
+ "member_login": "mona-lisa_eocsaxrs",
+ "member_name": "Mona Lisa",
+ "member_email": "mona_lisa@github.com"
+ },
+ {
+ "member_id": 2,
+ "member_login": "octo-lisa_eocsaxrs",
+ "member_name": "Octo Lisa",
+ "member_email": "octo_lisa@github.com"
+ }
+ ]
}
}
},
@@ -76576,18 +89719,6 @@
"properties": {
"groups": {
"description": "An array of external groups available to be mapped to a team",
- "example": [
- {
- "group_id": 1,
- "group_name": "group-azuread-test",
- "updated_at": "2021-01-03 22:27:15:000 -700"
- },
- {
- "group_id": 2,
- "group_name": "group-azuread-test2",
- "updated_at": "2021-06-03 22:27:15:000 -700"
- }
- ],
"type": "array",
"items": {
"type": "object",
@@ -76599,21 +89730,39 @@
"properties": {
"group_id": {
"description": "The internal ID of the group",
- "example": 1,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"group_name": {
"description": "The display name of the group",
- "example": "group-azuread-test",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "group-azuread-test"
+ ]
},
"updated_at": {
"description": "The time of the last update for this group",
- "example": "2019-06-03 22:27:15:000 -700",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "2019-06-03 22:27:15:000 -700"
+ ]
}
}
- }
+ },
+ "examples": [
+ {
+ "group_id": 1,
+ "group_name": "group-azuread-test",
+ "updated_at": "2021-01-03 22:27:15:000 -700"
+ },
+ {
+ "group_id": 2,
+ "group_name": "group-azuread-test2",
+ "updated_at": "2021-06-03 22:27:15:000 -700"
+ }
+ ]
}
}
},
@@ -76711,12 +89860,16 @@
"type": "integer"
},
"login": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"role": {
"type": "string"
@@ -76725,12 +89878,16 @@
"type": "string"
},
"failed_at": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"failed_reason": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"inviter": {
"title": "Simple User",
@@ -76738,96 +89895,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -76856,11 +90055,15 @@
},
"node_id": {
"type": "string",
- "example": "\"MDIyOk9yZ2FuaXphdGlvbkludml0YXRpb24x\""
+ "examples": [
+ "\"MDIyOk9yZ2FuaXphdGlvbkludml0YXRpb24x\""
+ ]
},
"invitation_teams_url": {
"type": "string",
- "example": "\"https://api.github.com/organizations/16/invitations/1/teams\""
+ "examples": [
+ "\"https://api.github.com/organizations/16/invitations/1/teams\""
+ ]
}
},
"required": [
@@ -77014,71 +90217,95 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/octocat/hooks/1"
+ "examples": [
+ "https://api.github.com/orgs/octocat/hooks/1"
+ ]
},
"ping_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/octocat/hooks/1/pings"
+ "examples": [
+ "https://api.github.com/orgs/octocat/hooks/1/pings"
+ ]
},
"deliveries_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
+ "examples": [
+ "https://api.github.com/orgs/octocat/hooks/1/deliveries"
+ ]
},
"name": {
"type": "string",
- "example": "web"
+ "examples": [
+ "web"
+ ]
},
"events": {
"type": "array",
- "example": [
- "push",
- "pull_request"
- ],
"items": {
"type": "string"
- }
+ },
+ "examples": [
+ "push",
+ "pull_request"
+ ]
},
"active": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"config": {
"type": "object",
"properties": {
"url": {
"type": "string",
- "example": "\"http://example.com/2\""
+ "examples": [
+ "\"http://example.com/2\""
+ ]
},
"insecure_ssl": {
"type": "string",
- "example": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
"content_type": {
"type": "string",
- "example": "\"form\""
+ "examples": [
+ "\"form\""
+ ]
},
"secret": {
"type": "string",
- "example": "\"********\""
+ "examples": [
+ "\"********\""
+ ]
}
}
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2011-09-06T20:39:23Z"
+ "examples": [
+ "2011-09-06T20:39:23Z"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-09-06T17:26:27Z"
+ "examples": [
+ "2011-09-06T17:26:27Z"
+ ]
},
"type": {
"type": "string"
@@ -77207,25 +90434,33 @@
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.",
- "example": "https://example.com/webhook",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ]
},
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.",
- "example": "\"json\""
+ "examples": [
+ "\"json\""
+ ]
},
"secret": {
"type": "string",
"description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers).",
- "example": "\"********\""
+ "examples": [
+ "\"********\""
+ ]
},
"insecure_ssl": {
"oneOf": [
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -77234,11 +90469,15 @@
},
"username": {
"type": "string",
- "example": "\"kdaigle\""
+ "examples": [
+ "\"kdaigle\""
+ ]
},
"password": {
"type": "string",
- "example": "\"password\""
+ "examples": [
+ "\"password\""
+ ]
}
},
"required": [
@@ -77293,71 +90532,95 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/octocat/hooks/1"
+ "examples": [
+ "https://api.github.com/orgs/octocat/hooks/1"
+ ]
},
"ping_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/octocat/hooks/1/pings"
+ "examples": [
+ "https://api.github.com/orgs/octocat/hooks/1/pings"
+ ]
},
"deliveries_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
+ "examples": [
+ "https://api.github.com/orgs/octocat/hooks/1/deliveries"
+ ]
},
"name": {
"type": "string",
- "example": "web"
+ "examples": [
+ "web"
+ ]
},
"events": {
"type": "array",
- "example": [
- "push",
- "pull_request"
- ],
"items": {
"type": "string"
- }
+ },
+ "examples": [
+ "push",
+ "pull_request"
+ ]
},
"active": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"config": {
"type": "object",
"properties": {
"url": {
"type": "string",
- "example": "\"http://example.com/2\""
+ "examples": [
+ "\"http://example.com/2\""
+ ]
},
"insecure_ssl": {
"type": "string",
- "example": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
"content_type": {
"type": "string",
- "example": "\"form\""
+ "examples": [
+ "\"form\""
+ ]
},
"secret": {
"type": "string",
- "example": "\"********\""
+ "examples": [
+ "\"********\""
+ ]
}
}
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2011-09-06T20:39:23Z"
+ "examples": [
+ "2011-09-06T20:39:23Z"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-09-06T17:26:27Z"
+ "examples": [
+ "2011-09-06T17:26:27Z"
+ ]
},
"type": {
"type": "string"
@@ -77455,16 +90718,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -77556,71 +90825,95 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/octocat/hooks/1"
+ "examples": [
+ "https://api.github.com/orgs/octocat/hooks/1"
+ ]
},
"ping_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/octocat/hooks/1/pings"
+ "examples": [
+ "https://api.github.com/orgs/octocat/hooks/1/pings"
+ ]
},
"deliveries_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
+ "examples": [
+ "https://api.github.com/orgs/octocat/hooks/1/deliveries"
+ ]
},
"name": {
"type": "string",
- "example": "web"
+ "examples": [
+ "web"
+ ]
},
"events": {
"type": "array",
- "example": [
- "push",
- "pull_request"
- ],
"items": {
"type": "string"
- }
+ },
+ "examples": [
+ "push",
+ "pull_request"
+ ]
},
"active": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"config": {
"type": "object",
"properties": {
"url": {
"type": "string",
- "example": "\"http://example.com/2\""
+ "examples": [
+ "\"http://example.com/2\""
+ ]
},
"insecure_ssl": {
"type": "string",
- "example": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
"content_type": {
"type": "string",
- "example": "\"form\""
+ "examples": [
+ "\"form\""
+ ]
},
"secret": {
"type": "string",
- "example": "\"********\""
+ "examples": [
+ "\"********\""
+ ]
}
}
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2011-09-06T20:39:23Z"
+ "examples": [
+ "2011-09-06T20:39:23Z"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-09-06T17:26:27Z"
+ "examples": [
+ "2011-09-06T17:26:27Z"
+ ]
},
"type": {
"type": "string"
@@ -77742,25 +91035,33 @@
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.",
- "example": "https://example.com/webhook",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ]
},
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.",
- "example": "\"json\""
+ "examples": [
+ "\"json\""
+ ]
},
"secret": {
"type": "string",
"description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers).",
- "example": "\"********\""
+ "examples": [
+ "\"********\""
+ ]
},
"insecure_ssl": {
"oneOf": [
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -77789,7 +91090,9 @@
},
"name": {
"type": "string",
- "example": "\"web\""
+ "examples": [
+ "\"web\""
+ ]
}
}
},
@@ -77814,71 +91117,95 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/octocat/hooks/1"
+ "examples": [
+ "https://api.github.com/orgs/octocat/hooks/1"
+ ]
},
"ping_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/octocat/hooks/1/pings"
+ "examples": [
+ "https://api.github.com/orgs/octocat/hooks/1/pings"
+ ]
},
"deliveries_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/octocat/hooks/1/deliveries"
+ "examples": [
+ "https://api.github.com/orgs/octocat/hooks/1/deliveries"
+ ]
},
"name": {
"type": "string",
- "example": "web"
+ "examples": [
+ "web"
+ ]
},
"events": {
"type": "array",
- "example": [
- "push",
- "pull_request"
- ],
"items": {
"type": "string"
- }
+ },
+ "examples": [
+ "push",
+ "pull_request"
+ ]
},
"active": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"config": {
"type": "object",
"properties": {
"url": {
"type": "string",
- "example": "\"http://example.com/2\""
+ "examples": [
+ "\"http://example.com/2\""
+ ]
},
"insecure_ssl": {
"type": "string",
- "example": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
"content_type": {
"type": "string",
- "example": "\"form\""
+ "examples": [
+ "\"form\""
+ ]
},
"secret": {
"type": "string",
- "example": "\"********\""
+ "examples": [
+ "\"********\""
+ ]
}
}
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2011-09-06T20:39:23Z"
+ "examples": [
+ "2011-09-06T20:39:23Z"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-09-06T17:26:27Z"
+ "examples": [
+ "2011-09-06T17:26:27Z"
+ ]
},
"type": {
"type": "string"
@@ -77967,16 +91294,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -78136,25 +91469,33 @@
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.",
- "example": "https://example.com/webhook",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ]
},
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.",
- "example": "\"json\""
+ "examples": [
+ "\"json\""
+ ]
},
"secret": {
"type": "string",
"description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers).",
- "example": "\"********\""
+ "examples": [
+ "\"********\""
+ ]
},
"insecure_ssl": {
"oneOf": [
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -78223,25 +91564,33 @@
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.",
- "example": "https://example.com/webhook",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ]
},
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.",
- "example": "\"json\""
+ "examples": [
+ "\"json\""
+ ]
},
"secret": {
"type": "string",
"description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers).",
- "example": "\"********\""
+ "examples": [
+ "\"********\""
+ ]
},
"insecure_ssl": {
"oneOf": [
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -78273,25 +91622,33 @@
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.",
- "example": "https://example.com/webhook",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ]
},
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.",
- "example": "\"json\""
+ "examples": [
+ "\"json\""
+ ]
},
"secret": {
"type": "string",
"description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers).",
- "example": "\"********\""
+ "examples": [
+ "\"********\""
+ ]
},
"insecure_ssl": {
"oneOf": [
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -78385,61 +91742,89 @@
"id": {
"description": "Unique identifier of the webhook delivery.",
"type": "integer",
- "example": 42
+ "examples": [
+ 42
+ ]
},
"guid": {
"description": "Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event).",
"type": "string",
- "example": "58474f00-b361-11eb-836d-0e4f3503ccbe"
+ "examples": [
+ "58474f00-b361-11eb-836d-0e4f3503ccbe"
+ ]
},
"delivered_at": {
"description": "Time when the webhook delivery occurred.",
"type": "string",
"format": "date-time",
- "example": "2021-05-12T20:33:44Z"
+ "examples": [
+ "2021-05-12T20:33:44Z"
+ ]
},
"redelivery": {
"description": "Whether the webhook delivery is a redelivery.",
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"duration": {
"description": "Time spent delivering.",
"type": "number",
- "example": 0.03
+ "examples": [
+ 0.03
+ ]
},
"status": {
"description": "Describes the response returned after attempting the delivery.",
"type": "string",
- "example": "failed to connect"
+ "examples": [
+ "failed to connect"
+ ]
},
"status_code": {
"description": "Status code received when delivery was made.",
"type": "integer",
- "example": 502
+ "examples": [
+ 502
+ ]
},
"event": {
"description": "The event that triggered the delivery.",
"type": "string",
- "example": "issues"
+ "examples": [
+ "issues"
+ ]
},
"action": {
"description": "The type of activity for the event that triggered the delivery.",
- "type": "string",
- "example": "opened",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "opened"
+ ]
},
"installation_id": {
"description": "The id of the GitHub App installation associated with this event.",
- "type": "integer",
- "example": 123,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 123
+ ]
},
"repository_id": {
"description": "The id of the repository associated with this event.",
- "type": "integer",
- "example": 123,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 123
+ ]
}
},
"required": [
@@ -78523,23 +91908,31 @@
"type": "object",
"properties": {
"message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"documentation_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"detail": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"status": {
"type": "integer"
},
"scimType": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"schemas": {
"type": "array",
@@ -78597,16 +91990,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -78681,80 +92080,114 @@
"id": {
"description": "Unique identifier of the delivery.",
"type": "integer",
- "example": 42
+ "examples": [
+ 42
+ ]
},
"guid": {
"description": "Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event).",
"type": "string",
- "example": "58474f00-b361-11eb-836d-0e4f3503ccbe"
+ "examples": [
+ "58474f00-b361-11eb-836d-0e4f3503ccbe"
+ ]
},
"delivered_at": {
"description": "Time when the delivery was delivered.",
"type": "string",
"format": "date-time",
- "example": "2021-05-12T20:33:44Z"
+ "examples": [
+ "2021-05-12T20:33:44Z"
+ ]
},
"redelivery": {
"description": "Whether the delivery is a redelivery.",
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"duration": {
"description": "Time spent delivering.",
"type": "number",
- "example": 0.03
+ "examples": [
+ 0.03
+ ]
},
"status": {
"description": "Description of the status of the attempted delivery",
"type": "string",
- "example": "failed to connect"
+ "examples": [
+ "failed to connect"
+ ]
},
"status_code": {
"description": "Status code received when delivery was made.",
"type": "integer",
- "example": 502
+ "examples": [
+ 502
+ ]
},
"event": {
"description": "The event that triggered the delivery.",
"type": "string",
- "example": "issues"
+ "examples": [
+ "issues"
+ ]
},
"action": {
"description": "The type of activity for the event that triggered the delivery.",
- "type": "string",
- "example": "opened",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "opened"
+ ]
},
"installation_id": {
"description": "The id of the GitHub App installation associated with this event.",
- "type": "integer",
- "example": 123,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 123
+ ]
},
"repository_id": {
"description": "The id of the repository associated with this event.",
- "type": "integer",
- "example": 123,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 123
+ ]
},
"url": {
"description": "The URL target of the delivery.",
"type": "string",
- "example": "https://www.example.com"
+ "examples": [
+ "https://www.example.com"
+ ]
},
"request": {
"type": "object",
"properties": {
"headers": {
"description": "The request headers sent with the webhook delivery.",
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"additionalProperties": true
},
"payload": {
"description": "The webhook payload.",
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"additionalProperties": true
}
},
@@ -78768,14 +92201,18 @@
"properties": {
"headers": {
"description": "The response headers received when the delivery was made.",
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"additionalProperties": true
},
"payload": {
"description": "The response payload received.",
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"additionalProperties": true
}
},
@@ -78882,23 +92319,31 @@
"type": "object",
"properties": {
"message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"documentation_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"detail": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"status": {
"type": "integer"
},
"scimType": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"schemas": {
"type": "array",
@@ -78956,16 +92401,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -79069,23 +92520,31 @@
"type": "object",
"properties": {
"message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"documentation_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"detail": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"status": {
"type": "integer"
},
"scimType": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"schemas": {
"type": "array",
@@ -79143,16 +92602,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -79280,10 +92745,11 @@
"id": {
"description": "The ID of the installation.",
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"account": {
- "nullable": true,
"anyOf": [
{
"title": "Simple User",
@@ -79291,96 +92757,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -79411,50 +92919,72 @@
"properties": {
"description": {
"description": "A short description of the enterprise.",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/enterprises/octo-business"
+ "examples": [
+ "https://github.com/enterprises/octo-business"
+ ]
},
"website_url": {
"description": "The enterprise's website URL.",
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri"
},
"id": {
"description": "Unique identifier of the enterprise",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the enterprise.",
"type": "string",
- "example": "Octo Business"
+ "examples": [
+ "Octo Business"
+ ]
},
"slug": {
"description": "The slug url identifier for the enterprise.",
"type": "string",
- "example": "octo-business"
+ "examples": [
+ "octo-business"
+ ]
},
"created_at": {
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2019-01-26T19:01:12Z"
+ "examples": [
+ "2019-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2019-01-26T19:14:43Z"
+ "examples": [
+ "2019-01-26T19:14:43Z"
+ ]
},
"avatar_url": {
"type": "string",
@@ -79472,6 +93002,10 @@
"avatar_url"
]
}
+ ],
+ "type": [
+ "null",
+ "object"
]
},
"repository_selection": {
@@ -79485,21 +93019,29 @@
"access_tokens_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/installations/1/access_tokens"
+ "examples": [
+ "https://api.github.com/installations/1/access_tokens"
+ ]
},
"repositories_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/installation/repositories"
+ "examples": [
+ "https://api.github.com/installation/repositories"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/organizations/github/settings/installations/1"
+ "examples": [
+ "https://github.com/organizations/github/settings/installations/1"
+ ]
},
"app_id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"target_id": {
"description": "The ID of the user or organization this token is being scoped to.",
@@ -79507,7 +93049,9 @@
},
"target_type": {
"type": "string",
- "example": "Organization"
+ "examples": [
+ "Organization"
+ ]
},
"permissions": {
"title": "App Permissions",
@@ -79777,157 +93321,219 @@
"format": "date-time"
},
"single_file_name": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
},
"has_multiple_single_files": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"single_file_paths": {
"type": "array",
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"config.yml",
".github/issue_TEMPLATE.md"
]
},
"app_slug": {
"type": "string",
- "example": "github-actions"
+ "examples": [
+ "github-actions"
+ ]
},
"suspended_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"suspended_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"contact_email": {
- "type": "string",
- "example": "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\""
+ ]
}
},
"required": [
@@ -80081,10 +93687,11 @@
"id": {
"description": "The ID of the installation.",
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"account": {
- "nullable": true,
"anyOf": [
{
"title": "Simple User",
@@ -80092,96 +93699,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -80212,50 +93861,72 @@
"properties": {
"description": {
"description": "A short description of the enterprise.",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/enterprises/octo-business"
+ "examples": [
+ "https://github.com/enterprises/octo-business"
+ ]
},
"website_url": {
"description": "The enterprise's website URL.",
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri"
},
"id": {
"description": "Unique identifier of the enterprise",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the enterprise.",
"type": "string",
- "example": "Octo Business"
+ "examples": [
+ "Octo Business"
+ ]
},
"slug": {
"description": "The slug url identifier for the enterprise.",
"type": "string",
- "example": "octo-business"
+ "examples": [
+ "octo-business"
+ ]
},
"created_at": {
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2019-01-26T19:01:12Z"
+ "examples": [
+ "2019-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2019-01-26T19:14:43Z"
+ "examples": [
+ "2019-01-26T19:14:43Z"
+ ]
},
"avatar_url": {
"type": "string",
@@ -80273,6 +93944,10 @@
"avatar_url"
]
}
+ ],
+ "type": [
+ "null",
+ "object"
]
},
"repository_selection": {
@@ -80286,21 +93961,29 @@
"access_tokens_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/installations/1/access_tokens"
+ "examples": [
+ "https://api.github.com/installations/1/access_tokens"
+ ]
},
"repositories_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/installation/repositories"
+ "examples": [
+ "https://api.github.com/installation/repositories"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/organizations/github/settings/installations/1"
+ "examples": [
+ "https://github.com/organizations/github/settings/installations/1"
+ ]
},
"app_id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"target_id": {
"description": "The ID of the user or organization this token is being scoped to.",
@@ -80308,7 +93991,9 @@
},
"target_type": {
"type": "string",
- "example": "Organization"
+ "examples": [
+ "Organization"
+ ]
},
"permissions": {
"title": "App Permissions",
@@ -80578,157 +94263,219 @@
"format": "date-time"
},
"single_file_name": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
},
"has_multiple_single_files": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"single_file_paths": {
"type": "array",
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"config.yml",
".github/issue_TEMPLATE.md"
]
},
"app_slug": {
"type": "string",
- "example": "github-actions"
+ "examples": [
+ "github-actions"
+ ]
},
"suspended_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"suspended_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"contact_email": {
- "type": "string",
- "example": "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\""
+ ]
}
},
"required": [
@@ -80871,21 +94618,27 @@
"limit": {
"type": "string",
"description": "The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect. Can be one of: `existing_users`, `contributors_only`, `collaborators_only`.",
- "example": "collaborators_only",
"enum": [
"existing_users",
"contributors_only",
"collaborators_only"
+ ],
+ "examples": [
+ "collaborators_only"
]
},
"origin": {
"type": "string",
- "example": "repository"
+ "examples": [
+ "repository"
+ ]
},
"expires_at": {
"type": "string",
"format": "date-time",
- "example": "2018-08-17T04:18:39Z"
+ "examples": [
+ "2018-08-17T04:18:39Z"
+ ]
}
},
"required": [
@@ -80955,23 +94708,27 @@
"limit": {
"type": "string",
"description": "The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect. Can be one of: `existing_users`, `contributors_only`, `collaborators_only`.",
- "example": "collaborators_only",
"enum": [
"existing_users",
"contributors_only",
"collaborators_only"
+ ],
+ "examples": [
+ "collaborators_only"
]
},
"expiry": {
"type": "string",
"description": "The duration of the interaction restriction. Can be one of: `one_day`, `three_days`, `one_week`, `one_month`, `six_months`. Default: `one_day`.",
- "example": "one_month",
"enum": [
"one_day",
"three_days",
"one_week",
"one_month",
"six_months"
+ ],
+ "examples": [
+ "one_month"
]
}
},
@@ -80995,21 +94752,27 @@
"limit": {
"type": "string",
"description": "The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect. Can be one of: `existing_users`, `contributors_only`, `collaborators_only`.",
- "example": "collaborators_only",
"enum": [
"existing_users",
"contributors_only",
"collaborators_only"
+ ],
+ "examples": [
+ "collaborators_only"
]
},
"origin": {
"type": "string",
- "example": "repository"
+ "examples": [
+ "repository"
+ ]
},
"expires_at": {
"type": "string",
"format": "date-time",
- "example": "2018-08-17T04:18:39Z"
+ "examples": [
+ "2018-08-17T04:18:39Z"
+ ]
}
},
"required": [
@@ -81075,16 +94838,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -81197,12 +94966,16 @@
"type": "integer"
},
"login": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"role": {
"type": "string"
@@ -81211,12 +94984,16 @@
"type": "string"
},
"failed_at": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"failed_reason": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"inviter": {
"title": "Simple User",
@@ -81224,96 +95001,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -81342,11 +95161,15 @@
},
"node_id": {
"type": "string",
- "example": "\"MDIyOk9yZ2FuaXphdGlvbkludml0YXRpb24x\""
+ "examples": [
+ "\"MDIyOk9yZ2FuaXphdGlvbkludml0YXRpb24x\""
+ ]
},
"invitation_teams_url": {
"type": "string",
- "example": "\"https://api.github.com/organizations/16/invitations/1/teams\""
+ "examples": [
+ "\"https://api.github.com/organizations/16/invitations/1/teams\""
+ ]
}
},
"required": [
@@ -81525,12 +95348,16 @@
"type": "integer"
},
"login": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"role": {
"type": "string"
@@ -81539,12 +95366,16 @@
"type": "string"
},
"failed_at": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"failed_reason": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"inviter": {
"title": "Simple User",
@@ -81552,96 +95383,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -81670,11 +95543,15 @@
},
"node_id": {
"type": "string",
- "example": "\"MDIyOk9yZ2FuaXphdGlvbkludml0YXRpb24x\""
+ "examples": [
+ "\"MDIyOk9yZ2FuaXphdGlvbkludml0YXRpb24x\""
+ ]
},
"invitation_teams_url": {
"type": "string",
- "example": "\"https://api.github.com/organizations/16/invitations/1/teams\""
+ "examples": [
+ "\"https://api.github.com/organizations/16/invitations/1/teams\""
+ ]
}
},
"required": [
@@ -81771,16 +95648,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -81911,16 +95794,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -82045,8 +95934,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -82088,7 +95979,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -82098,83 +95991,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -82399,9 +96324,11 @@
},
"url": {
"description": "URL for the issue",
- "example": "https://api.github.com/repositories/42/issues/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/1"
+ ]
},
"repository_url": {
"type": "string",
@@ -82424,151 +96351,205 @@
},
"number": {
"description": "Number uniquely identifying the issue within its repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"state": {
"description": "State of the issue; either 'open' or 'closed'",
- "example": "open",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "open"
+ ]
},
"title": {
"description": "Title of the issue",
- "example": "Widget creation fails in Safari on OS X 10.8",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Widget creation fails in Safari on OS X 10.8"
+ ]
},
"body": {
"description": "Contents of the issue",
- "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"labels": {
"description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository",
- "example": [
- "bug",
- "registration"
- ],
"type": "array",
"items": {
"oneOf": [
@@ -82593,12 +96574,16 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"color": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"default": {
"type": "boolean"
@@ -82606,226 +96591,323 @@
}
}
]
- }
+ },
+ "examples": [
+ "bug",
+ "registration"
+ ]
},
"assignee": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"assignees": {
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -82848,158 +96930,541 @@
"type",
"url"
]
- },
- "nullable": true
+ }
},
"milestone": {
- "title": "Milestone",
- "description": "A collection of related issues and pull requests.",
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Milestone",
+ "description": "A collection of related issues and pull requests.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World/milestones/v1.0"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1002604
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDk6TWlsZXN0b25lMTAwMjYwNA=="
+ ]
+ },
+ "number": {
+ "description": "The number of the milestone.",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "state": {
+ "description": "The state of the milestone.",
+ "type": "string",
+ "enum": [
+ "open",
+ "closed"
+ ],
+ "default": "open",
+ "examples": [
+ "open"
+ ]
+ },
+ "title": {
+ "description": "The title of the milestone.",
+ "type": "string",
+ "examples": [
+ "v1.0"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Tracking milestone for version 1.0"
+ ]
+ },
+ "creator": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "open_issues": {
+ "type": "integer",
+ "examples": [
+ 4
+ ]
+ },
+ "closed_issues": {
+ "type": "integer",
+ "examples": [
+ 8
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-10T20:09:31Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2013-02-12T13:22:01Z"
+ ]
+ },
+ "due_on": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2012-10-09T23:39:01Z"
+ ]
+ }
+ },
+ "required": [
+ "closed_issues",
+ "creator",
+ "description",
+ "due_on",
+ "closed_at",
+ "id",
+ "node_id",
+ "labels_url",
+ "html_url",
+ "number",
+ "open_issues",
+ "state",
+ "title",
+ "url",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ ]
+ },
+ "locked": {
+ "type": "boolean"
+ },
+ "active_lock_reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "comments": {
+ "type": "integer"
+ },
+ "pull_request": {
"type": "object",
"properties": {
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ "merged_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "diff_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World/milestones/v1.0"
- },
- "labels_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
- },
- "id": {
- "type": "integer",
- "example": 1002604
- },
- "node_id": {
- "type": "string",
- "example": "MDk6TWlsZXN0b25lMTAwMjYwNA=="
- },
- "number": {
- "description": "The number of the milestone.",
- "type": "integer",
- "example": 42
- },
- "state": {
- "description": "The state of the milestone.",
- "example": "open",
- "type": "string",
- "enum": [
- "open",
- "closed"
+ "type": [
+ "string",
+ "null"
],
- "default": "open"
+ "format": "uri"
},
- "title": {
- "description": "The title of the milestone.",
- "example": "v1.0",
- "type": "string"
+ "patch_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
- "description": {
- "type": "string",
- "example": "Tracking milestone for version 1.0",
- "nullable": true
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
+ }
+ },
+ "required": [
+ "diff_url",
+ "html_url",
+ "patch_url",
+ "url"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "draft": {
+ "type": "boolean"
+ },
+ "closed_by": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "creator": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -83021,242 +97486,10 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
- },
- "open_issues": {
- "type": "integer",
- "example": 4
- },
- "closed_issues": {
- "type": "integer",
- "example": 8
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-10T20:09:31Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2014-03-03T18:58:10Z"
- },
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2013-02-12T13:22:01Z",
- "nullable": true
- },
- "due_on": {
- "type": "string",
- "format": "date-time",
- "example": "2012-10-09T23:39:01Z",
- "nullable": true
+ ]
}
- },
- "required": [
- "closed_issues",
- "creator",
- "description",
- "due_on",
- "closed_at",
- "id",
- "node_id",
- "labels_url",
- "html_url",
- "number",
- "open_issues",
- "state",
- "title",
- "url",
- "created_at",
- "updated_at"
- ],
- "nullable": true
- },
- "locked": {
- "type": "boolean"
- },
- "active_lock_reason": {
- "type": "string",
- "nullable": true
- },
- "comments": {
- "type": "integer"
- },
- "pull_request": {
- "type": "object",
- "properties": {
- "merged_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "diff_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "patch_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- }
- },
- "required": [
- "diff_url",
- "html_url",
- "patch_url",
- "url"
]
},
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "draft": {
- "type": "boolean"
- },
- "closed_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
"body_html": {
"type": "string"
},
@@ -83274,183 +97507,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -83486,96 +97795,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -83607,12 +97958,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -83620,228 +97977,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -83853,19 +98316,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -83874,7 +98343,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -83891,32 +98362,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -84249,25 +98736,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -84290,7 +98785,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -84370,255 +98867,340 @@
]
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -84629,6 +99211,9 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
},
"reactions": {
@@ -85100,96 +99685,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -85307,16 +99934,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -85507,31 +100140,39 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/octocat/memberships/defunkt"
+ "examples": [
+ "https://api.github.com/orgs/octocat/memberships/defunkt"
+ ]
},
"state": {
"type": "string",
"description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.",
- "example": "active",
"enum": [
"active",
"pending"
+ ],
+ "examples": [
+ "active"
]
},
"role": {
"type": "string",
"description": "The user's membership type in the organization.",
- "example": "admin",
"enum": [
"admin",
"member",
"billing_manager"
+ ],
+ "examples": [
+ "admin"
]
},
"organization_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/octocat"
+ "examples": [
+ "https://api.github.com/orgs/octocat"
+ ]
},
"organization": {
"title": "Organization Simple",
@@ -85540,55 +100181,81 @@
"properties": {
"login": {
"type": "string",
- "example": "github"
+ "examples": [
+ "github"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEyOk9yZ2FuaXphdGlvbjE="
+ "examples": [
+ "MDEyOk9yZ2FuaXphdGlvbjE="
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github"
+ "examples": [
+ "https://api.github.com/orgs/github"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github/repos"
+ "examples": [
+ "https://api.github.com/orgs/github/repos"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github/events"
+ "examples": [
+ "https://api.github.com/orgs/github/events"
+ ]
},
"hooks_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/hooks"
+ "examples": [
+ "https://api.github.com/orgs/github/hooks"
+ ]
},
"issues_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/issues"
+ "examples": [
+ "https://api.github.com/orgs/github/issues"
+ ]
},
"members_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/members{/member}"
+ "examples": [
+ "https://api.github.com/orgs/github/members{/member}"
+ ]
},
"public_members_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/public_members{/member}"
+ "examples": [
+ "https://api.github.com/orgs/github/public_members{/member}"
+ ]
},
"avatar_url": {
"type": "string",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"description": {
- "type": "string",
- "example": "A great organization",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great organization"
+ ]
}
},
"required": [
@@ -85607,124 +100274,172 @@
]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"permissions": {
"type": "object",
@@ -85918,31 +100633,39 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/octocat/memberships/defunkt"
+ "examples": [
+ "https://api.github.com/orgs/octocat/memberships/defunkt"
+ ]
},
"state": {
"type": "string",
"description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.",
- "example": "active",
"enum": [
"active",
"pending"
+ ],
+ "examples": [
+ "active"
]
},
"role": {
"type": "string",
"description": "The user's membership type in the organization.",
- "example": "admin",
"enum": [
"admin",
"member",
"billing_manager"
+ ],
+ "examples": [
+ "admin"
]
},
"organization_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/octocat"
+ "examples": [
+ "https://api.github.com/orgs/octocat"
+ ]
},
"organization": {
"title": "Organization Simple",
@@ -85951,55 +100674,81 @@
"properties": {
"login": {
"type": "string",
- "example": "github"
+ "examples": [
+ "github"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEyOk9yZ2FuaXphdGlvbjE="
+ "examples": [
+ "MDEyOk9yZ2FuaXphdGlvbjE="
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github"
+ "examples": [
+ "https://api.github.com/orgs/github"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github/repos"
+ "examples": [
+ "https://api.github.com/orgs/github/repos"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github/events"
+ "examples": [
+ "https://api.github.com/orgs/github/events"
+ ]
},
"hooks_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/hooks"
+ "examples": [
+ "https://api.github.com/orgs/github/hooks"
+ ]
},
"issues_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/issues"
+ "examples": [
+ "https://api.github.com/orgs/github/issues"
+ ]
},
"members_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/members{/member}"
+ "examples": [
+ "https://api.github.com/orgs/github/members{/member}"
+ ]
},
"public_members_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/public_members{/member}"
+ "examples": [
+ "https://api.github.com/orgs/github/public_members{/member}"
+ ]
},
"avatar_url": {
"type": "string",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"description": {
- "type": "string",
- "example": "A great organization",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great organization"
+ ]
}
},
"required": [
@@ -86018,124 +100767,172 @@
]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"permissions": {
"type": "object",
@@ -86251,16 +101048,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -86453,8 +101256,10 @@
"enum": [
"repositories"
],
- "example": "repositories",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "repositories"
+ ]
}
}
}
@@ -86473,139 +101278,195 @@
"properties": {
"id": {
"type": "integer",
- "example": 79
+ "examples": [
+ 79
+ ]
},
"owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"guid": {
"type": "string",
- "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516"
+ "examples": [
+ "0b989ba4-242f-11e5-81e1-c7b6966d2516"
+ ]
},
"state": {
"type": "string",
- "example": "pending"
+ "examples": [
+ "pending"
+ ]
},
"lock_repositories": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"exclude_metadata": {
"type": "boolean"
@@ -86631,183 +101492,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -86843,96 +101780,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -86964,12 +101943,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -86977,228 +101962,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -87210,19 +102301,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -87231,7 +102328,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -87248,32 +102347,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -87606,25 +102721,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -87647,7 +102770,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -87730,17 +102855,23 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/octo-org/migrations/79"
+ "examples": [
+ "https://api.github.com/orgs/octo-org/migrations/79"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2015-07-06T15:33:38-07:00"
+ "examples": [
+ "2015-07-06T15:33:38-07:00"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2015-07-06T15:33:38-07:00"
+ "examples": [
+ "2015-07-06T15:33:38-07:00"
+ ]
},
"node_id": {
"type": "string"
@@ -87994,27 +103125,35 @@
},
"lock_repositories": {
"type": "boolean",
- "example": true,
"description": "Indicates whether repositories should be locked (to prevent manipulation) while migrating data.",
- "default": false
+ "default": false,
+ "examples": [
+ true
+ ]
},
"exclude_attachments": {
"type": "boolean",
- "example": true,
"description": "Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).",
- "default": false
+ "default": false,
+ "examples": [
+ true
+ ]
},
"exclude_releases": {
"type": "boolean",
- "example": true,
"description": "Indicates whether releases should be excluded from the migration (to reduce migration archive file size).",
- "default": false
+ "default": false,
+ "examples": [
+ true
+ ]
},
"exclude_owner_projects": {
"type": "boolean",
- "example": true,
"description": "Indicates whether projects owned by the organization or users should be excluded. from the migration.",
- "default": false
+ "default": false,
+ "examples": [
+ true
+ ]
},
"exclude": {
"type": "array",
@@ -88051,139 +103190,195 @@
"properties": {
"id": {
"type": "integer",
- "example": 79
+ "examples": [
+ 79
+ ]
},
"owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"guid": {
"type": "string",
- "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516"
+ "examples": [
+ "0b989ba4-242f-11e5-81e1-c7b6966d2516"
+ ]
},
"state": {
"type": "string",
- "example": "pending"
+ "examples": [
+ "pending"
+ ]
},
"lock_repositories": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"exclude_metadata": {
"type": "boolean"
@@ -88209,183 +103404,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -88421,96 +103692,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -88542,12 +103855,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -88555,228 +103874,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -88788,19 +104213,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -88809,7 +104240,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -88826,32 +104259,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -89184,25 +104633,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -89225,7 +104682,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -89308,17 +104767,23 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/octo-org/migrations/79"
+ "examples": [
+ "https://api.github.com/orgs/octo-org/migrations/79"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2015-07-06T15:33:38-07:00"
+ "examples": [
+ "2015-07-06T15:33:38-07:00"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2015-07-06T15:33:38-07:00"
+ "examples": [
+ "2015-07-06T15:33:38-07:00"
+ ]
},
"node_id": {
"type": "string"
@@ -89587,16 +105052,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -89661,8 +105132,10 @@
"enum": [
"repositories"
],
- "example": "repositories",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "repositories"
+ ]
}
}
}
@@ -89679,139 +105152,195 @@
"properties": {
"id": {
"type": "integer",
- "example": 79
+ "examples": [
+ 79
+ ]
},
"owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"guid": {
"type": "string",
- "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516"
+ "examples": [
+ "0b989ba4-242f-11e5-81e1-c7b6966d2516"
+ ]
},
"state": {
"type": "string",
- "example": "pending"
+ "examples": [
+ "pending"
+ ]
},
"lock_repositories": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"exclude_metadata": {
"type": "boolean"
@@ -89837,183 +105366,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -90049,96 +105654,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -90170,12 +105817,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -90183,228 +105836,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -90416,19 +106175,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -90437,7 +106202,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -90454,32 +106221,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -90812,25 +106595,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -90853,7 +106644,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -90936,17 +106729,23 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/octo-org/migrations/79"
+ "examples": [
+ "https://api.github.com/orgs/octo-org/migrations/79"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2015-07-06T15:33:38-07:00"
+ "examples": [
+ "2015-07-06T15:33:38-07:00"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2015-07-06T15:33:38-07:00"
+ "examples": [
+ "2015-07-06T15:33:38-07:00"
+ ]
},
"node_id": {
"type": "string"
@@ -91459,19 +107258,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -91479,96 +107286,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -91598,12 +107447,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -91611,129 +107466,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -91741,58 +107654,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -91846,22 +107781,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -91885,2627 +107832,275 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "full_name": {
- "type": "string"
- },
- "owner": {
- "type": "object",
- "properties": {
- "login": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "avatar_url": {
- "type": "string"
- },
- "gravatar_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "followers_url": {
- "type": "string"
- },
- "following_url": {
- "type": "string"
- },
- "gists_url": {
- "type": "string"
- },
- "starred_url": {
- "type": "string"
- },
- "subscriptions_url": {
- "type": "string"
- },
- "organizations_url": {
- "type": "string"
- },
- "repos_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "received_events_url": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "site_admin": {
- "type": "boolean"
- }
- }
- },
- "private": {
- "type": "boolean"
- },
- "html_url": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string"
- },
- "archive_url": {
- "type": "string"
- },
- "assignees_url": {
- "type": "string"
- },
- "blobs_url": {
- "type": "string"
- },
- "branches_url": {
- "type": "string"
- },
- "collaborators_url": {
- "type": "string"
- },
- "comments_url": {
- "type": "string"
- },
- "commits_url": {
- "type": "string"
- },
- "compare_url": {
- "type": "string"
- },
- "contents_url": {
- "type": "string"
- },
- "contributors_url": {
- "type": "string"
- },
- "deployments_url": {
- "type": "string"
- },
- "downloads_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "forks_url": {
- "type": "string"
- },
- "git_commits_url": {
- "type": "string"
- },
- "git_refs_url": {
- "type": "string"
- },
- "git_tags_url": {
- "type": "string"
- },
- "git_url": {
- "type": "string"
- },
- "issue_comment_url": {
- "type": "string"
- },
- "issue_events_url": {
- "type": "string"
- },
- "issues_url": {
- "type": "string"
- },
- "keys_url": {
- "type": "string"
- },
- "labels_url": {
- "type": "string"
- },
- "languages_url": {
- "type": "string"
- },
- "merges_url": {
- "type": "string"
- },
- "milestones_url": {
- "type": "string"
- },
- "notifications_url": {
- "type": "string"
- },
- "pulls_url": {
- "type": "string"
- },
- "releases_url": {
- "type": "string"
- },
- "ssh_url": {
- "type": "string"
- },
- "stargazers_url": {
- "type": "string"
- },
- "statuses_url": {
- "type": "string"
- },
- "subscribers_url": {
- "type": "string"
- },
- "subscription_url": {
- "type": "string"
- },
- "tags_url": {
- "type": "string"
- },
- "teams_url": {
- "type": "string"
- },
- "trees_url": {
- "type": "string"
- },
- "clone_url": {
- "type": "string"
- },
- "mirror_url": {
- "type": "string"
- },
- "hooks_url": {
- "type": "string"
- },
- "svn_url": {
- "type": "string"
- },
- "homepage": {
- "type": "string"
- },
- "language": {
- "type": "string"
- },
- "forks_count": {
- "type": "integer"
- },
- "stargazers_count": {
- "type": "integer"
- },
- "watchers_count": {
- "type": "integer"
- },
- "size": {
- "type": "integer"
- },
- "default_branch": {
- "type": "string"
- },
- "open_issues_count": {
- "type": "integer"
- },
- "is_template": {
- "type": "boolean"
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "type": "boolean"
- },
- "has_projects": {
- "type": "boolean"
- },
- "has_wiki": {
- "type": "boolean"
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "type": "boolean"
- },
- "archived": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean"
- },
- "visibility": {
- "type": "string"
- },
- "pushed_at": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
- },
- "allow_rebase_merge": {
- "type": "boolean"
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "type": "boolean"
- },
- "allow_auto_merge": {
- "type": "boolean"
- },
- "delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
- },
- "allow_merge_commit": {
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- }
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
- }
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
- },
- "temp_clone_token": {
- "type": "string"
- },
- "delete_branch_on_merge": {
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "code_of_conduct": {
- "title": "Code Of Conduct",
- "description": "Code Of Conduct",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "contributor_covenant"
- },
- "name": {
- "type": "string",
- "example": "Contributor Covenant"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
- },
- "body": {
- "type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- }
- },
- "required": [
- "url",
- "html_url",
- "key",
- "name"
- ]
- },
- "license": {
- "type": "object",
- "properties": {
- "key": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "spdx_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "node_id": {
- "type": "string"
- }
- },
- "nullable": true
- },
- "forks": {
- "type": "integer",
- "example": 0
- },
- "open_issues": {
- "type": "integer",
- "example": 0
- },
- "watchers": {
- "type": "integer",
- "example": 0
- },
- "allow_forking": {
- "type": "boolean"
- }
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url"
- ]
- }
- },
- "examples": {
- "default": {
- "value": [
- {
- "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": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
- "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}",
- "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
- "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}",
- "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
- "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}",
- "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}",
- "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
- "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}",
- "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors",
- "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments",
- "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads",
- "events_url": "https://api.github.com/repos/octocat/Hello-World/events",
- "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks",
- "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
- "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
- "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
- "git_url": "git:github.com/octocat/Hello-World.git",
- "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
- "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
- "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}",
- "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
- "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}",
- "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages",
- "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges",
- "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}",
- "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
- "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}",
- "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}",
- "ssh_url": "git@github.com:octocat/Hello-World.git",
- "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers",
- "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
- "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers",
- "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription",
- "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags",
- "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams",
- "trees_url": "https://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": "https://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": false,
- "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
- },
- "template_repository": null
- }
- ]
- }
- }
- }
- },
- "headers": {
- "Link": {
- "example": "; rel=\"next\", ; rel=\"last\"",
- "schema": {
- "type": "string"
- }
- }
- }
- },
- "404": {
- "description": "Resource not found",
- "content": {
- "application/json": {
- "schema": {
- "title": "Basic Error",
- "description": "Basic Error",
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "documentation_url": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "status": {
- "type": "string"
- }
- }
- }
- }
- }
- }
- },
- "x-github": {
- "githubCloudOnly": false,
- "enabledForGitHubApps": false,
- "category": "migrations",
- "subcategory": "orgs"
- }
- }
- },
- "/orgs/{org}/outside_collaborators": {
- "get": {
- "summary": "List outside collaborators for an organization",
- "description": "List all users who are outside collaborators of an organization.",
- "tags": [
- "orgs"
- ],
- "operationId": "orgs/list-outside-collaborators",
- "externalDocs": {
- "description": "API method documentation",
- "url": "https://docs.github.com/rest/reference/orgs#list-outside-collaborators-for-an-organization"
- },
- "parameters": [
- {
- "name": "org",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "filter",
- "description": "Filter the list of outside collaborators. Can be one of: \n\\* `2fa_disabled`: Outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) enabled. \n\\* `all`: All outside collaborators.",
- "in": "query",
- "required": false,
- "schema": {
- "type": "string",
- "enum": [
- "2fa_disabled",
- "all"
- ],
- "default": "all"
- }
- },
- {
- "name": "per_page",
- "description": "Results per page (max 100)",
- "in": "query",
- "schema": {
- "type": "integer",
- "default": 30
- }
- },
- {
- "name": "page",
- "description": "Page number of the results to fetch.",
- "in": "query",
- "schema": {
- "type": "integer",
- "default": 1
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Response",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- }
- },
- "examples": {
- "default": {
- "value": [
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
- ]
- }
- }
- }
- },
- "headers": {
- "Link": {
- "example": "; rel=\"next\", ; rel=\"last\"",
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "x-github": {
- "githubCloudOnly": false,
- "enabledForGitHubApps": true,
- "category": "orgs",
- "subcategory": "outside-collaborators"
- }
- }
- },
- "/orgs/{org}/outside_collaborators/{username}": {
- "put": {
- "summary": "Convert an organization member to outside collaborator",
- "description": "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](https://docs.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".",
- "tags": [
- "orgs"
- ],
- "operationId": "orgs/convert-member-to-outside-collaborator",
- "externalDocs": {
- "description": "API method documentation",
- "url": "https://docs.github.com/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator"
- },
- "parameters": [
- {
- "name": "org",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "username",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "202": {
- "description": "User is getting converted asynchronously",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- },
- "additionalProperties": false
- }
- }
- }
- },
- "204": {
- "description": "User was converted"
- },
- "403": {
- "description": "Forbidden if user is the last owner of the organization or not a member of the organization"
- },
- "404": {
- "description": "Resource not found",
- "content": {
- "application/json": {
- "schema": {
- "title": "Basic Error",
- "description": "Basic Error",
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "documentation_url": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "status": {
- "type": "string"
- }
- }
- }
- }
- }
- }
- },
- "x-github": {
- "githubCloudOnly": false,
- "enabledForGitHubApps": true,
- "category": "orgs",
- "subcategory": "outside-collaborators"
- }
- },
- "delete": {
- "summary": "Remove outside collaborator from an organization",
- "description": "Removing a user from this list will remove them from all the organization's repositories.",
- "tags": [
- "orgs"
- ],
- "operationId": "orgs/remove-outside-collaborator",
- "externalDocs": {
- "description": "API method documentation",
- "url": "https://docs.github.com/rest/reference/orgs#remove-outside-collaborator-from-an-organization"
- },
- "parameters": [
- {
- "name": "org",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "username",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "responses": {
- "204": {
- "description": "Response"
- },
- "422": {
- "description": "Unprocessable Entity if user is a member of the organization",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "documentation_url": {
- "type": "string"
- }
- }
- },
- "examples": {
- "response-if-user-is-a-member-of-the-organization": {
- "value": {
- "message": "You cannot specify an organization member to remove as an outside collaborator.",
- "documentation_url": "https://docs.github.com/rest/reference/orgs#remove-outside-collaborator"
- }
- }
- }
- }
- }
- }
- },
- "x-github": {
- "githubCloudOnly": false,
- "enabledForGitHubApps": true,
- "category": "orgs",
- "subcategory": "outside-collaborators"
- }
- }
- },
- "/orgs/{org}/packages": {
- "get": {
- "summary": "List packages for an organization",
- "description": "Lists all packages in an organization readable by the user.\n\nTo use this endpoint, you must authenticate using an access token with the `packages:read` scope.\nIf `package_type` is not `container`, your token must also include the `repo` scope.",
- "tags": [
- "packages"
- ],
- "operationId": "packages/list-packages-for-organization",
- "externalDocs": {
- "description": "API method documentation",
- "url": "https://docs.github.com/rest/reference/packages#list-packages-for-an-organization"
- },
- "parameters": [
- {
- "name": "package_type",
- "description": "The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry.",
- "in": "query",
- "required": true,
- "schema": {
- "type": "string",
- "enum": [
- "npm",
- "maven",
- "rubygems",
- "docker",
- "nuget",
- "container"
- ]
- }
- },
- {
- "name": "org",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "visibility",
- "description": "The selected visibility of the packages. Can be one of `public`, `private`, or `internal`. Only `container` package_types currently support `internal` visibility properly. For other ecosystems `internal` is synonymous with `private`. This parameter is optional and only filters an existing result set.",
- "in": "query",
- "required": false,
- "schema": {
- "type": "string",
- "enum": [
- "public",
- "private",
- "internal"
- ]
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Response",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "title": "Package",
- "description": "A software package",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the package.",
- "type": "integer",
- "example": 1
- },
- "name": {
- "description": "The name of the package.",
- "type": "string",
- "example": "super-linter"
- },
- "package_type": {
- "type": "string",
- "example": "docker",
- "enum": [
- "npm",
- "maven",
- "rubygems",
- "docker",
- "nuget",
- "container"
- ]
- },
- "url": {
- "type": "string",
- "example": "https://api.github.com/orgs/github/packages/container/super-linter"
- },
- "html_url": {
- "type": "string",
- "example": "https://github.com/orgs/github/packages/container/package/super-linter"
- },
- "version_count": {
- "description": "The number of versions of the package.",
- "type": "integer",
- "example": 1
- },
- "visibility": {
- "type": "string",
- "example": "private",
- "enum": [
- "private",
- "public"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "repository": {
- "title": "Minimal Repository",
- "description": "Minimal Repository",
- "type": "object",
- "properties": {
- "id": {
- "type": "integer",
- "example": 1296269
- },
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "type": "string",
- "example": "Hello-World"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string"
- },
- "mirror_url": {
- "type": "string",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string"
- },
- "homepage": {
- "type": "string",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer"
- },
- "stargazers_count": {
- "type": "integer"
- },
- "watchers_count": {
- "type": "integer"
- },
- "size": {
- "type": "integer"
- },
- "default_branch": {
- "type": "string"
- },
- "open_issues_count": {
- "type": "integer"
- },
- "is_template": {
- "type": "boolean"
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "type": "boolean"
- },
- "has_projects": {
- "type": "boolean"
- },
- "has_wiki": {
- "type": "boolean"
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "type": "boolean"
- },
- "archived": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean"
- },
- "visibility": {
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
- },
- "role_name": {
- "type": "string",
- "example": "admin"
- },
- "template_repository": {
+ {
"title": "Repository",
"description": "A git repository",
"type": "object",
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -94541,96 +108136,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -94662,12 +108299,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -94675,228 +108318,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -94908,19 +108657,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -94929,7 +108684,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -94946,32 +108703,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -95304,25 +109077,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -95345,7 +109126,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -95422,142 +109205,3144 @@
"watchers_count",
"created_at",
"updated_at"
- ],
- "nullable": true
+ ]
+ }
+ ]
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ },
+ "code_of_conduct": {
+ "title": "Code Of Conduct",
+ "description": "Code Of Conduct",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "contributor_covenant"
+ ]
},
- "temp_clone_token": {
+ "name": {
+ "type": "string",
+ "examples": [
+ "Contributor Covenant"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
+ },
+ "body": {
+ "type": "string",
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
+ },
+ "html_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
+ }
+ },
+ "required": [
+ "url",
+ "html_url",
+ "key",
+ "name"
+ ]
+ },
+ "license": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "key": {
"type": "string"
},
- "delete_branch_on_merge": {
- "type": "boolean"
+ "name": {
+ "type": "string"
},
- "subscribers_count": {
- "type": "integer"
+ "spdx_id": {
+ "type": "string"
},
- "network_count": {
- "type": "integer"
+ "url": {
+ "type": "string"
},
- "code_of_conduct": {
- "title": "Code Of Conduct",
- "description": "Code Of Conduct",
+ "node_id": {
+ "type": "string"
+ }
+ }
+ },
+ "forks": {
+ "type": "integer",
+ "examples": [
+ 0
+ ]
+ },
+ "open_issues": {
+ "type": "integer",
+ "examples": [
+ 0
+ ]
+ },
+ "watchers": {
+ "type": "integer",
+ "examples": [
+ 0
+ ]
+ },
+ "allow_forking": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url"
+ ]
+ }
+ },
+ "examples": {
+ "default": {
+ "value": [
+ {
+ "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": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "https://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "https://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": "https://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": false,
+ "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
+ },
+ "template_repository": null
+ }
+ ]
+ }
+ }
+ }
+ },
+ "headers": {
+ "Link": {
+ "example": "; rel=\"next\", ; rel=\"last\"",
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Resource not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "title": "Basic Error",
+ "description": "Basic Error",
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "documentation_url": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "x-github": {
+ "githubCloudOnly": false,
+ "enabledForGitHubApps": false,
+ "category": "migrations",
+ "subcategory": "orgs"
+ }
+ }
+ },
+ "/orgs/{org}/outside_collaborators": {
+ "get": {
+ "summary": "List outside collaborators for an organization",
+ "description": "List all users who are outside collaborators of an organization.",
+ "tags": [
+ "orgs"
+ ],
+ "operationId": "orgs/list-outside-collaborators",
+ "externalDocs": {
+ "description": "API method documentation",
+ "url": "https://docs.github.com/rest/reference/orgs#list-outside-collaborators-for-an-organization"
+ },
+ "parameters": [
+ {
+ "name": "org",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "filter",
+ "description": "Filter the list of outside collaborators. Can be one of: \n\\* `2fa_disabled`: Outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) enabled. \n\\* `all`: All outside collaborators.",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "enum": [
+ "2fa_disabled",
+ "all"
+ ],
+ "default": "all"
+ }
+ },
+ {
+ "name": "per_page",
+ "description": "Results per page (max 100)",
+ "in": "query",
+ "schema": {
+ "type": "integer",
+ "default": 30
+ }
+ },
+ {
+ "name": "page",
+ "description": "Page number of the results to fetch.",
+ "in": "query",
+ "schema": {
+ "type": "integer",
+ "default": 1
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ },
+ "examples": {
+ "default": {
+ "value": [
+ {
+ "login": "octocat",
+ "id": 1,
+ "node_id": "MDQ6VXNlcjE=",
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/octocat",
+ "html_url": "https://github.com/octocat",
+ "followers_url": "https://api.github.com/users/octocat/followers",
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
+ "repos_url": "https://api.github.com/users/octocat/repos",
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ ]
+ }
+ }
+ }
+ },
+ "headers": {
+ "Link": {
+ "example": "; rel=\"next\", ; rel=\"last\"",
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "x-github": {
+ "githubCloudOnly": false,
+ "enabledForGitHubApps": true,
+ "category": "orgs",
+ "subcategory": "outside-collaborators"
+ }
+ }
+ },
+ "/orgs/{org}/outside_collaborators/{username}": {
+ "put": {
+ "summary": "Convert an organization member to outside collaborator",
+ "description": "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](https://docs.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)\".",
+ "tags": [
+ "orgs"
+ ],
+ "operationId": "orgs/convert-member-to-outside-collaborator",
+ "externalDocs": {
+ "description": "API method documentation",
+ "url": "https://docs.github.com/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator"
+ },
+ "parameters": [
+ {
+ "name": "org",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "username",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "User is getting converted asynchronously",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ },
+ "additionalProperties": false
+ }
+ }
+ }
+ },
+ "204": {
+ "description": "User was converted"
+ },
+ "403": {
+ "description": "Forbidden if user is the last owner of the organization or not a member of the organization"
+ },
+ "404": {
+ "description": "Resource not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "title": "Basic Error",
+ "description": "Basic Error",
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "documentation_url": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "x-github": {
+ "githubCloudOnly": false,
+ "enabledForGitHubApps": true,
+ "category": "orgs",
+ "subcategory": "outside-collaborators"
+ }
+ },
+ "delete": {
+ "summary": "Remove outside collaborator from an organization",
+ "description": "Removing a user from this list will remove them from all the organization's repositories.",
+ "tags": [
+ "orgs"
+ ],
+ "operationId": "orgs/remove-outside-collaborator",
+ "externalDocs": {
+ "description": "API method documentation",
+ "url": "https://docs.github.com/rest/reference/orgs#remove-outside-collaborator-from-an-organization"
+ },
+ "parameters": [
+ {
+ "name": "org",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "username",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Response"
+ },
+ "422": {
+ "description": "Unprocessable Entity if user is a member of the organization",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "documentation_url": {
+ "type": "string"
+ }
+ }
+ },
+ "examples": {
+ "response-if-user-is-a-member-of-the-organization": {
+ "value": {
+ "message": "You cannot specify an organization member to remove as an outside collaborator.",
+ "documentation_url": "https://docs.github.com/rest/reference/orgs#remove-outside-collaborator"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "x-github": {
+ "githubCloudOnly": false,
+ "enabledForGitHubApps": true,
+ "category": "orgs",
+ "subcategory": "outside-collaborators"
+ }
+ }
+ },
+ "/orgs/{org}/packages": {
+ "get": {
+ "summary": "List packages for an organization",
+ "description": "Lists all packages in an organization readable by the user.\n\nTo use this endpoint, you must authenticate using an access token with the `packages:read` scope.\nIf `package_type` is not `container`, your token must also include the `repo` scope.",
+ "tags": [
+ "packages"
+ ],
+ "operationId": "packages/list-packages-for-organization",
+ "externalDocs": {
+ "description": "API method documentation",
+ "url": "https://docs.github.com/rest/reference/packages#list-packages-for-an-organization"
+ },
+ "parameters": [
+ {
+ "name": "package_type",
+ "description": "The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry.",
+ "in": "query",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "enum": [
+ "npm",
+ "maven",
+ "rubygems",
+ "docker",
+ "nuget",
+ "container"
+ ]
+ }
+ },
+ {
+ "name": "org",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "visibility",
+ "description": "The selected visibility of the packages. Can be one of `public`, `private`, or `internal`. Only `container` package_types currently support `internal` visibility properly. For other ecosystems `internal` is synonymous with `private`. This parameter is optional and only filters an existing result set.",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "enum": [
+ "public",
+ "private",
+ "internal"
+ ]
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "title": "Package",
+ "description": "A software package",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the package.",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "name": {
+ "description": "The name of the package.",
+ "type": "string",
+ "examples": [
+ "super-linter"
+ ]
+ },
+ "package_type": {
+ "type": "string",
+ "enum": [
+ "npm",
+ "maven",
+ "rubygems",
+ "docker",
+ "nuget",
+ "container"
+ ],
+ "examples": [
+ "docker"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/orgs/github/packages/container/super-linter"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "examples": [
+ "https://github.com/orgs/github/packages/container/package/super-linter"
+ ]
+ },
+ "version_count": {
+ "description": "The number of versions of the package.",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "visibility": {
+ "type": "string",
+ "enum": [
+ "private",
+ "public"
+ ],
+ "examples": [
+ "private"
+ ]
+ },
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "contributor_covenant"
- },
"name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
- },
- "body": {
- "type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "nullable": true
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
- "url",
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
"html_url",
- "key",
- "name"
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
]
+ }
+ ]
+ },
+ "repository": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "license": {
+ {
+ "title": "Minimal Repository",
+ "description": "Minimal Repository",
"type": "object",
"properties": {
- "key": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "spdx_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
+ "type": "string",
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "Hello-World"
+ ]
+ },
+ "full_name": {
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
+ },
+ "archive_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
+ },
+ "assignees_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
+ },
+ "blobs_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
+ },
+ "branches_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
+ },
+ "collaborators_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
+ },
+ "comments_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
+ },
+ "commits_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
+ },
+ "compare_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
+ },
+ "contents_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
+ },
+ "contributors_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
+ },
+ "deployments_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
+ },
+ "downloads_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
+ },
+ "forks_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
+ },
+ "git_commits_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
+ },
+ "git_refs_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
+ },
+ "git_tags_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
+ },
+ "git_url": {
"type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
+ },
+ "issue_events_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
+ },
+ "issues_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
+ },
+ "keys_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
+ },
+ "languages_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
+ },
+ "merges_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
+ },
+ "milestones_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
+ },
+ "notifications_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
+ },
+ "pulls_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
+ },
+ "releases_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
+ },
+ "statuses_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
+ },
+ "subscribers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
+ },
+ "subscription_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
+ },
+ "tags_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
+ },
+ "teams_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
+ },
+ "trees_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "hooks_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "language": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
+ },
+ "created_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
+ },
+ "updated_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "role_name": {
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "template_repository": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Repository",
+ "description": "A git repository",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the repository",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
+ },
+ "name": {
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
+ },
+ "full_name": {
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
+ },
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ },
+ "private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
+ },
+ "archive_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
+ },
+ "assignees_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
+ },
+ "blobs_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
+ },
+ "branches_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
+ },
+ "collaborators_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
+ },
+ "comments_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
+ },
+ "commits_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
+ },
+ "compare_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
+ },
+ "contents_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
+ },
+ "contributors_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
+ },
+ "deployments_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
+ },
+ "downloads_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
+ },
+ "forks_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
+ },
+ "git_commits_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
+ },
+ "git_refs_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
+ },
+ "git_tags_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
+ },
+ "git_url": {
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
+ },
+ "issue_comment_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
+ },
+ "issue_events_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
+ },
+ "issues_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
+ },
+ "keys_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
+ },
+ "languages_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
+ },
+ "merges_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
+ },
+ "milestones_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
+ },
+ "notifications_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
+ },
+ "pulls_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
+ },
+ "releases_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
+ },
+ "ssh_url": {
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
+ },
+ "stargazers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
+ },
+ "statuses_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
+ },
+ "subscribers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
+ },
+ "subscription_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
+ },
+ "tags_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
+ },
+ "teams_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
+ },
+ "trees_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
+ },
+ "clone_url": {
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
+ },
+ "mirror_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
+ },
+ "hooks_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
+ },
+ "svn_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
+ },
+ "homepage": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
+ },
+ "language": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "forks_count": {
+ "type": "integer",
+ "examples": [
+ 9
+ ]
+ },
+ "stargazers_count": {
+ "type": "integer",
+ "examples": [
+ 80
+ ]
+ },
+ "watchers_count": {
+ "type": "integer",
+ "examples": [
+ 80
+ ]
+ },
+ "size": {
+ "type": "integer",
+ "examples": [
+ 108
+ ]
+ },
+ "default_branch": {
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
+ },
+ "open_issues_count": {
+ "type": "integer",
+ "examples": [
+ 0
+ ]
+ },
+ "is_template": {
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "has_projects": {
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "has_wiki": {
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
+ },
+ "visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
+ },
+ "created_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
+ },
+ "updated_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
+ },
+ "allow_rebase_merge": {
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_auto_merge": {
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
+ },
+ "delete_branch_on_merge": {
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
+ },
+ "allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
+ }
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ ]
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ },
+ "code_of_conduct": {
+ "title": "Code Of Conduct",
+ "description": "Code Of Conduct",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "contributor_covenant"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "Contributor Covenant"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
+ },
+ "body": {
+ "type": "string",
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
+ },
+ "html_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
+ }
+ },
+ "required": [
+ "url",
+ "html_url",
+ "key",
+ "name"
+ ]
+ },
+ "license": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "key": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "spdx_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "node_id": {
+ "type": "string"
+ }
+ }
+ },
+ "forks": {
+ "type": "integer",
+ "examples": [
+ 0
+ ]
+ },
+ "open_issues": {
+ "type": "integer",
+ "examples": [
+ 0
+ ]
+ },
+ "watchers": {
+ "type": "integer",
+ "examples": [
+ 0
+ ]
+ },
+ "allow_forking": {
+ "type": "boolean"
}
},
- "nullable": true
- },
- "forks": {
- "type": "integer",
- "example": 0
- },
- "open_issues": {
- "type": "integer",
- "example": 0
- },
- "watchers": {
- "type": "integer",
- "example": 0
- },
- "allow_forking": {
- "type": "boolean"
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url"
- ],
- "nullable": true
+ ]
},
"created_at": {
"type": "string",
@@ -95774,16 +112559,19 @@
"id": {
"description": "Unique identifier of the package.",
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"name": {
"description": "The name of the package.",
"type": "string",
- "example": "super-linter"
+ "examples": [
+ "super-linter"
+ ]
},
"package_type": {
"type": "string",
- "example": "docker",
"enum": [
"npm",
"maven",
@@ -95791,266 +112579,183 @@
"docker",
"nuget",
"container"
+ ],
+ "examples": [
+ "docker"
]
},
"url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/packages/container/super-linter"
+ "examples": [
+ "https://api.github.com/orgs/github/packages/container/super-linter"
+ ]
},
"html_url": {
"type": "string",
- "example": "https://github.com/orgs/github/packages/container/package/super-linter"
+ "examples": [
+ "https://github.com/orgs/github/packages/container/package/super-linter"
+ ]
},
"version_count": {
"description": "The number of versions of the package.",
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"visibility": {
"type": "string",
- "example": "private",
"enum": [
"private",
"public"
+ ],
+ "examples": [
+ "private"
]
},
"owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "repository": {
- "title": "Minimal Repository",
- "description": "Minimal Repository",
- "type": "object",
- "properties": {
- "id": {
- "type": "integer",
- "example": 1296269
- },
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "type": "string",
- "example": "Hello-World"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "owner": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -96073,513 +112778,41 @@
"type",
"url"
]
- },
- "private": {
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string"
- },
- "mirror_url": {
- "type": "string",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string"
- },
- "homepage": {
- "type": "string",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer"
- },
- "stargazers_count": {
- "type": "integer"
- },
- "watchers_count": {
- "type": "integer"
- },
- "size": {
- "type": "integer"
- },
- "default_branch": {
- "type": "string"
- },
- "open_issues_count": {
- "type": "integer"
- },
- "is_template": {
- "type": "boolean"
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "type": "boolean"
- },
- "has_projects": {
- "type": "boolean"
- },
- "has_wiki": {
- "type": "boolean"
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "type": "boolean"
- },
- "archived": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean"
- },
- "visibility": {
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
- },
- "role_name": {
- "type": "string",
- "example": "admin"
- },
- "template_repository": {
- "title": "Repository",
- "description": "A git repository",
+ }
+ ]
+ },
+ "repository": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Minimal Repository",
+ "description": "Minimal Repository",
"type": "object",
"properties": {
"id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
+ "examples": [
+ "octocat/Hello-World"
]
},
"owner": {
@@ -96588,96 +112821,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -96702,19 +112977,23 @@
]
},
"private": {
- "description": "Whether the repository is private or public.",
- "default": false,
"type": "boolean"
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -96722,228 +113001,289 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "type": "string"
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "type": "string"
},
"mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "type": "string"
},
"homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer",
- "example": 9
+ "type": "integer"
},
"stargazers_count": {
- "type": "integer",
- "example": 80
+ "type": "integer"
},
"watchers_count": {
- "type": "integer",
- "example": 80
+ "type": "integer"
},
"size": {
- "type": "integer",
- "example": 108
+ "type": "integer"
},
"default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
+ "type": "string"
},
"open_issues_count": {
- "type": "integer",
- "example": 0
+ "type": "integer"
},
"is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
+ "type": "boolean"
},
"topics": {
"type": "array",
@@ -96952,427 +113292,1462 @@
}
},
"has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
+ "type": "boolean"
},
"has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
+ "type": "boolean"
},
"has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
+ "type": "boolean"
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
+ "type": "boolean"
},
"archived": {
- "description": "Whether the repository is archived.",
- "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
+ "type": "boolean"
},
"visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
+ "permissions": {
"type": "object",
"properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "full_name": {
- "type": "string"
- },
- "owner": {
- "type": "object",
- "properties": {
- "login": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "avatar_url": {
- "type": "string"
- },
- "gravatar_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "followers_url": {
- "type": "string"
- },
- "following_url": {
- "type": "string"
- },
- "gists_url": {
- "type": "string"
- },
- "starred_url": {
- "type": "string"
- },
- "subscriptions_url": {
- "type": "string"
- },
- "organizations_url": {
- "type": "string"
- },
- "repos_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "received_events_url": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "site_admin": {
- "type": "boolean"
- }
- }
- },
- "private": {
+ "admin": {
"type": "boolean"
},
- "html_url": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "fork": {
+ "maintain": {
"type": "boolean"
},
- "url": {
- "type": "string"
- },
- "archive_url": {
- "type": "string"
- },
- "assignees_url": {
- "type": "string"
- },
- "blobs_url": {
- "type": "string"
- },
- "branches_url": {
- "type": "string"
- },
- "collaborators_url": {
- "type": "string"
- },
- "comments_url": {
- "type": "string"
- },
- "commits_url": {
- "type": "string"
- },
- "compare_url": {
- "type": "string"
- },
- "contents_url": {
- "type": "string"
- },
- "contributors_url": {
- "type": "string"
- },
- "deployments_url": {
- "type": "string"
- },
- "downloads_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "forks_url": {
- "type": "string"
- },
- "git_commits_url": {
- "type": "string"
- },
- "git_refs_url": {
- "type": "string"
- },
- "git_tags_url": {
- "type": "string"
- },
- "git_url": {
- "type": "string"
- },
- "issue_comment_url": {
- "type": "string"
- },
- "issue_events_url": {
- "type": "string"
- },
- "issues_url": {
- "type": "string"
- },
- "keys_url": {
- "type": "string"
- },
- "labels_url": {
- "type": "string"
- },
- "languages_url": {
- "type": "string"
- },
- "merges_url": {
- "type": "string"
- },
- "milestones_url": {
- "type": "string"
- },
- "notifications_url": {
- "type": "string"
- },
- "pulls_url": {
- "type": "string"
- },
- "releases_url": {
- "type": "string"
- },
- "ssh_url": {
- "type": "string"
- },
- "stargazers_url": {
- "type": "string"
- },
- "statuses_url": {
- "type": "string"
- },
- "subscribers_url": {
- "type": "string"
- },
- "subscription_url": {
- "type": "string"
- },
- "tags_url": {
- "type": "string"
- },
- "teams_url": {
- "type": "string"
- },
- "trees_url": {
- "type": "string"
- },
- "clone_url": {
- "type": "string"
- },
- "mirror_url": {
- "type": "string"
- },
- "hooks_url": {
- "type": "string"
- },
- "svn_url": {
- "type": "string"
- },
- "homepage": {
- "type": "string"
- },
- "language": {
- "type": "string"
- },
- "forks_count": {
- "type": "integer"
- },
- "stargazers_count": {
- "type": "integer"
- },
- "watchers_count": {
- "type": "integer"
- },
- "size": {
- "type": "integer"
- },
- "default_branch": {
- "type": "string"
- },
- "open_issues_count": {
- "type": "integer"
- },
- "is_template": {
+ "push": {
"type": "boolean"
},
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
+ "triage": {
"type": "boolean"
},
- "has_projects": {
+ "pull": {
"type": "boolean"
- },
- "has_wiki": {
- "type": "boolean"
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "type": "boolean"
- },
- "archived": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean"
- },
- "visibility": {
- "type": "string"
- },
- "pushed_at": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
- },
- "allow_rebase_merge": {
- "type": "boolean"
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "type": "boolean"
- },
- "allow_auto_merge": {
- "type": "boolean"
- },
- "delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
- },
- "allow_merge_commit": {
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
}
}
},
+ "role_name": {
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "template_repository": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Repository",
+ "description": "A git repository",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the repository",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
+ },
+ "name": {
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
+ },
+ "full_name": {
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
+ },
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ },
+ "private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
+ },
+ "archive_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
+ },
+ "assignees_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
+ },
+ "blobs_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
+ },
+ "branches_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
+ },
+ "collaborators_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
+ },
+ "comments_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
+ },
+ "commits_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
+ },
+ "compare_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
+ },
+ "contents_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
+ },
+ "contributors_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
+ },
+ "deployments_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
+ },
+ "downloads_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
+ },
+ "forks_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
+ },
+ "git_commits_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
+ },
+ "git_refs_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
+ },
+ "git_tags_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
+ },
+ "git_url": {
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
+ },
+ "issue_comment_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
+ },
+ "issue_events_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
+ },
+ "issues_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
+ },
+ "keys_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
+ },
+ "languages_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
+ },
+ "merges_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
+ },
+ "milestones_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
+ },
+ "notifications_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
+ },
+ "pulls_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
+ },
+ "releases_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
+ },
+ "ssh_url": {
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
+ },
+ "stargazers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
+ },
+ "statuses_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
+ },
+ "subscribers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
+ },
+ "subscription_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
+ },
+ "tags_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
+ },
+ "teams_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
+ },
+ "trees_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
+ },
+ "clone_url": {
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
+ },
+ "mirror_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
+ },
+ "hooks_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
+ },
+ "svn_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
+ },
+ "homepage": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
+ },
+ "language": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "forks_count": {
+ "type": "integer",
+ "examples": [
+ 9
+ ]
+ },
+ "stargazers_count": {
+ "type": "integer",
+ "examples": [
+ 80
+ ]
+ },
+ "watchers_count": {
+ "type": "integer",
+ "examples": [
+ 80
+ ]
+ },
+ "size": {
+ "type": "integer",
+ "examples": [
+ 108
+ ]
+ },
+ "default_branch": {
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
+ },
+ "open_issues_count": {
+ "type": "integer",
+ "examples": [
+ 0
+ ]
+ },
+ "is_template": {
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "has_projects": {
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "has_wiki": {
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
+ },
+ "visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
+ },
+ "created_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
+ },
+ "updated_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
+ },
+ "allow_rebase_merge": {
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_auto_merge": {
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
+ },
+ "delete_branch_on_merge": {
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
+ },
+ "allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
+ }
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ ]
+ },
"temp_clone_token": {
"type": "string"
},
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
"delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -97381,18 +114756,94 @@
"network_count": {
"type": "integer"
},
+ "code_of_conduct": {
+ "title": "Code Of Conduct",
+ "description": "Code Of Conduct",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "contributor_covenant"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "Contributor Covenant"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
+ },
+ "body": {
+ "type": "string",
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
+ },
+ "html_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
+ }
+ },
+ "required": [
+ "url",
+ "html_url",
+ "key",
+ "name"
+ ]
+ },
+ "license": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "key": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "spdx_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "node_id": {
+ "type": "string"
+ }
+ }
+ },
+ "forks": {
+ "type": "integer",
+ "examples": [
+ 0
+ ]
+ },
"open_issues": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"watchers": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "allow_forking": {
+ "type": "boolean"
}
},
"required": [
@@ -97441,170 +114892,10 @@
"tags_url",
"teams_url",
"trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
- },
- "temp_clone_token": {
- "type": "string"
- },
- "delete_branch_on_merge": {
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "code_of_conduct": {
- "title": "Code Of Conduct",
- "description": "Code Of Conduct",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "contributor_covenant"
- },
- "name": {
- "type": "string",
- "example": "Contributor Covenant"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
- },
- "body": {
- "type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- }
- },
- "required": [
- "url",
- "html_url",
- "key",
- "name"
+ "url"
]
- },
- "license": {
- "type": "object",
- "properties": {
- "key": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "spdx_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "node_id": {
- "type": "string"
- }
- },
- "nullable": true
- },
- "forks": {
- "type": "integer",
- "example": 0
- },
- "open_issues": {
- "type": "integer",
- "example": 0
- },
- "watchers": {
- "type": "integer",
- "example": 0
- },
- "allow_forking": {
- "type": "boolean"
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url"
- ],
- "nullable": true
+ ]
},
"created_at": {
"type": "string",
@@ -98054,28 +115345,40 @@
"id": {
"description": "Unique identifier of the package version.",
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"name": {
"description": "The name of the package version.",
"type": "string",
- "example": "latest"
+ "examples": [
+ "latest"
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/packages/container/super-linter/versions/786068"
+ "examples": [
+ "https://api.github.com/orgs/github/packages/container/super-linter/versions/786068"
+ ]
},
"package_html_url": {
"type": "string",
- "example": "https://github.com/orgs/github/packages/container/package/super-linter"
+ "examples": [
+ "https://github.com/orgs/github/packages/container/package/super-linter"
+ ]
},
"html_url": {
"type": "string",
- "example": "https://github.com/orgs/github/packages/container/super-linter/786068"
+ "examples": [
+ "https://github.com/orgs/github/packages/container/super-linter/786068"
+ ]
},
"license": {
"type": "string",
- "example": "MIT"
+ "examples": [
+ "MIT"
+ ]
},
"description": {
"type": "string"
@@ -98083,17 +115386,23 @@
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-04-10T20:09:31Z"
+ "examples": [
+ "2011-04-10T20:09:31Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2014-03-03T18:58:10Z"
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
},
"deleted_at": {
"type": "string",
"format": "date-time",
- "example": "2014-03-03T18:58:10Z"
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
},
"metadata": {
"type": "object",
@@ -98101,7 +115410,6 @@
"properties": {
"package_type": {
"type": "string",
- "example": "docker",
"enum": [
"npm",
"maven",
@@ -98109,6 +115417,9 @@
"docker",
"nuget",
"container"
+ ],
+ "examples": [
+ "docker"
]
},
"container": {
@@ -98347,28 +115658,40 @@
"id": {
"description": "Unique identifier of the package version.",
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"name": {
"description": "The name of the package version.",
"type": "string",
- "example": "latest"
+ "examples": [
+ "latest"
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/packages/container/super-linter/versions/786068"
+ "examples": [
+ "https://api.github.com/orgs/github/packages/container/super-linter/versions/786068"
+ ]
},
"package_html_url": {
"type": "string",
- "example": "https://github.com/orgs/github/packages/container/package/super-linter"
+ "examples": [
+ "https://github.com/orgs/github/packages/container/package/super-linter"
+ ]
},
"html_url": {
"type": "string",
- "example": "https://github.com/orgs/github/packages/container/super-linter/786068"
+ "examples": [
+ "https://github.com/orgs/github/packages/container/super-linter/786068"
+ ]
},
"license": {
"type": "string",
- "example": "MIT"
+ "examples": [
+ "MIT"
+ ]
},
"description": {
"type": "string"
@@ -98376,17 +115699,23 @@
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-04-10T20:09:31Z"
+ "examples": [
+ "2011-04-10T20:09:31Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2014-03-03T18:58:10Z"
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
},
"deleted_at": {
"type": "string",
"format": "date-time",
- "example": "2014-03-03T18:58:10Z"
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
},
"metadata": {
"type": "object",
@@ -98394,7 +115723,6 @@
"properties": {
"package_type": {
"type": "string",
- "example": "docker",
"enum": [
"npm",
"maven",
@@ -98402,6 +115730,9 @@
"docker",
"nuget",
"container"
+ ],
+ "examples": [
+ "docker"
]
},
"container": {
@@ -98846,180 +116177,254 @@
"owner_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/api-playground/projects-test"
+ "examples": [
+ "https://api.github.com/repos/api-playground/projects-test"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/1002604"
+ "examples": [
+ "https://api.github.com/projects/1002604"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/api-playground/projects-test/projects/12"
+ "examples": [
+ "https://github.com/api-playground/projects-test/projects/12"
+ ]
},
"columns_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/1002604/columns"
+ "examples": [
+ "https://api.github.com/projects/1002604/columns"
+ ]
},
"id": {
"type": "integer",
- "example": 1002604
+ "examples": [
+ 1002604
+ ]
},
"node_id": {
"type": "string",
- "example": "MDc6UHJvamVjdDEwMDI2MDQ="
+ "examples": [
+ "MDc6UHJvamVjdDEwMDI2MDQ="
+ ]
},
"name": {
"description": "Name of the project",
- "example": "Week One Sprint",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Week One Sprint"
+ ]
},
"body": {
"description": "Body of the project",
- "example": "This project represents the sprint of the first week in January",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This project represents the sprint of the first week in January"
+ ]
},
"number": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"state": {
"description": "State of the project; either 'open' or 'closed'",
- "example": "open",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "open"
+ ]
},
"creator": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-04-10T20:09:31Z"
+ "examples": [
+ "2011-04-10T20:09:31Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2014-03-03T18:58:10Z"
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
},
"organization_permission": {
"description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.",
@@ -99203,180 +116608,254 @@
"owner_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/api-playground/projects-test"
+ "examples": [
+ "https://api.github.com/repos/api-playground/projects-test"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/1002604"
+ "examples": [
+ "https://api.github.com/projects/1002604"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/api-playground/projects-test/projects/12"
+ "examples": [
+ "https://github.com/api-playground/projects-test/projects/12"
+ ]
},
"columns_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/1002604/columns"
+ "examples": [
+ "https://api.github.com/projects/1002604/columns"
+ ]
},
"id": {
"type": "integer",
- "example": 1002604
+ "examples": [
+ 1002604
+ ]
},
"node_id": {
"type": "string",
- "example": "MDc6UHJvamVjdDEwMDI2MDQ="
+ "examples": [
+ "MDc6UHJvamVjdDEwMDI2MDQ="
+ ]
},
"name": {
"description": "Name of the project",
- "example": "Week One Sprint",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Week One Sprint"
+ ]
},
"body": {
"description": "Body of the project",
- "example": "This project represents the sprint of the first week in January",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This project represents the sprint of the first week in January"
+ ]
},
"number": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"state": {
"description": "State of the project; either 'open' or 'closed'",
- "example": "open",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "open"
+ ]
},
"creator": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-04-10T20:09:31Z"
+ "examples": [
+ "2011-04-10T20:09:31Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2014-03-03T18:58:10Z"
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
},
"organization_permission": {
"description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.",
@@ -99646,96 +117125,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -100061,19 +117582,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -100081,96 +117610,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -100200,12 +117771,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -100213,129 +117790,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -100343,58 +117978,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -100448,22 +118105,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -100487,3739 +118156,275 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "full_name": {
- "type": "string"
- },
- "owner": {
- "type": "object",
- "properties": {
- "login": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "avatar_url": {
- "type": "string"
- },
- "gravatar_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "followers_url": {
- "type": "string"
- },
- "following_url": {
- "type": "string"
- },
- "gists_url": {
- "type": "string"
- },
- "starred_url": {
- "type": "string"
- },
- "subscriptions_url": {
- "type": "string"
- },
- "organizations_url": {
- "type": "string"
- },
- "repos_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "received_events_url": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "site_admin": {
- "type": "boolean"
- }
- }
- },
- "private": {
- "type": "boolean"
- },
- "html_url": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string"
- },
- "archive_url": {
- "type": "string"
- },
- "assignees_url": {
- "type": "string"
- },
- "blobs_url": {
- "type": "string"
- },
- "branches_url": {
- "type": "string"
- },
- "collaborators_url": {
- "type": "string"
- },
- "comments_url": {
- "type": "string"
- },
- "commits_url": {
- "type": "string"
- },
- "compare_url": {
- "type": "string"
- },
- "contents_url": {
- "type": "string"
- },
- "contributors_url": {
- "type": "string"
- },
- "deployments_url": {
- "type": "string"
- },
- "downloads_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "forks_url": {
- "type": "string"
- },
- "git_commits_url": {
- "type": "string"
- },
- "git_refs_url": {
- "type": "string"
- },
- "git_tags_url": {
- "type": "string"
- },
- "git_url": {
- "type": "string"
- },
- "issue_comment_url": {
- "type": "string"
- },
- "issue_events_url": {
- "type": "string"
- },
- "issues_url": {
- "type": "string"
- },
- "keys_url": {
- "type": "string"
- },
- "labels_url": {
- "type": "string"
- },
- "languages_url": {
- "type": "string"
- },
- "merges_url": {
- "type": "string"
- },
- "milestones_url": {
- "type": "string"
- },
- "notifications_url": {
- "type": "string"
- },
- "pulls_url": {
- "type": "string"
- },
- "releases_url": {
- "type": "string"
- },
- "ssh_url": {
- "type": "string"
- },
- "stargazers_url": {
- "type": "string"
- },
- "statuses_url": {
- "type": "string"
- },
- "subscribers_url": {
- "type": "string"
- },
- "subscription_url": {
- "type": "string"
- },
- "tags_url": {
- "type": "string"
- },
- "teams_url": {
- "type": "string"
- },
- "trees_url": {
- "type": "string"
- },
- "clone_url": {
- "type": "string"
- },
- "mirror_url": {
- "type": "string"
- },
- "hooks_url": {
- "type": "string"
- },
- "svn_url": {
- "type": "string"
- },
- "homepage": {
- "type": "string"
- },
- "language": {
- "type": "string"
- },
- "forks_count": {
- "type": "integer"
- },
- "stargazers_count": {
- "type": "integer"
- },
- "watchers_count": {
- "type": "integer"
- },
- "size": {
- "type": "integer"
- },
- "default_branch": {
- "type": "string"
- },
- "open_issues_count": {
- "type": "integer"
- },
- "is_template": {
- "type": "boolean"
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "type": "boolean"
- },
- "has_projects": {
- "type": "boolean"
- },
- "has_wiki": {
- "type": "boolean"
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "type": "boolean"
- },
- "archived": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean"
- },
- "visibility": {
- "type": "string"
- },
- "pushed_at": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
- },
- "allow_rebase_merge": {
- "type": "boolean"
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "type": "boolean"
- },
- "allow_auto_merge": {
- "type": "boolean"
- },
- "delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
- },
- "allow_merge_commit": {
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- }
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
- }
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
- },
- "temp_clone_token": {
- "type": "string"
- },
- "delete_branch_on_merge": {
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "code_of_conduct": {
- "title": "Code Of Conduct",
- "description": "Code Of Conduct",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "contributor_covenant"
- },
- "name": {
- "type": "string",
- "example": "Contributor Covenant"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
- },
- "body": {
- "type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- }
- },
- "required": [
- "url",
- "html_url",
- "key",
- "name"
- ]
- },
- "license": {
- "type": "object",
- "properties": {
- "key": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "spdx_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "node_id": {
- "type": "string"
- }
- },
- "nullable": true
- },
- "forks": {
- "type": "integer",
- "example": 0
- },
- "open_issues": {
- "type": "integer",
- "example": 0
- },
- "watchers": {
- "type": "integer",
- "example": 0
- },
- "allow_forking": {
- "type": "boolean"
- }
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url"
- ]
- }
- },
- "examples": {
- "default": {
- "value": [
- {
- "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": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
- "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}",
- "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
- "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}",
- "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
- "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}",
- "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}",
- "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
- "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}",
- "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors",
- "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments",
- "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads",
- "events_url": "https://api.github.com/repos/octocat/Hello-World/events",
- "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks",
- "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
- "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
- "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
- "git_url": "git:github.com/octocat/Hello-World.git",
- "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
- "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
- "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}",
- "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
- "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}",
- "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages",
- "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges",
- "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}",
- "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
- "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}",
- "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}",
- "ssh_url": "git@github.com:octocat/Hello-World.git",
- "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers",
- "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
- "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers",
- "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription",
- "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags",
- "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams",
- "trees_url": "https://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": "https://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": false,
- "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
- },
- "template_repository": null
- }
- ]
- }
- }
- }
- },
- "headers": {
- "Link": {
- "example": "; rel=\"next\", ; rel=\"last\"",
- "schema": {
- "type": "string"
- }
- }
- }
- }
- },
- "x-github": {
- "githubCloudOnly": false,
- "enabledForGitHubApps": true,
- "category": "repos",
- "subcategory": null
- }
- },
- "post": {
- "summary": "Create an organization repository",
- "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository",
- "tags": [
- "repos"
- ],
- "operationId": "repos/create-in-org",
- "externalDocs": {
- "description": "API method documentation",
- "url": "https://docs.github.com/rest/reference/repos#create-an-organization-repository"
- },
- "parameters": [
- {
- "name": "org",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the repository."
- },
- "description": {
- "type": "string",
- "description": "A short description of the repository."
- },
- "homepage": {
- "type": "string",
- "description": "A URL with more information about the repository."
- },
- "private": {
- "type": "boolean",
- "description": "Whether the repository is private.",
- "default": false
- },
- "visibility": {
- "type": "string",
- "description": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"[Creating an internal repository](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation.",
- "enum": [
- "public",
- "private",
- "internal"
- ]
- },
- "has_issues": {
- "type": "boolean",
- "description": "Either `true` to enable issues for this repository or `false` to disable them.",
- "default": true
- },
- "has_projects": {
- "type": "boolean",
- "description": "Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.",
- "default": true
- },
- "has_wiki": {
- "type": "boolean",
- "description": "Either `true` to enable the wiki for this repository or `false` to disable it.",
- "default": true
- },
- "is_template": {
- "type": "boolean",
- "description": "Either `true` to make this repo available as a template repository or `false` to prevent it.",
- "default": false
- },
- "team_id": {
- "type": "integer",
- "description": "The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization."
- },
- "auto_init": {
- "type": "boolean",
- "description": "Pass `true` to create an initial commit with empty README.",
- "default": false
- },
- "gitignore_template": {
- "type": "string",
- "description": "Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, \"Haskell\"."
- },
- "license_template": {
- "type": "string",
- "description": "Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://docs.github.com/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, \"mit\" or \"mpl-2.0\"."
- },
- "allow_squash_merge": {
- "type": "boolean",
- "description": "Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.",
- "default": true
- },
- "allow_merge_commit": {
- "type": "boolean",
- "description": "Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.",
- "default": true
- },
- "allow_rebase_merge": {
- "type": "boolean",
- "description": "Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.",
- "default": true
- },
- "allow_auto_merge": {
- "type": "boolean",
- "description": "Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge.",
- "default": false
- },
- "delete_branch_on_merge": {
- "type": "boolean",
- "description": "Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.",
- "default": false
- }
- },
- "required": [
- "name"
- ]
- },
- "example": {
- "name": "Hello-World",
- "description": "This is your first repository",
- "homepage": "https://github.com",
- "private": false,
- "has_issues": true,
- "has_projects": true,
- "has_wiki": true
- }
- }
- }
- },
- "responses": {
- "201": {
- "description": "Response",
- "content": {
- "application/json": {
- "schema": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
- },
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "full_name": {
- "type": "string"
- },
- "owner": {
- "type": "object",
- "properties": {
- "login": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "avatar_url": {
- "type": "string"
- },
- "gravatar_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "followers_url": {
- "type": "string"
- },
- "following_url": {
- "type": "string"
- },
- "gists_url": {
- "type": "string"
- },
- "starred_url": {
- "type": "string"
- },
- "subscriptions_url": {
- "type": "string"
- },
- "organizations_url": {
- "type": "string"
- },
- "repos_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "received_events_url": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "site_admin": {
- "type": "boolean"
- }
- }
- },
- "private": {
- "type": "boolean"
- },
- "html_url": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string"
- },
- "archive_url": {
- "type": "string"
- },
- "assignees_url": {
- "type": "string"
- },
- "blobs_url": {
- "type": "string"
- },
- "branches_url": {
- "type": "string"
- },
- "collaborators_url": {
- "type": "string"
- },
- "comments_url": {
- "type": "string"
- },
- "commits_url": {
- "type": "string"
- },
- "compare_url": {
- "type": "string"
- },
- "contents_url": {
- "type": "string"
- },
- "contributors_url": {
- "type": "string"
- },
- "deployments_url": {
- "type": "string"
- },
- "downloads_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "forks_url": {
- "type": "string"
- },
- "git_commits_url": {
- "type": "string"
- },
- "git_refs_url": {
- "type": "string"
- },
- "git_tags_url": {
- "type": "string"
- },
- "git_url": {
- "type": "string"
- },
- "issue_comment_url": {
- "type": "string"
- },
- "issue_events_url": {
- "type": "string"
- },
- "issues_url": {
- "type": "string"
- },
- "keys_url": {
- "type": "string"
- },
- "labels_url": {
- "type": "string"
- },
- "languages_url": {
- "type": "string"
- },
- "merges_url": {
- "type": "string"
- },
- "milestones_url": {
- "type": "string"
- },
- "notifications_url": {
- "type": "string"
- },
- "pulls_url": {
- "type": "string"
- },
- "releases_url": {
- "type": "string"
- },
- "ssh_url": {
- "type": "string"
- },
- "stargazers_url": {
- "type": "string"
- },
- "statuses_url": {
- "type": "string"
- },
- "subscribers_url": {
- "type": "string"
- },
- "subscription_url": {
- "type": "string"
- },
- "tags_url": {
- "type": "string"
- },
- "teams_url": {
- "type": "string"
- },
- "trees_url": {
- "type": "string"
- },
- "clone_url": {
- "type": "string"
- },
- "mirror_url": {
- "type": "string"
- },
- "hooks_url": {
- "type": "string"
- },
- "svn_url": {
- "type": "string"
- },
- "homepage": {
- "type": "string"
- },
- "language": {
- "type": "string"
- },
- "forks_count": {
- "type": "integer"
- },
- "stargazers_count": {
- "type": "integer"
- },
- "watchers_count": {
- "type": "integer"
- },
- "size": {
- "type": "integer"
- },
- "default_branch": {
- "type": "string"
- },
- "open_issues_count": {
- "type": "integer"
- },
- "is_template": {
- "type": "boolean"
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "type": "boolean"
- },
- "has_projects": {
- "type": "boolean"
- },
- "has_wiki": {
- "type": "boolean"
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "type": "boolean"
- },
- "archived": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean"
- },
- "visibility": {
- "type": "string"
- },
- "pushed_at": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
- },
- "allow_rebase_merge": {
- "type": "boolean"
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "type": "boolean"
- },
- "allow_auto_merge": {
- "type": "boolean"
- },
- "delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
- },
- "allow_merge_commit": {
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- }
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
- }
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ]
- },
- "examples": {
- "default": {
- "value": {
- "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": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
- "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}",
- "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
- "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}",
- "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
- "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}",
- "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}",
- "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
- "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}",
- "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors",
- "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments",
- "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads",
- "events_url": "https://api.github.com/repos/octocat/Hello-World/events",
- "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks",
- "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
- "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
- "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
- "git_url": "git:github.com/octocat/Hello-World.git",
- "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
- "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
- "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}",
- "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
- "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}",
- "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages",
- "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges",
- "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}",
- "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
- "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}",
- "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}",
- "ssh_url": "git@github.com:octocat/Hello-World.git",
- "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers",
- "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
- "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers",
- "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription",
- "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags",
- "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams",
- "trees_url": "https://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": "https://api.github.com/repos/octocat/Hello-World/hooks",
- "svn_url": "https://svn.github.com/octocat/Hello-World",
- "homepage": "https://github.com",
- "organization": null,
- "language": null,
- "forks": 9,
- "forks_count": 9,
- "stargazers_count": 80,
- "watchers_count": 80,
- "watchers": 80,
- "size": 108,
- "default_branch": "master",
- "open_issues": 0,
- "open_issues_count": 0,
- "is_template": true,
- "license": {
- "key": "mit",
- "name": "MIT License",
- "url": "https://api.github.com/licenses/mit",
- "spdx_id": "MIT",
- "node_id": "MDc6TGljZW5zZW1pdA==",
- "html_url": "https://api.github.com/licenses/mit"
- },
- "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_auto_merge": false,
- "delete_branch_on_merge": true,
- "allow_merge_commit": true,
- "subscribers_count": 42,
- "network_count": 0
- }
- }
- }
- }
- },
- "headers": {
- "Location": {
- "example": "https://api.github.com/repos/octocat/Hello-World",
- "schema": {
- "type": "string"
- }
- }
- }
- },
- "403": {
- "description": "Forbidden",
- "content": {
- "application/json": {
- "schema": {
- "title": "Basic Error",
- "description": "Basic Error",
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "documentation_url": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "status": {
- "type": "string"
- }
- }
- }
- }
- }
- },
- "422": {
- "description": "Validation failed",
- "content": {
- "application/json": {
- "schema": {
- "title": "Validation Error",
- "description": "Validation Error",
- "type": "object",
- "required": [
- "message",
- "documentation_url"
- ],
- "properties": {
- "message": {
- "type": "string"
- },
- "documentation_url": {
- "type": "string"
- },
- "errors": {
- "type": "array",
- "items": {
- "type": "object",
- "required": [
- "code"
- ],
- "properties": {
- "resource": {
- "type": "string"
- },
- "field": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- },
- "index": {
- "type": "integer"
- },
- "value": {
- "oneOf": [
- {
- "type": "string",
- "nullable": true
- },
- {
- "type": "integer",
- "nullable": true
- },
- {
- "type": "array",
- "nullable": true,
- "items": {
- "type": "string"
- }
- }
- ]
- }
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "x-github": {
- "githubCloudOnly": false,
- "enabledForGitHubApps": true,
- "category": "repos",
- "subcategory": null
- }
- }
- },
- "/orgs/{org}/secret-scanning/alerts": {
- "get": {
- "summary": "List secret scanning alerts for an organization",
- "description": "Lists secret scanning alerts for eligible repositories in an organization, from newest to oldest.\nTo use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.",
- "tags": [
- "secret-scanning"
- ],
- "operationId": "secret-scanning/list-alerts-for-org",
- "externalDocs": {
- "description": "API method documentation",
- "url": "https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-organization"
- },
- "parameters": [
- {
- "name": "org",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "state",
- "in": "query",
- "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.",
- "required": false,
- "schema": {
- "type": "string",
- "enum": [
- "open",
- "resolved"
- ]
- }
- },
- {
- "name": "secret_type",
- "in": "query",
- "description": "A comma-separated list of secret types to return. By default all secret types are returned.\nSee \"[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)\"\nfor a complete list of secret types (API slug).",
- "required": false,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "resolution",
- "in": "query",
- "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.",
- "required": false,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "page",
- "description": "Page number of the results to fetch.",
- "in": "query",
- "schema": {
- "type": "integer",
- "default": 1
- }
- },
- {
- "name": "per_page",
- "description": "Results per page (max 100)",
- "in": "query",
- "schema": {
- "type": "integer",
- "default": 30
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Response",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "number": {
- "type": "integer",
- "description": "The security alert number.",
- "readOnly": true
- },
- "created_at": {
- "type": "string",
- "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
- "format": "date-time",
- "readOnly": true
- },
- "url": {
- "type": "string",
- "description": "The REST API URL of the alert resource.",
- "format": "uri",
- "readOnly": true
- },
- "html_url": {
- "type": "string",
- "description": "The GitHub URL of the alert resource.",
- "format": "uri",
- "readOnly": true
- },
- "locations_url": {
- "type": "string",
- "format": "uri",
- "description": "The REST API URL of the code locations for this alert."
- },
- "state": {
- "description": "Sets the state of the secret scanning alert. Can be either `open` or `resolved`. You must provide `resolution` when you set the state to `resolved`.",
- "type": "string",
- "enum": [
- "open",
- "resolved"
- ]
- },
- "resolution": {
- "type": "string",
- "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert. Can be one of `false_positive`, `wont_fix`, `revoked`, or `used_in_tests`.",
- "nullable": true,
- "enum": [
- null,
- "false_positive",
- "wont_fix",
- "revoked",
- "used_in_tests"
- ]
- },
- "resolved_at": {
- "type": "string",
- "format": "date-time",
- "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
- "nullable": true
- },
- "resolved_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "secret_type": {
- "type": "string",
- "description": "The type of secret that secret scanning detected."
- },
- "secret": {
- "type": "string",
- "description": "The secret that was detected."
- },
- "repository": {
- "title": "Minimal Repository",
- "description": "Minimal Repository",
- "type": "object",
- "properties": {
- "id": {
- "type": "integer",
- "example": 1296269
- },
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "type": "string",
- "example": "Hello-World"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string"
- },
- "mirror_url": {
- "type": "string",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string"
- },
- "homepage": {
- "type": "string",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer"
- },
- "stargazers_count": {
- "type": "integer"
- },
- "watchers_count": {
- "type": "integer"
- },
- "size": {
- "type": "integer"
- },
- "default_branch": {
- "type": "string"
- },
- "open_issues_count": {
- "type": "integer"
- },
- "is_template": {
- "type": "boolean"
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "type": "boolean"
- },
- "has_projects": {
- "type": "boolean"
- },
- "has_wiki": {
- "type": "boolean"
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "type": "boolean"
- },
- "archived": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean"
- },
- "visibility": {
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
- },
- "role_name": {
- "type": "string",
- "example": "admin"
- },
- "template_repository": {
+ {
"title": "Repository",
"description": "A git repository",
"type": "object",
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -104255,96 +118460,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -104376,12 +118623,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -104389,228 +118642,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -104622,19 +118981,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -104643,7 +119008,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -104660,32 +119027,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -105018,25 +119401,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -105059,7 +119450,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -105136,8 +119529,4316 @@
"watchers_count",
"created_at",
"updated_at"
+ ]
+ }
+ ]
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ },
+ "code_of_conduct": {
+ "title": "Code Of Conduct",
+ "description": "Code Of Conduct",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "contributor_covenant"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "Contributor Covenant"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
+ },
+ "body": {
+ "type": "string",
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
+ },
+ "html_url": {
+ "type": [
+ "string",
+ "null"
],
- "nullable": true
+ "format": "uri"
+ }
+ },
+ "required": [
+ "url",
+ "html_url",
+ "key",
+ "name"
+ ]
+ },
+ "license": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "key": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "spdx_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "node_id": {
+ "type": "string"
+ }
+ }
+ },
+ "forks": {
+ "type": "integer",
+ "examples": [
+ 0
+ ]
+ },
+ "open_issues": {
+ "type": "integer",
+ "examples": [
+ 0
+ ]
+ },
+ "watchers": {
+ "type": "integer",
+ "examples": [
+ 0
+ ]
+ },
+ "allow_forking": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url"
+ ]
+ }
+ },
+ "examples": {
+ "default": {
+ "value": [
+ {
+ "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": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "https://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "https://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": "https://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": false,
+ "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
+ },
+ "template_repository": null
+ }
+ ]
+ }
+ }
+ }
+ },
+ "headers": {
+ "Link": {
+ "example": "; rel=\"next\", ; rel=\"last\"",
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "x-github": {
+ "githubCloudOnly": false,
+ "enabledForGitHubApps": true,
+ "category": "repos",
+ "subcategory": null
+ }
+ },
+ "post": {
+ "summary": "Create an organization repository",
+ "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository",
+ "tags": [
+ "repos"
+ ],
+ "operationId": "repos/create-in-org",
+ "externalDocs": {
+ "description": "API method documentation",
+ "url": "https://docs.github.com/rest/reference/repos#create-an-organization-repository"
+ },
+ "parameters": [
+ {
+ "name": "org",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the repository."
+ },
+ "description": {
+ "type": "string",
+ "description": "A short description of the repository."
+ },
+ "homepage": {
+ "type": "string",
+ "description": "A URL with more information about the repository."
+ },
+ "private": {
+ "type": "boolean",
+ "description": "Whether the repository is private.",
+ "default": false
+ },
+ "visibility": {
+ "type": "string",
+ "description": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. Note: For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise. For more information, see \"[Creating an internal repository](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\" in the GitHub Help documentation.",
+ "enum": [
+ "public",
+ "private",
+ "internal"
+ ]
+ },
+ "has_issues": {
+ "type": "boolean",
+ "description": "Either `true` to enable issues for this repository or `false` to disable them.",
+ "default": true
+ },
+ "has_projects": {
+ "type": "boolean",
+ "description": "Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.",
+ "default": true
+ },
+ "has_wiki": {
+ "type": "boolean",
+ "description": "Either `true` to enable the wiki for this repository or `false` to disable it.",
+ "default": true
+ },
+ "is_template": {
+ "type": "boolean",
+ "description": "Either `true` to make this repo available as a template repository or `false` to prevent it.",
+ "default": false
+ },
+ "team_id": {
+ "type": "integer",
+ "description": "The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization."
+ },
+ "auto_init": {
+ "type": "boolean",
+ "description": "Pass `true` to create an initial commit with empty README.",
+ "default": false
+ },
+ "gitignore_template": {
+ "type": "string",
+ "description": "Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, \"Haskell\"."
+ },
+ "license_template": {
+ "type": "string",
+ "description": "Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://docs.github.com/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, \"mit\" or \"mpl-2.0\"."
+ },
+ "allow_squash_merge": {
+ "type": "boolean",
+ "description": "Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.",
+ "default": true
+ },
+ "allow_merge_commit": {
+ "type": "boolean",
+ "description": "Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.",
+ "default": true
+ },
+ "allow_rebase_merge": {
+ "type": "boolean",
+ "description": "Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.",
+ "default": true
+ },
+ "allow_auto_merge": {
+ "type": "boolean",
+ "description": "Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge.",
+ "default": false
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean",
+ "description": "Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.",
+ "default": false
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "example": {
+ "name": "Hello-World",
+ "description": "This is your first repository",
+ "homepage": "https://github.com",
+ "private": false,
+ "has_issues": true,
+ "has_projects": true,
+ "has_wiki": true
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "description": "Response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "title": "Repository",
+ "description": "A git repository",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the repository",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
+ },
+ "name": {
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
+ },
+ "full_name": {
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
+ },
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ },
+ "private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
+ },
+ "archive_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
+ },
+ "assignees_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
+ },
+ "blobs_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
+ },
+ "branches_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
+ },
+ "collaborators_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
+ },
+ "comments_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
+ },
+ "commits_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
+ },
+ "compare_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
+ },
+ "contents_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
+ },
+ "contributors_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
+ },
+ "deployments_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
+ },
+ "downloads_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
+ },
+ "forks_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
+ },
+ "git_commits_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
+ },
+ "git_refs_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
+ },
+ "git_tags_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
+ },
+ "git_url": {
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
+ },
+ "issue_comment_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
+ },
+ "issue_events_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
+ },
+ "issues_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
+ },
+ "keys_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
+ },
+ "languages_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
+ },
+ "merges_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
+ },
+ "milestones_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
+ },
+ "notifications_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
+ },
+ "pulls_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
+ },
+ "releases_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
+ },
+ "ssh_url": {
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
+ },
+ "stargazers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
+ },
+ "statuses_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
+ },
+ "subscribers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
+ },
+ "subscription_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
+ },
+ "tags_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
+ },
+ "teams_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
+ },
+ "trees_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
+ },
+ "clone_url": {
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
+ },
+ "mirror_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
+ },
+ "hooks_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
+ },
+ "svn_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
+ },
+ "homepage": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
+ },
+ "language": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "forks_count": {
+ "type": "integer",
+ "examples": [
+ 9
+ ]
+ },
+ "stargazers_count": {
+ "type": "integer",
+ "examples": [
+ 80
+ ]
+ },
+ "watchers_count": {
+ "type": "integer",
+ "examples": [
+ 80
+ ]
+ },
+ "size": {
+ "type": "integer",
+ "examples": [
+ 108
+ ]
+ },
+ "default_branch": {
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
+ },
+ "open_issues_count": {
+ "type": "integer",
+ "examples": [
+ 0
+ ]
+ },
+ "is_template": {
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "has_projects": {
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "has_wiki": {
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
+ },
+ "visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
+ },
+ "created_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
+ },
+ "updated_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
+ },
+ "allow_rebase_merge": {
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_auto_merge": {
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
+ },
+ "delete_branch_on_merge": {
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
+ },
+ "allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
+ }
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
+ },
+ "examples": {
+ "default": {
+ "value": {
+ "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": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}",
+ "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}",
+ "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}",
+ "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}",
+ "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}",
+ "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}",
+ "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}",
+ "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}",
+ "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}",
+ "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors",
+ "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments",
+ "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads",
+ "events_url": "https://api.github.com/repos/octocat/Hello-World/events",
+ "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks",
+ "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}",
+ "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}",
+ "git_url": "git:github.com/octocat/Hello-World.git",
+ "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}",
+ "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}",
+ "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}",
+ "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}",
+ "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}",
+ "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages",
+ "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges",
+ "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}",
+ "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}",
+ "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}",
+ "ssh_url": "git@github.com:octocat/Hello-World.git",
+ "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers",
+ "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
+ "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers",
+ "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription",
+ "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags",
+ "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams",
+ "trees_url": "https://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": "https://api.github.com/repos/octocat/Hello-World/hooks",
+ "svn_url": "https://svn.github.com/octocat/Hello-World",
+ "homepage": "https://github.com",
+ "organization": null,
+ "language": null,
+ "forks": 9,
+ "forks_count": 9,
+ "stargazers_count": 80,
+ "watchers_count": 80,
+ "watchers": 80,
+ "size": 108,
+ "default_branch": "master",
+ "open_issues": 0,
+ "open_issues_count": 0,
+ "is_template": true,
+ "license": {
+ "key": "mit",
+ "name": "MIT License",
+ "url": "https://api.github.com/licenses/mit",
+ "spdx_id": "MIT",
+ "node_id": "MDc6TGljZW5zZW1pdA==",
+ "html_url": "https://api.github.com/licenses/mit"
+ },
+ "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_auto_merge": false,
+ "delete_branch_on_merge": true,
+ "allow_merge_commit": true,
+ "subscribers_count": 42,
+ "network_count": 0
+ }
+ }
+ }
+ }
+ },
+ "headers": {
+ "Location": {
+ "example": "https://api.github.com/repos/octocat/Hello-World",
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Forbidden",
+ "content": {
+ "application/json": {
+ "schema": {
+ "title": "Basic Error",
+ "description": "Basic Error",
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "documentation_url": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation failed",
+ "content": {
+ "application/json": {
+ "schema": {
+ "title": "Validation Error",
+ "description": "Validation Error",
+ "type": "object",
+ "required": [
+ "message",
+ "documentation_url"
+ ],
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "documentation_url": {
+ "type": "string"
+ },
+ "errors": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "required": [
+ "code"
+ ],
+ "properties": {
+ "resource": {
+ "type": "string"
+ },
+ "field": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ },
+ "index": {
+ "type": "integer"
+ },
+ "value": {
+ "oneOf": [
+ {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ {
+ "type": [
+ "array",
+ "null"
+ ],
+ "items": {
+ "type": "string"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "x-github": {
+ "githubCloudOnly": false,
+ "enabledForGitHubApps": true,
+ "category": "repos",
+ "subcategory": null
+ }
+ }
+ },
+ "/orgs/{org}/secret-scanning/alerts": {
+ "get": {
+ "summary": "List secret scanning alerts for an organization",
+ "description": "Lists secret scanning alerts for eligible repositories in an organization, from newest to oldest.\nTo use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.",
+ "tags": [
+ "secret-scanning"
+ ],
+ "operationId": "secret-scanning/list-alerts-for-org",
+ "externalDocs": {
+ "description": "API method documentation",
+ "url": "https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-organization"
+ },
+ "parameters": [
+ {
+ "name": "org",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "state",
+ "in": "query",
+ "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "enum": [
+ "open",
+ "resolved"
+ ]
+ }
+ },
+ {
+ "name": "secret_type",
+ "in": "query",
+ "description": "A comma-separated list of secret types to return. By default all secret types are returned.\nSee \"[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)\"\nfor a complete list of secret types (API slug).",
+ "required": false,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "resolution",
+ "in": "query",
+ "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.",
+ "required": false,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "page",
+ "description": "Page number of the results to fetch.",
+ "in": "query",
+ "schema": {
+ "type": "integer",
+ "default": 1
+ }
+ },
+ {
+ "name": "per_page",
+ "description": "Results per page (max 100)",
+ "in": "query",
+ "schema": {
+ "type": "integer",
+ "default": 30
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "number": {
+ "type": "integer",
+ "description": "The security alert number.",
+ "readOnly": true
+ },
+ "created_at": {
+ "type": "string",
+ "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "url": {
+ "type": "string",
+ "description": "The REST API URL of the alert resource.",
+ "format": "uri",
+ "readOnly": true
+ },
+ "html_url": {
+ "type": "string",
+ "description": "The GitHub URL of the alert resource.",
+ "format": "uri",
+ "readOnly": true
+ },
+ "locations_url": {
+ "type": "string",
+ "format": "uri",
+ "description": "The REST API URL of the code locations for this alert."
+ },
+ "state": {
+ "description": "Sets the state of the secret scanning alert. Can be either `open` or `resolved`. You must provide `resolution` when you set the state to `resolved`.",
+ "type": "string",
+ "enum": [
+ "open",
+ "resolved"
+ ]
+ },
+ "resolution": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert. Can be one of `false_positive`, `wont_fix`, `revoked`, or `used_in_tests`.",
+ "enum": [
+ null,
+ "false_positive",
+ "wont_fix",
+ "revoked",
+ "used_in_tests"
+ ]
+ },
+ "resolved_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`."
+ },
+ "resolved_by": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "secret_type": {
+ "type": "string",
+ "description": "The type of secret that secret scanning detected."
+ },
+ "secret": {
+ "type": "string",
+ "description": "The secret that was detected."
+ },
+ "repository": {
+ "title": "Minimal Repository",
+ "description": "Minimal Repository",
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1296269
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "Hello-World"
+ ]
+ },
+ "full_name": {
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
+ },
+ "archive_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
+ },
+ "assignees_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
+ },
+ "blobs_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
+ },
+ "branches_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
+ },
+ "collaborators_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
+ },
+ "comments_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
+ },
+ "commits_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
+ },
+ "compare_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
+ },
+ "contents_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
+ },
+ "contributors_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
+ },
+ "deployments_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
+ },
+ "downloads_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
+ },
+ "forks_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
+ },
+ "git_commits_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
+ },
+ "git_refs_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
+ },
+ "git_tags_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
+ },
+ "issue_events_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
+ },
+ "issues_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
+ },
+ "keys_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
+ },
+ "languages_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
+ },
+ "merges_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
+ },
+ "milestones_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
+ },
+ "notifications_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
+ },
+ "pulls_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
+ },
+ "releases_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
+ },
+ "statuses_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
+ },
+ "subscribers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
+ },
+ "subscription_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
+ },
+ "tags_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
+ },
+ "teams_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
+ },
+ "trees_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "hooks_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "language": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
+ },
+ "created_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
+ },
+ "updated_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "role_name": {
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "template_repository": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Repository",
+ "description": "A git repository",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the repository",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
+ },
+ "name": {
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
+ },
+ "full_name": {
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
+ },
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ },
+ "private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
+ },
+ "archive_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
+ },
+ "assignees_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
+ },
+ "blobs_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
+ },
+ "branches_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
+ },
+ "collaborators_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
+ },
+ "comments_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
+ },
+ "commits_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
+ },
+ "compare_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
+ },
+ "contents_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
+ },
+ "contributors_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
+ },
+ "deployments_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
+ },
+ "downloads_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
+ },
+ "forks_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
+ },
+ "git_commits_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
+ },
+ "git_refs_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
+ },
+ "git_tags_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
+ },
+ "git_url": {
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
+ },
+ "issue_comment_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
+ },
+ "issue_events_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
+ },
+ "issues_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
+ },
+ "keys_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
+ },
+ "languages_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
+ },
+ "merges_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
+ },
+ "milestones_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
+ },
+ "notifications_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
+ },
+ "pulls_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
+ },
+ "releases_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
+ },
+ "ssh_url": {
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
+ },
+ "stargazers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
+ },
+ "statuses_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
+ },
+ "subscribers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
+ },
+ "subscription_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
+ },
+ "tags_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
+ },
+ "teams_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
+ },
+ "trees_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
+ },
+ "clone_url": {
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
+ },
+ "mirror_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
+ },
+ "hooks_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
+ },
+ "svn_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
+ },
+ "homepage": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
+ },
+ "language": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "forks_count": {
+ "type": "integer",
+ "examples": [
+ 9
+ ]
+ },
+ "stargazers_count": {
+ "type": "integer",
+ "examples": [
+ 80
+ ]
+ },
+ "watchers_count": {
+ "type": "integer",
+ "examples": [
+ 80
+ ]
+ },
+ "size": {
+ "type": "integer",
+ "examples": [
+ 108
+ ]
+ },
+ "default_branch": {
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
+ },
+ "open_issues_count": {
+ "type": "integer",
+ "examples": [
+ 0
+ ]
+ },
+ "is_template": {
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "has_projects": {
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "has_wiki": {
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
+ },
+ "visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
+ },
+ "created_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
+ },
+ "updated_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
+ },
+ "allow_rebase_merge": {
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_auto_merge": {
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
+ },
+ "delete_branch_on_merge": {
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
+ },
+ "allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
+ }
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -105158,25 +123859,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -105187,7 +123898,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -105204,20 +123918,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -105986,7 +124705,9 @@
"properties": {
"total_advanced_security_committers": {
"type": "integer",
- "example": 25
+ "examples": [
+ 25
+ ]
},
"repositories": {
"type": "array",
@@ -105995,11 +124716,15 @@
"properties": {
"name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"advanced_security_committers": {
"type": "integer",
- "example": 25
+ "examples": [
+ 25
+ ]
},
"advanced_security_committers_breakdown": {
"type": "array",
@@ -106011,7 +124736,9 @@
},
"last_pushed_date": {
"type": "string",
- "example": "2021-11-03"
+ "examples": [
+ "2021-11-03"
+ ]
}
},
"required": [
@@ -106295,18 +125022,6 @@
"properties": {
"groups": {
"description": "Array of groups to be mapped to this team",
- "example": [
- {
- "group_id": "111a1a11-aaa1-1aaa-11a1-a1a1a1a1a1aa",
- "group_name": "saml-azuread-test",
- "group_description": "A group of Developers working on AzureAD SAML SSO"
- },
- {
- "group_id": "2bb2bb2b-bb22-22bb-2bb2-bb2bbb2bb2b2",
- "group_name": "saml-azuread-test2",
- "group_description": "Another group of Developers working on AzureAD SAML SSO"
- }
- ],
"type": "array",
"items": {
"type": "object",
@@ -106318,32 +125033,56 @@
"properties": {
"group_id": {
"description": "The ID of the group",
- "example": "111a1a11-aaa1-1aaa-11a1-a1a1a1a1a1aa",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "111a1a11-aaa1-1aaa-11a1-a1a1a1a1a1aa"
+ ]
},
"group_name": {
"description": "The name of the group",
- "example": "saml-azuread-test",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "saml-azuread-test"
+ ]
},
"group_description": {
"description": "a description of the group",
- "example": "A group of Developers working on AzureAD SAML SSO",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "A group of Developers working on AzureAD SAML SSO"
+ ]
},
"status": {
"description": "synchronization status for this group mapping",
- "example": "unsynced",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "unsynced"
+ ]
},
"synced_at": {
"description": "the time of the last sync for this group-mapping",
- "example": "2019-06-03 22:27:15:000 -700",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "2019-06-03 22:27:15:000 -700"
+ ]
}
}
- }
+ },
+ "examples": [
+ {
+ "group_id": "111a1a11-aaa1-1aaa-11a1-a1a1a1a1a1aa",
+ "group_name": "saml-azuread-test",
+ "group_description": "A group of Developers working on AzureAD SAML SSO"
+ },
+ {
+ "group_id": "2bb2bb2b-bb22-22bb-2bb2-bb2bbb2bb2b2",
+ "group_name": "saml-azuread-test2",
+ "group_description": "Another group of Developers working on AzureAD SAML SSO"
+ }
+ ]
}
}
},
@@ -106450,8 +125189,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -106493,7 +125234,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -106503,83 +125246,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -106759,37 +125534,53 @@
"properties": {
"id": {
"description": "Unique identifier of the team",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VGVhbTE="
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
},
"url": {
"description": "URL for the team",
- "example": "https://api.github.com/organizations/1/team/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"name": {
"description": "Name of the team",
- "example": "Developers",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Developers"
+ ]
},
"slug": {
"type": "string",
- "example": "justice-league"
+ "examples": [
+ "justice-league"
+ ]
},
"description": {
- "type": "string",
- "example": "A great team.",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
},
"privacy": {
"description": "The level of privacy this team should have",
@@ -106798,118 +125589,166 @@
"closed",
"secret"
],
- "example": "closed"
+ "examples": [
+ "closed"
+ ]
},
"permission": {
"description": "Permission that the team will have for its repositories",
- "example": "push",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "push"
+ ]
},
"members_url": {
"type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
},
"repositories_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
},
"members_count": {
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
},
"repos_count": {
"type": "integer",
- "example": 10
+ "examples": [
+ 10
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2017-07-14T16:53:42Z"
+ "examples": [
+ "2017-07-14T16:53:42Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2017-08-17T12:37:15Z"
+ "examples": [
+ "2017-08-17T12:37:15Z"
+ ]
},
"organization": {
"title": "Organization Full",
@@ -106918,153 +125757,233 @@
"properties": {
"login": {
"type": "string",
- "example": "github"
+ "examples": [
+ "github"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEyOk9yZ2FuaXphdGlvbjE="
+ "examples": [
+ "MDEyOk9yZ2FuaXphdGlvbjE="
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github"
+ "examples": [
+ "https://api.github.com/orgs/github"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github/repos"
+ "examples": [
+ "https://api.github.com/orgs/github/repos"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github/events"
+ "examples": [
+ "https://api.github.com/orgs/github/events"
+ ]
},
"hooks_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/hooks"
+ "examples": [
+ "https://api.github.com/orgs/github/hooks"
+ ]
},
"issues_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/issues"
+ "examples": [
+ "https://api.github.com/orgs/github/issues"
+ ]
},
"members_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/members{/member}"
+ "examples": [
+ "https://api.github.com/orgs/github/members{/member}"
+ ]
},
"public_members_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/public_members{/member}"
+ "examples": [
+ "https://api.github.com/orgs/github/public_members{/member}"
+ ]
},
"avatar_url": {
"type": "string",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"description": {
- "type": "string",
- "example": "A great organization",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great organization"
+ ]
},
"name": {
"type": "string",
- "example": "github"
+ "examples": [
+ "github"
+ ]
},
"company": {
"type": "string",
- "example": "GitHub"
+ "examples": [
+ "GitHub"
+ ]
},
"blog": {
"type": "string",
"format": "uri",
- "example": "https://github.com/blog"
+ "examples": [
+ "https://github.com/blog"
+ ]
},
"location": {
"type": "string",
- "example": "San Francisco"
+ "examples": [
+ "San Francisco"
+ ]
},
"email": {
"type": "string",
"format": "email",
- "example": "octocat@github.com"
+ "examples": [
+ "octocat@github.com"
+ ]
},
"twitter_username": {
- "type": "string",
- "example": "github",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "github"
+ ]
},
"is_verified": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_organization_projects": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_repository_projects": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"public_repos": {
"type": "integer",
- "example": 2
+ "examples": [
+ 2
+ ]
},
"public_gists": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"followers": {
"type": "integer",
- "example": 20
+ "examples": [
+ 20
+ ]
},
"following": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2008-01-14T04:33:35Z"
+ "examples": [
+ "2008-01-14T04:33:35Z"
+ ]
},
"type": {
"type": "string",
- "example": "Organization"
+ "examples": [
+ "Organization"
+ ]
},
"total_private_repos": {
"type": "integer",
- "example": 100
+ "examples": [
+ 100
+ ]
},
"owned_private_repos": {
"type": "integer",
- "example": 100
+ "examples": [
+ 100
+ ]
},
"private_gists": {
- "type": "integer",
- "example": 81,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 81
+ ]
},
"disk_usage": {
- "type": "integer",
- "example": 10000,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 10000
+ ]
},
"collaborators": {
- "type": "integer",
- "example": 8,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 8
+ ]
},
"billing_email": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "email",
- "example": "org@example.com",
- "nullable": true
+ "examples": [
+ "org@example.com"
+ ]
},
"plan": {
"type": "object",
@@ -107092,51 +126011,79 @@
]
},
"default_repository_permission": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"members_can_create_repositories": {
- "type": "boolean",
- "example": true,
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "examples": [
+ true
+ ]
},
"two_factor_requirement_enabled": {
- "type": "boolean",
- "example": true,
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "examples": [
+ true
+ ]
},
"members_allowed_repository_creation_type": {
"type": "string",
- "example": "all"
+ "examples": [
+ "all"
+ ]
},
"members_can_create_public_repositories": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_private_repositories": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_internal_repositories": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_pages": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_public_pages": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_private_pages": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_fork_private_repositories": {
- "type": "boolean",
- "example": false,
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "examples": [
+ false
+ ]
},
"updated_at": {
"type": "string",
@@ -107170,8 +126117,10 @@
},
"ldap_dn": {
"description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
}
},
"required": [
@@ -107292,16 +126241,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -107394,37 +126349,53 @@
"properties": {
"id": {
"description": "Unique identifier of the team",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VGVhbTE="
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
},
"url": {
"description": "URL for the team",
- "example": "https://api.github.com/organizations/1/team/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"name": {
"description": "Name of the team",
- "example": "Developers",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Developers"
+ ]
},
"slug": {
"type": "string",
- "example": "justice-league"
+ "examples": [
+ "justice-league"
+ ]
},
"description": {
- "type": "string",
- "example": "A great team.",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
},
"privacy": {
"description": "The level of privacy this team should have",
@@ -107433,118 +126404,166 @@
"closed",
"secret"
],
- "example": "closed"
+ "examples": [
+ "closed"
+ ]
},
"permission": {
"description": "Permission that the team will have for its repositories",
- "example": "push",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "push"
+ ]
},
"members_url": {
"type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
},
"repositories_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
},
"members_count": {
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
},
"repos_count": {
"type": "integer",
- "example": 10
+ "examples": [
+ 10
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2017-07-14T16:53:42Z"
+ "examples": [
+ "2017-07-14T16:53:42Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2017-08-17T12:37:15Z"
+ "examples": [
+ "2017-08-17T12:37:15Z"
+ ]
},
"organization": {
"title": "Organization Full",
@@ -107553,153 +126572,233 @@
"properties": {
"login": {
"type": "string",
- "example": "github"
+ "examples": [
+ "github"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEyOk9yZ2FuaXphdGlvbjE="
+ "examples": [
+ "MDEyOk9yZ2FuaXphdGlvbjE="
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github"
+ "examples": [
+ "https://api.github.com/orgs/github"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github/repos"
+ "examples": [
+ "https://api.github.com/orgs/github/repos"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github/events"
+ "examples": [
+ "https://api.github.com/orgs/github/events"
+ ]
},
"hooks_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/hooks"
+ "examples": [
+ "https://api.github.com/orgs/github/hooks"
+ ]
},
"issues_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/issues"
+ "examples": [
+ "https://api.github.com/orgs/github/issues"
+ ]
},
"members_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/members{/member}"
+ "examples": [
+ "https://api.github.com/orgs/github/members{/member}"
+ ]
},
"public_members_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/public_members{/member}"
+ "examples": [
+ "https://api.github.com/orgs/github/public_members{/member}"
+ ]
},
"avatar_url": {
"type": "string",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"description": {
- "type": "string",
- "example": "A great organization",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great organization"
+ ]
},
"name": {
"type": "string",
- "example": "github"
+ "examples": [
+ "github"
+ ]
},
"company": {
"type": "string",
- "example": "GitHub"
+ "examples": [
+ "GitHub"
+ ]
},
"blog": {
"type": "string",
"format": "uri",
- "example": "https://github.com/blog"
+ "examples": [
+ "https://github.com/blog"
+ ]
},
"location": {
"type": "string",
- "example": "San Francisco"
+ "examples": [
+ "San Francisco"
+ ]
},
"email": {
"type": "string",
"format": "email",
- "example": "octocat@github.com"
+ "examples": [
+ "octocat@github.com"
+ ]
},
"twitter_username": {
- "type": "string",
- "example": "github",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "github"
+ ]
},
"is_verified": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_organization_projects": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_repository_projects": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"public_repos": {
"type": "integer",
- "example": 2
+ "examples": [
+ 2
+ ]
},
"public_gists": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"followers": {
"type": "integer",
- "example": 20
+ "examples": [
+ 20
+ ]
},
"following": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2008-01-14T04:33:35Z"
+ "examples": [
+ "2008-01-14T04:33:35Z"
+ ]
},
"type": {
"type": "string",
- "example": "Organization"
+ "examples": [
+ "Organization"
+ ]
},
"total_private_repos": {
"type": "integer",
- "example": 100
+ "examples": [
+ 100
+ ]
},
"owned_private_repos": {
"type": "integer",
- "example": 100
+ "examples": [
+ 100
+ ]
},
"private_gists": {
- "type": "integer",
- "example": 81,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 81
+ ]
},
"disk_usage": {
- "type": "integer",
- "example": 10000,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 10000
+ ]
},
"collaborators": {
- "type": "integer",
- "example": 8,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 8
+ ]
},
"billing_email": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "email",
- "example": "org@example.com",
- "nullable": true
+ "examples": [
+ "org@example.com"
+ ]
},
"plan": {
"type": "object",
@@ -107727,51 +126826,79 @@
]
},
"default_repository_permission": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"members_can_create_repositories": {
- "type": "boolean",
- "example": true,
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "examples": [
+ true
+ ]
},
"two_factor_requirement_enabled": {
- "type": "boolean",
- "example": true,
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "examples": [
+ true
+ ]
},
"members_allowed_repository_creation_type": {
"type": "string",
- "example": "all"
+ "examples": [
+ "all"
+ ]
},
"members_can_create_public_repositories": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_private_repositories": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_internal_repositories": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_pages": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_public_pages": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_private_pages": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_fork_private_repositories": {
- "type": "boolean",
- "example": false,
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "examples": [
+ false
+ ]
},
"updated_at": {
"type": "string",
@@ -107805,8 +126932,10 @@
},
"ldap_dn": {
"description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
}
},
"required": [
@@ -107980,9 +127109,11 @@
"default": "pull"
},
"parent_team_id": {
- "type": "integer",
- "description": "The ID of a team to set as the parent team.",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "description": "The ID of a team to set as the parent team."
}
}
},
@@ -108006,37 +127137,53 @@
"properties": {
"id": {
"description": "Unique identifier of the team",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VGVhbTE="
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
},
"url": {
"description": "URL for the team",
- "example": "https://api.github.com/organizations/1/team/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"name": {
"description": "Name of the team",
- "example": "Developers",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Developers"
+ ]
},
"slug": {
"type": "string",
- "example": "justice-league"
+ "examples": [
+ "justice-league"
+ ]
},
"description": {
- "type": "string",
- "example": "A great team.",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
},
"privacy": {
"description": "The level of privacy this team should have",
@@ -108045,118 +127192,166 @@
"closed",
"secret"
],
- "example": "closed"
+ "examples": [
+ "closed"
+ ]
},
"permission": {
"description": "Permission that the team will have for its repositories",
- "example": "push",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "push"
+ ]
},
"members_url": {
"type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
},
"repositories_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
},
"members_count": {
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
},
"repos_count": {
"type": "integer",
- "example": 10
+ "examples": [
+ 10
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2017-07-14T16:53:42Z"
+ "examples": [
+ "2017-07-14T16:53:42Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2017-08-17T12:37:15Z"
+ "examples": [
+ "2017-08-17T12:37:15Z"
+ ]
},
"organization": {
"title": "Organization Full",
@@ -108165,153 +127360,233 @@
"properties": {
"login": {
"type": "string",
- "example": "github"
+ "examples": [
+ "github"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEyOk9yZ2FuaXphdGlvbjE="
+ "examples": [
+ "MDEyOk9yZ2FuaXphdGlvbjE="
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github"
+ "examples": [
+ "https://api.github.com/orgs/github"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github/repos"
+ "examples": [
+ "https://api.github.com/orgs/github/repos"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/orgs/github/events"
+ "examples": [
+ "https://api.github.com/orgs/github/events"
+ ]
},
"hooks_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/hooks"
+ "examples": [
+ "https://api.github.com/orgs/github/hooks"
+ ]
},
"issues_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/issues"
+ "examples": [
+ "https://api.github.com/orgs/github/issues"
+ ]
},
"members_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/members{/member}"
+ "examples": [
+ "https://api.github.com/orgs/github/members{/member}"
+ ]
},
"public_members_url": {
"type": "string",
- "example": "https://api.github.com/orgs/github/public_members{/member}"
+ "examples": [
+ "https://api.github.com/orgs/github/public_members{/member}"
+ ]
},
"avatar_url": {
"type": "string",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"description": {
- "type": "string",
- "example": "A great organization",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great organization"
+ ]
},
"name": {
"type": "string",
- "example": "github"
+ "examples": [
+ "github"
+ ]
},
"company": {
"type": "string",
- "example": "GitHub"
+ "examples": [
+ "GitHub"
+ ]
},
"blog": {
"type": "string",
"format": "uri",
- "example": "https://github.com/blog"
+ "examples": [
+ "https://github.com/blog"
+ ]
},
"location": {
"type": "string",
- "example": "San Francisco"
+ "examples": [
+ "San Francisco"
+ ]
},
"email": {
"type": "string",
"format": "email",
- "example": "octocat@github.com"
+ "examples": [
+ "octocat@github.com"
+ ]
},
"twitter_username": {
- "type": "string",
- "example": "github",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "github"
+ ]
},
"is_verified": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_organization_projects": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_repository_projects": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"public_repos": {
"type": "integer",
- "example": 2
+ "examples": [
+ 2
+ ]
},
"public_gists": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"followers": {
"type": "integer",
- "example": 20
+ "examples": [
+ 20
+ ]
},
"following": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2008-01-14T04:33:35Z"
+ "examples": [
+ "2008-01-14T04:33:35Z"
+ ]
},
"type": {
"type": "string",
- "example": "Organization"
+ "examples": [
+ "Organization"
+ ]
},
"total_private_repos": {
"type": "integer",
- "example": 100
+ "examples": [
+ 100
+ ]
},
"owned_private_repos": {
"type": "integer",
- "example": 100
+ "examples": [
+ 100
+ ]
},
"private_gists": {
- "type": "integer",
- "example": 81,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 81
+ ]
},
"disk_usage": {
- "type": "integer",
- "example": 10000,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 10000
+ ]
},
"collaborators": {
- "type": "integer",
- "example": 8,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 8
+ ]
},
"billing_email": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "email",
- "example": "org@example.com",
- "nullable": true
+ "examples": [
+ "org@example.com"
+ ]
},
"plan": {
"type": "object",
@@ -108339,51 +127614,79 @@
]
},
"default_repository_permission": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"members_can_create_repositories": {
- "type": "boolean",
- "example": true,
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "examples": [
+ true
+ ]
},
"two_factor_requirement_enabled": {
- "type": "boolean",
- "example": true,
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "examples": [
+ true
+ ]
},
"members_allowed_repository_creation_type": {
"type": "string",
- "example": "all"
+ "examples": [
+ "all"
+ ]
},
"members_can_create_public_repositories": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_private_repositories": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_internal_repositories": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_pages": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_public_pages": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_create_private_pages": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"members_can_fork_private_repositories": {
- "type": "boolean",
- "example": false,
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "examples": [
+ false
+ ]
},
"updated_at": {
"type": "string",
@@ -108417,8 +127720,10 @@
},
"ldap_dn": {
"description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
}
},
"required": [
@@ -108630,201 +127935,281 @@
"type": "object",
"properties": {
"author": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"body": {
"description": "The main text of the discussion.",
- "example": "Please suggest improvements to our workflow in comments.",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Please suggest improvements to our workflow in comments."
+ ]
},
"body_html": {
"type": "string",
- "example": "Hi! This is an area for us to collaborate as a team
"
+ "examples": [
+ "Hi! This is an area for us to collaborate as a team
"
+ ]
},
"body_version": {
"description": "The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server.",
- "example": "0307116bbf7ced493b8d8a346c650b71",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "0307116bbf7ced493b8d8a346c650b71"
+ ]
},
"comments_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"comments_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/2343027/discussions/1/comments"
+ "examples": [
+ "https://api.github.com/organizations/1/team/2343027/discussions/1/comments"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2018-01-25T18:56:31Z"
+ "examples": [
+ "2018-01-25T18:56:31Z"
+ ]
},
"last_edited_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/github/teams/justice-league/discussions/1"
+ "examples": [
+ "https://github.com/orgs/github/teams/justice-league/discussions/1"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDE0OlRlYW1EaXNjdXNzaW9uMQ=="
+ "examples": [
+ "MDE0OlRlYW1EaXNjdXNzaW9uMQ=="
+ ]
},
"number": {
"description": "The unique sequence number of a team discussion.",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"pinned": {
"description": "Whether or not this discussion should be pinned for easy retrieval.",
- "example": true,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"private": {
"description": "Whether or not this discussion should be restricted to team members and organization administrators.",
- "example": true,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"team_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/2343027"
+ "examples": [
+ "https://api.github.com/organizations/1/team/2343027"
+ ]
},
"title": {
"description": "The title of the discussion.",
- "example": "How can we improve our workflow?",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "How can we improve our workflow?"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2018-01-25T18:56:31Z"
+ "examples": [
+ "2018-01-25T18:56:31Z"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/2343027/discussions/1"
+ "examples": [
+ "https://api.github.com/organizations/1/team/2343027/discussions/1"
+ ]
},
"reactions": {
"title": "Reaction Rollup",
@@ -109046,201 +128431,281 @@
"type": "object",
"properties": {
"author": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"body": {
"description": "The main text of the discussion.",
- "example": "Please suggest improvements to our workflow in comments.",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Please suggest improvements to our workflow in comments."
+ ]
},
"body_html": {
"type": "string",
- "example": "Hi! This is an area for us to collaborate as a team
"
+ "examples": [
+ "Hi! This is an area for us to collaborate as a team
"
+ ]
},
"body_version": {
"description": "The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server.",
- "example": "0307116bbf7ced493b8d8a346c650b71",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "0307116bbf7ced493b8d8a346c650b71"
+ ]
},
"comments_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"comments_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/2343027/discussions/1/comments"
+ "examples": [
+ "https://api.github.com/organizations/1/team/2343027/discussions/1/comments"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2018-01-25T18:56:31Z"
+ "examples": [
+ "2018-01-25T18:56:31Z"
+ ]
},
"last_edited_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/github/teams/justice-league/discussions/1"
+ "examples": [
+ "https://github.com/orgs/github/teams/justice-league/discussions/1"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDE0OlRlYW1EaXNjdXNzaW9uMQ=="
+ "examples": [
+ "MDE0OlRlYW1EaXNjdXNzaW9uMQ=="
+ ]
},
"number": {
"description": "The unique sequence number of a team discussion.",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"pinned": {
"description": "Whether or not this discussion should be pinned for easy retrieval.",
- "example": true,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"private": {
"description": "Whether or not this discussion should be restricted to team members and organization administrators.",
- "example": true,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"team_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/2343027"
+ "examples": [
+ "https://api.github.com/organizations/1/team/2343027"
+ ]
},
"title": {
"description": "The title of the discussion.",
- "example": "How can we improve our workflow?",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "How can we improve our workflow?"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2018-01-25T18:56:31Z"
+ "examples": [
+ "2018-01-25T18:56:31Z"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/2343027/discussions/1"
+ "examples": [
+ "https://api.github.com/organizations/1/team/2343027/discussions/1"
+ ]
},
"reactions": {
"title": "Reaction Rollup",
@@ -109429,201 +128894,281 @@
"type": "object",
"properties": {
"author": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"body": {
"description": "The main text of the discussion.",
- "example": "Please suggest improvements to our workflow in comments.",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Please suggest improvements to our workflow in comments."
+ ]
},
"body_html": {
"type": "string",
- "example": "Hi! This is an area for us to collaborate as a team
"
+ "examples": [
+ "Hi! This is an area for us to collaborate as a team
"
+ ]
},
"body_version": {
"description": "The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server.",
- "example": "0307116bbf7ced493b8d8a346c650b71",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "0307116bbf7ced493b8d8a346c650b71"
+ ]
},
"comments_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"comments_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/2343027/discussions/1/comments"
+ "examples": [
+ "https://api.github.com/organizations/1/team/2343027/discussions/1/comments"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2018-01-25T18:56:31Z"
+ "examples": [
+ "2018-01-25T18:56:31Z"
+ ]
},
"last_edited_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/github/teams/justice-league/discussions/1"
+ "examples": [
+ "https://github.com/orgs/github/teams/justice-league/discussions/1"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDE0OlRlYW1EaXNjdXNzaW9uMQ=="
+ "examples": [
+ "MDE0OlRlYW1EaXNjdXNzaW9uMQ=="
+ ]
},
"number": {
"description": "The unique sequence number of a team discussion.",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"pinned": {
"description": "Whether or not this discussion should be pinned for easy retrieval.",
- "example": true,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"private": {
"description": "Whether or not this discussion should be restricted to team members and organization administrators.",
- "example": true,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"team_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/2343027"
+ "examples": [
+ "https://api.github.com/organizations/1/team/2343027"
+ ]
},
"title": {
"description": "The title of the discussion.",
- "example": "How can we improve our workflow?",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "How can we improve our workflow?"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2018-01-25T18:56:31Z"
+ "examples": [
+ "2018-01-25T18:56:31Z"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/2343027/discussions/1"
+ "examples": [
+ "https://api.github.com/organizations/1/team/2343027/discussions/1"
+ ]
},
"reactions": {
"title": "Reaction Rollup",
@@ -109832,201 +129377,281 @@
"type": "object",
"properties": {
"author": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"body": {
"description": "The main text of the discussion.",
- "example": "Please suggest improvements to our workflow in comments.",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Please suggest improvements to our workflow in comments."
+ ]
},
"body_html": {
"type": "string",
- "example": "Hi! This is an area for us to collaborate as a team
"
+ "examples": [
+ "Hi! This is an area for us to collaborate as a team
"
+ ]
},
"body_version": {
"description": "The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server.",
- "example": "0307116bbf7ced493b8d8a346c650b71",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "0307116bbf7ced493b8d8a346c650b71"
+ ]
},
"comments_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"comments_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/2343027/discussions/1/comments"
+ "examples": [
+ "https://api.github.com/organizations/1/team/2343027/discussions/1/comments"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2018-01-25T18:56:31Z"
+ "examples": [
+ "2018-01-25T18:56:31Z"
+ ]
},
"last_edited_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/github/teams/justice-league/discussions/1"
+ "examples": [
+ "https://github.com/orgs/github/teams/justice-league/discussions/1"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDE0OlRlYW1EaXNjdXNzaW9uMQ=="
+ "examples": [
+ "MDE0OlRlYW1EaXNjdXNzaW9uMQ=="
+ ]
},
"number": {
"description": "The unique sequence number of a team discussion.",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"pinned": {
"description": "Whether or not this discussion should be pinned for easy retrieval.",
- "example": true,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"private": {
"description": "Whether or not this discussion should be restricted to team members and organization administrators.",
- "example": true,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"team_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/2343027"
+ "examples": [
+ "https://api.github.com/organizations/1/team/2343027"
+ ]
},
"title": {
"description": "The title of the discussion.",
- "example": "How can we improve our workflow?",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "How can we improve our workflow?"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2018-01-25T18:56:31Z"
+ "examples": [
+ "2018-01-25T18:56:31Z"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/2343027/discussions/1"
+ "examples": [
+ "https://api.github.com/organizations/1/team/2343027/discussions/1"
+ ]
},
"reactions": {
"title": "Reaction Rollup",
@@ -110298,177 +129923,247 @@
"type": "object",
"properties": {
"author": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"body": {
"description": "The main text of the comment.",
- "example": "I agree with this suggestion.",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "I agree with this suggestion."
+ ]
},
"body_html": {
"type": "string",
- "example": "Do you like apples?
"
+ "examples": [
+ "Do you like apples?
"
+ ]
},
"body_version": {
"description": "The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server.",
- "example": "0307116bbf7ced493b8d8a346c650b71",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "0307116bbf7ced493b8d8a346c650b71"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2018-01-15T23:53:58Z"
+ "examples": [
+ "2018-01-15T23:53:58Z"
+ ]
},
"last_edited_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"discussion_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/2403582/discussions/1"
+ "examples": [
+ "https://api.github.com/organizations/1/team/2403582/discussions/1"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1"
+ "examples": [
+ "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE="
+ "examples": [
+ "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE="
+ ]
},
"number": {
"description": "The unique sequence number of a team discussion comment.",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2018-01-15T23:53:58Z"
+ "examples": [
+ "2018-01-15T23:53:58Z"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1"
+ "examples": [
+ "https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1"
+ ]
},
"reactions": {
"title": "Reaction Rollup",
@@ -110677,177 +130372,247 @@
"type": "object",
"properties": {
"author": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"body": {
"description": "The main text of the comment.",
- "example": "I agree with this suggestion.",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "I agree with this suggestion."
+ ]
},
"body_html": {
"type": "string",
- "example": "Do you like apples?
"
+ "examples": [
+ "Do you like apples?
"
+ ]
},
"body_version": {
"description": "The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server.",
- "example": "0307116bbf7ced493b8d8a346c650b71",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "0307116bbf7ced493b8d8a346c650b71"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2018-01-15T23:53:58Z"
+ "examples": [
+ "2018-01-15T23:53:58Z"
+ ]
},
"last_edited_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"discussion_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/2403582/discussions/1"
+ "examples": [
+ "https://api.github.com/organizations/1/team/2403582/discussions/1"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1"
+ "examples": [
+ "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE="
+ "examples": [
+ "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE="
+ ]
},
"number": {
"description": "The unique sequence number of a team discussion comment.",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2018-01-15T23:53:58Z"
+ "examples": [
+ "2018-01-15T23:53:58Z"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1"
+ "examples": [
+ "https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1"
+ ]
},
"reactions": {
"title": "Reaction Rollup",
@@ -111034,177 +130799,247 @@
"type": "object",
"properties": {
"author": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"body": {
"description": "The main text of the comment.",
- "example": "I agree with this suggestion.",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "I agree with this suggestion."
+ ]
},
"body_html": {
"type": "string",
- "example": "Do you like apples?
"
+ "examples": [
+ "Do you like apples?
"
+ ]
},
"body_version": {
"description": "The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server.",
- "example": "0307116bbf7ced493b8d8a346c650b71",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "0307116bbf7ced493b8d8a346c650b71"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2018-01-15T23:53:58Z"
+ "examples": [
+ "2018-01-15T23:53:58Z"
+ ]
},
"last_edited_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"discussion_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/2403582/discussions/1"
+ "examples": [
+ "https://api.github.com/organizations/1/team/2403582/discussions/1"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1"
+ "examples": [
+ "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE="
+ "examples": [
+ "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE="
+ ]
},
"number": {
"description": "The unique sequence number of a team discussion comment.",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2018-01-15T23:53:58Z"
+ "examples": [
+ "2018-01-15T23:53:58Z"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1"
+ "examples": [
+ "https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1"
+ ]
},
"reactions": {
"title": "Reaction Rollup",
@@ -111410,177 +131245,247 @@
"type": "object",
"properties": {
"author": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"body": {
"description": "The main text of the comment.",
- "example": "I agree with this suggestion.",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "I agree with this suggestion."
+ ]
},
"body_html": {
"type": "string",
- "example": "Do you like apples?
"
+ "examples": [
+ "Do you like apples?
"
+ ]
},
"body_version": {
"description": "The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server.",
- "example": "0307116bbf7ced493b8d8a346c650b71",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "0307116bbf7ced493b8d8a346c650b71"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2018-01-15T23:53:58Z"
+ "examples": [
+ "2018-01-15T23:53:58Z"
+ ]
},
"last_edited_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"discussion_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/2403582/discussions/1"
+ "examples": [
+ "https://api.github.com/organizations/1/team/2403582/discussions/1"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1"
+ "examples": [
+ "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE="
+ "examples": [
+ "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE="
+ ]
},
"number": {
"description": "The unique sequence number of a team discussion comment.",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2018-01-15T23:53:58Z"
+ "examples": [
+ "2018-01-15T23:53:58Z"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1"
+ "examples": [
+ "https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1"
+ ]
},
"reactions": {
"title": "Reaction Rollup",
@@ -111864,135 +131769,186 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6UmVhY3Rpb24x"
+ "examples": [
+ "MDg6UmVhY3Rpb24x"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"content": {
"description": "The reaction to use",
- "example": "heart",
"type": "string",
"enum": [
"+1",
@@ -112003,12 +131959,17 @@
"hooray",
"rocket",
"eyes"
+ ],
+ "examples": [
+ "heart"
]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-05-20T20:09:31Z"
+ "examples": [
+ "2016-05-20T20:09:31Z"
+ ]
}
},
"required": [
@@ -112165,135 +132126,186 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6UmVhY3Rpb24x"
+ "examples": [
+ "MDg6UmVhY3Rpb24x"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"content": {
"description": "The reaction to use",
- "example": "heart",
"type": "string",
"enum": [
"+1",
@@ -112304,12 +132316,17 @@
"hooray",
"rocket",
"eyes"
+ ],
+ "examples": [
+ "heart"
]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-05-20T20:09:31Z"
+ "examples": [
+ "2016-05-20T20:09:31Z"
+ ]
}
},
"required": [
@@ -112364,135 +132381,186 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6UmVhY3Rpb24x"
+ "examples": [
+ "MDg6UmVhY3Rpb24x"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"content": {
"description": "The reaction to use",
- "example": "heart",
"type": "string",
"enum": [
"+1",
@@ -112503,12 +132571,17 @@
"hooray",
"rocket",
"eyes"
+ ],
+ "examples": [
+ "heart"
]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-05-20T20:09:31Z"
+ "examples": [
+ "2016-05-20T20:09:31Z"
+ ]
}
},
"required": [
@@ -112719,135 +132792,186 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6UmVhY3Rpb24x"
+ "examples": [
+ "MDg6UmVhY3Rpb24x"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"content": {
"description": "The reaction to use",
- "example": "heart",
"type": "string",
"enum": [
"+1",
@@ -112858,12 +132982,17 @@
"hooray",
"rocket",
"eyes"
+ ],
+ "examples": [
+ "heart"
]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-05-20T20:09:31Z"
+ "examples": [
+ "2016-05-20T20:09:31Z"
+ ]
}
},
"required": [
@@ -113012,135 +133141,186 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6UmVhY3Rpb24x"
+ "examples": [
+ "MDg6UmVhY3Rpb24x"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"content": {
"description": "The reaction to use",
- "example": "heart",
"type": "string",
"enum": [
"+1",
@@ -113151,12 +133331,17 @@
"hooray",
"rocket",
"eyes"
+ ],
+ "examples": [
+ "heart"
]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-05-20T20:09:31Z"
+ "examples": [
+ "2016-05-20T20:09:31Z"
+ ]
}
},
"required": [
@@ -113211,135 +133396,186 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6UmVhY3Rpb24x"
+ "examples": [
+ "MDg6UmVhY3Rpb24x"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"content": {
"description": "The reaction to use",
- "example": "heart",
"type": "string",
"enum": [
"+1",
@@ -113350,12 +133586,17 @@
"hooray",
"rocket",
"eyes"
+ ],
+ "examples": [
+ "heart"
]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-05-20T20:09:31Z"
+ "examples": [
+ "2016-05-20T20:09:31Z"
+ ]
}
},
"required": [
@@ -113509,7 +133750,9 @@
"group_id": {
"type": "integer",
"description": "External Group Id",
- "example": 1
+ "examples": [
+ 1
+ ]
}
},
"required": [
@@ -113540,31 +133783,27 @@
"properties": {
"group_id": {
"description": "The internal ID of the group",
- "example": 1,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"group_name": {
"description": "The display name for the group",
- "example": "group-azuread-test",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "group-azuread-test"
+ ]
},
"updated_at": {
"description": "The date when the group was last updated_at",
- "example": "2021-01-03 22:27:15:000 -700",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "2021-01-03 22:27:15:000 -700"
+ ]
},
"teams": {
"description": "An array of teams linked to this group",
- "example": [
- {
- "team_id": 1,
- "team_name": "team-test"
- },
- {
- "team_id": 2,
- "team_name": "team-test2"
- }
- ],
"type": "array",
"items": {
"type": "object",
@@ -113575,33 +133814,33 @@
"properties": {
"team_id": {
"description": "The id for a team",
- "example": 1,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"team_name": {
"description": "The name of the team",
- "example": "team-test",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "team-test"
+ ]
}
}
- }
+ },
+ "examples": [
+ {
+ "team_id": 1,
+ "team_name": "team-test"
+ },
+ {
+ "team_id": 2,
+ "team_name": "team-test2"
+ }
+ ]
},
"members": {
"description": "An array of external members linked to this group",
- "example": [
- {
- "member_id": 1,
- "member_login": "mona-lisa_eocsaxrs",
- "member_name": "Mona Lisa",
- "member_email": "mona_lisa@github.com"
- },
- {
- "member_id": 2,
- "member_login": "octo-lisa_eocsaxrs",
- "member_name": "Octo Lisa",
- "member_email": "octo_lisa@github.com"
- }
- ],
"type": "array",
"items": {
"type": "object",
@@ -113614,26 +133853,48 @@
"properties": {
"member_id": {
"description": "The internal user ID of the identity",
- "example": 1,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"member_login": {
"description": "The handle/login for the user",
- "example": "mona-lisa_eocsaxrs",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "mona-lisa_eocsaxrs"
+ ]
},
"member_name": {
"description": "The user display name/profile name",
- "example": "Mona Lisa",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Mona Lisa"
+ ]
},
"member_email": {
"description": "An email attached to a user",
- "example": "mona_lisa@github.com",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "mona_lisa@github.com"
+ ]
}
}
- }
+ },
+ "examples": [
+ {
+ "member_id": 1,
+ "member_login": "mona-lisa_eocsaxrs",
+ "member_name": "Mona Lisa",
+ "member_email": "mona_lisa@github.com"
+ },
+ {
+ "member_id": 2,
+ "member_login": "octo-lisa_eocsaxrs",
+ "member_name": "Octo Lisa",
+ "member_email": "octo_lisa@github.com"
+ }
+ ]
}
}
},
@@ -113789,12 +134050,16 @@
"type": "integer"
},
"login": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"role": {
"type": "string"
@@ -113803,12 +134068,16 @@
"type": "string"
},
"failed_at": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"failed_reason": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"inviter": {
"title": "Simple User",
@@ -113816,96 +134085,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -113934,11 +134245,15 @@
},
"node_id": {
"type": "string",
- "example": "\"MDIyOk9yZ2FuaXphdGlvbkludml0YXRpb24x\""
+ "examples": [
+ "\"MDIyOk9yZ2FuaXphdGlvbkludml0YXRpb24x\""
+ ]
},
"invitation_teams_url": {
"type": "string",
- "example": "\"https://api.github.com/organizations/16/invitations/1/teams\""
+ "examples": [
+ "\"https://api.github.com/organizations/16/invitations/1/teams\""
+ ]
}
},
"required": [
@@ -114089,96 +134404,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -114309,8 +134666,10 @@
"maintainer"
],
"default": "member",
- "example": "member",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "member"
+ ]
},
"state": {
"description": "The state of the user's membership in the team.",
@@ -114431,8 +134790,10 @@
"maintainer"
],
"default": "member",
- "example": "member",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "member"
+ ]
},
"state": {
"description": "The state of the user's membership in the team.",
@@ -114613,8 +134974,10 @@
"type": "string"
},
"body": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"number": {
"type": "integer"
@@ -114628,96 +134991,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -114931,8 +135336,10 @@
"type": "string"
},
"body": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"number": {
"type": "integer"
@@ -114946,96 +135353,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -115212,7 +135661,10 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"permission": {
"type": "string",
@@ -115223,8 +135675,7 @@
"admin"
]
}
- },
- "nullable": true
+ }
}
}
}
@@ -115381,19 +135832,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -115401,96 +135860,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -115520,12 +136021,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -115533,129 +136040,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -115663,58 +136228,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -115768,22 +136355,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -115807,894 +136406,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -116703,77 +137228,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -116781,136 +137688,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -116931,25 +137802,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -116960,7 +137841,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -116977,20 +137861,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -117235,63 +138124,91 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -117323,127 +138240,177 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"private": {
"description": "Whether the repository is private or public.",
@@ -117453,12 +138420,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -117466,228 +138439,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -117699,19 +138778,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -117720,7 +138805,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -117737,915 +138824,853 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -118654,77 +139679,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -118732,136 +140139,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -118870,31 +140241,41 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"subscribers_count": {
"type": "integer"
@@ -119442,18 +140823,6 @@
"properties": {
"groups": {
"description": "Array of groups to be mapped to this team",
- "example": [
- {
- "group_id": "111a1a11-aaa1-1aaa-11a1-a1a1a1a1a1aa",
- "group_name": "saml-azuread-test",
- "group_description": "A group of Developers working on AzureAD SAML SSO"
- },
- {
- "group_id": "2bb2bb2b-bb22-22bb-2bb2-bb2bbb2bb2b2",
- "group_name": "saml-azuread-test2",
- "group_description": "Another group of Developers working on AzureAD SAML SSO"
- }
- ],
"type": "array",
"items": {
"type": "object",
@@ -119465,32 +140834,56 @@
"properties": {
"group_id": {
"description": "The ID of the group",
- "example": "111a1a11-aaa1-1aaa-11a1-a1a1a1a1a1aa",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "111a1a11-aaa1-1aaa-11a1-a1a1a1a1a1aa"
+ ]
},
"group_name": {
"description": "The name of the group",
- "example": "saml-azuread-test",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "saml-azuread-test"
+ ]
},
"group_description": {
"description": "a description of the group",
- "example": "A group of Developers working on AzureAD SAML SSO",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "A group of Developers working on AzureAD SAML SSO"
+ ]
},
"status": {
"description": "synchronization status for this group mapping",
- "example": "unsynced",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "unsynced"
+ ]
},
"synced_at": {
"description": "the time of the last sync for this group-mapping",
- "example": "2019-06-03 22:27:15:000 -700",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "2019-06-03 22:27:15:000 -700"
+ ]
}
}
- }
+ },
+ "examples": [
+ {
+ "group_id": "111a1a11-aaa1-1aaa-11a1-a1a1a1a1a1aa",
+ "group_name": "saml-azuread-test",
+ "group_description": "A group of Developers working on AzureAD SAML SSO"
+ },
+ {
+ "group_id": "2bb2bb2b-bb22-22bb-2bb2-bb2bbb2bb2b2",
+ "group_name": "saml-azuread-test2",
+ "group_description": "Another group of Developers working on AzureAD SAML SSO"
+ }
+ ]
}
}
},
@@ -119613,18 +141006,6 @@
"properties": {
"groups": {
"description": "Array of groups to be mapped to this team",
- "example": [
- {
- "group_id": "111a1a11-aaa1-1aaa-11a1-a1a1a1a1a1aa",
- "group_name": "saml-azuread-test",
- "group_description": "A group of Developers working on AzureAD SAML SSO"
- },
- {
- "group_id": "2bb2bb2b-bb22-22bb-2bb2-bb2bbb2bb2b2",
- "group_name": "saml-azuread-test2",
- "group_description": "Another group of Developers working on AzureAD SAML SSO"
- }
- ],
"type": "array",
"items": {
"type": "object",
@@ -119636,32 +141017,56 @@
"properties": {
"group_id": {
"description": "The ID of the group",
- "example": "111a1a11-aaa1-1aaa-11a1-a1a1a1a1a1aa",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "111a1a11-aaa1-1aaa-11a1-a1a1a1a1a1aa"
+ ]
},
"group_name": {
"description": "The name of the group",
- "example": "saml-azuread-test",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "saml-azuread-test"
+ ]
},
"group_description": {
"description": "a description of the group",
- "example": "A group of Developers working on AzureAD SAML SSO",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "A group of Developers working on AzureAD SAML SSO"
+ ]
},
"status": {
"description": "synchronization status for this group mapping",
- "example": "unsynced",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "unsynced"
+ ]
},
"synced_at": {
"description": "the time of the last sync for this group-mapping",
- "example": "2019-06-03 22:27:15:000 -700",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "2019-06-03 22:27:15:000 -700"
+ ]
}
}
- }
+ },
+ "examples": [
+ {
+ "group_id": "111a1a11-aaa1-1aaa-11a1-a1a1a1a1a1aa",
+ "group_name": "saml-azuread-test",
+ "group_description": "A group of Developers working on AzureAD SAML SSO"
+ },
+ {
+ "group_id": "2bb2bb2b-bb22-22bb-2bb2-bb2bbb2bb2b2",
+ "group_name": "saml-azuread-test2",
+ "group_description": "Another group of Developers working on AzureAD SAML SSO"
+ }
+ ]
}
}
},
@@ -119769,8 +141174,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -119812,7 +141219,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -119822,83 +141231,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -120004,156 +141445,220 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/columns/cards/1478"
+ "examples": [
+ "https://api.github.com/projects/columns/cards/1478"
+ ]
},
"id": {
"description": "The project card's ID",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOlByb2plY3RDYXJkMTQ3OA=="
+ "examples": [
+ "MDExOlByb2plY3RDYXJkMTQ3OA=="
+ ]
},
"note": {
- "type": "string",
- "example": "Add payload for delete Project column",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Add payload for delete Project column"
+ ]
},
"creator": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-09-05T14:21:06Z"
+ "examples": [
+ "2016-09-05T14:21:06Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2016-09-05T14:20:22Z"
+ "examples": [
+ "2016-09-05T14:20:22Z"
+ ]
},
"archived": {
"description": "Whether or not the card is archived",
- "example": false,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"column_name": {
"type": "string"
@@ -120164,17 +141669,23 @@
"column_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/columns/367"
+ "examples": [
+ "https://api.github.com/projects/columns/367"
+ ]
},
"content_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/api-playground/projects-test/issues/3"
+ "examples": [
+ "https://api.github.com/repos/api-playground/projects-test/issues/3"
+ ]
},
"project_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/120"
+ "examples": [
+ "https://api.github.com/projects/120"
+ ]
}
},
"required": [
@@ -120348,14 +141859,20 @@
"properties": {
"note": {
"description": "The project card's note",
- "example": "Update all gems",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Update all gems"
+ ]
},
"archived": {
"description": "Whether or not the card is archived",
- "example": false,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ false
+ ]
}
}
}
@@ -120375,156 +141892,220 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/columns/cards/1478"
+ "examples": [
+ "https://api.github.com/projects/columns/cards/1478"
+ ]
},
"id": {
"description": "The project card's ID",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOlByb2plY3RDYXJkMTQ3OA=="
+ "examples": [
+ "MDExOlByb2plY3RDYXJkMTQ3OA=="
+ ]
},
"note": {
- "type": "string",
- "example": "Add payload for delete Project column",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Add payload for delete Project column"
+ ]
},
"creator": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-09-05T14:21:06Z"
+ "examples": [
+ "2016-09-05T14:21:06Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2016-09-05T14:20:22Z"
+ "examples": [
+ "2016-09-05T14:20:22Z"
+ ]
},
"archived": {
"description": "Whether or not the card is archived",
- "example": false,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"column_name": {
"type": "string"
@@ -120535,17 +142116,23 @@
"column_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/columns/367"
+ "examples": [
+ "https://api.github.com/projects/columns/367"
+ ]
},
"content_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/api-playground/projects-test/issues/3"
+ "examples": [
+ "https://api.github.com/repos/api-playground/projects-test/issues/3"
+ ]
},
"project_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/120"
+ "examples": [
+ "https://api.github.com/projects/120"
+ ]
}
},
"required": [
@@ -120863,14 +142450,18 @@
"properties": {
"position": {
"description": "The position of the card in a column. Can be one of: `top`, `bottom`, or `after:` to place after the specified card.",
- "example": "bottom",
"type": "string",
- "pattern": "^(?:top|bottom|after:\\d+)$"
+ "pattern": "^(?:top|bottom|after:\\d+)$",
+ "examples": [
+ "bottom"
+ ]
},
"column_id": {
"description": "The unique identifier of the column the card should be moved to",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
}
},
"required": [
@@ -121042,16 +142633,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -121111,41 +142708,57 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/columns/367"
+ "examples": [
+ "https://api.github.com/projects/columns/367"
+ ]
},
"project_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/120"
+ "examples": [
+ "https://api.github.com/projects/120"
+ ]
},
"cards_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/columns/367/cards"
+ "examples": [
+ "https://api.github.com/projects/columns/367/cards"
+ ]
},
"id": {
"description": "The unique identifier of the project column",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEzOlByb2plY3RDb2x1bW4zNjc="
+ "examples": [
+ "MDEzOlByb2plY3RDb2x1bW4zNjc="
+ ]
},
"name": {
"description": "Name of the project column",
- "example": "Remaining tasks",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Remaining tasks"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-09-05T14:18:44Z"
+ "examples": [
+ "2016-09-05T14:18:44Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2016-09-05T14:22:28Z"
+ "examples": [
+ "2016-09-05T14:22:28Z"
+ ]
}
},
"required": [
@@ -121295,8 +142908,10 @@
"properties": {
"name": {
"description": "Name of the project column",
- "example": "Remaining tasks",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Remaining tasks"
+ ]
}
},
"required": [
@@ -121320,41 +142935,57 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/columns/367"
+ "examples": [
+ "https://api.github.com/projects/columns/367"
+ ]
},
"project_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/120"
+ "examples": [
+ "https://api.github.com/projects/120"
+ ]
},
"cards_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/columns/367/cards"
+ "examples": [
+ "https://api.github.com/projects/columns/367/cards"
+ ]
},
"id": {
"description": "The unique identifier of the project column",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEzOlByb2plY3RDb2x1bW4zNjc="
+ "examples": [
+ "MDEzOlByb2plY3RDb2x1bW4zNjc="
+ ]
},
"name": {
"description": "Name of the project column",
- "example": "Remaining tasks",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Remaining tasks"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-09-05T14:18:44Z"
+ "examples": [
+ "2016-09-05T14:18:44Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2016-09-05T14:22:28Z"
+ "examples": [
+ "2016-09-05T14:22:28Z"
+ ]
}
},
"required": [
@@ -121609,156 +143240,220 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/columns/cards/1478"
+ "examples": [
+ "https://api.github.com/projects/columns/cards/1478"
+ ]
},
"id": {
"description": "The project card's ID",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOlByb2plY3RDYXJkMTQ3OA=="
+ "examples": [
+ "MDExOlByb2plY3RDYXJkMTQ3OA=="
+ ]
},
"note": {
- "type": "string",
- "example": "Add payload for delete Project column",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Add payload for delete Project column"
+ ]
},
"creator": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-09-05T14:21:06Z"
+ "examples": [
+ "2016-09-05T14:21:06Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2016-09-05T14:20:22Z"
+ "examples": [
+ "2016-09-05T14:20:22Z"
+ ]
},
"archived": {
"description": "Whether or not the card is archived",
- "example": false,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"column_name": {
"type": "string"
@@ -121769,17 +143464,23 @@
"column_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/columns/367"
+ "examples": [
+ "https://api.github.com/projects/columns/367"
+ ]
},
"content_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/api-playground/projects-test/issues/3"
+ "examples": [
+ "https://api.github.com/repos/api-playground/projects-test/issues/3"
+ ]
},
"project_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/120"
+ "examples": [
+ "https://api.github.com/projects/120"
+ ]
}
},
"required": [
@@ -121940,9 +143641,13 @@
"properties": {
"note": {
"description": "The project card's note",
- "example": "Update all gems",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Update all gems"
+ ]
}
},
"required": [
@@ -121954,13 +143659,17 @@
"properties": {
"content_id": {
"description": "The unique identifier of the content associated with the card",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"content_type": {
"description": "The piece of content associated with the card",
- "example": "PullRequest",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "PullRequest"
+ ]
}
},
"required": [
@@ -121986,156 +143695,220 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/columns/cards/1478"
+ "examples": [
+ "https://api.github.com/projects/columns/cards/1478"
+ ]
},
"id": {
"description": "The project card's ID",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOlByb2plY3RDYXJkMTQ3OA=="
+ "examples": [
+ "MDExOlByb2plY3RDYXJkMTQ3OA=="
+ ]
},
"note": {
- "type": "string",
- "example": "Add payload for delete Project column",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Add payload for delete Project column"
+ ]
},
"creator": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-09-05T14:21:06Z"
+ "examples": [
+ "2016-09-05T14:21:06Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2016-09-05T14:20:22Z"
+ "examples": [
+ "2016-09-05T14:20:22Z"
+ ]
},
"archived": {
"description": "Whether or not the card is archived",
- "example": false,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"column_name": {
"type": "string"
@@ -122146,17 +143919,23 @@
"column_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/columns/367"
+ "examples": [
+ "https://api.github.com/projects/columns/367"
+ ]
},
"content_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/api-playground/projects-test/issues/3"
+ "examples": [
+ "https://api.github.com/repos/api-playground/projects-test/issues/3"
+ ]
},
"project_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/120"
+ "examples": [
+ "https://api.github.com/projects/120"
+ ]
}
},
"required": [
@@ -122312,16 +144091,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -122436,9 +144221,11 @@
"properties": {
"position": {
"description": "The position of the column in a project. Can be one of: `first`, `last`, or `after:` to place after the specified column.",
- "example": "last",
"type": "string",
- "pattern": "^(?:first|last|after:\\d+)$"
+ "pattern": "^(?:first|last|after:\\d+)$",
+ "examples": [
+ "last"
+ ]
}
},
"required": [
@@ -122592,180 +144379,254 @@
"owner_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/api-playground/projects-test"
+ "examples": [
+ "https://api.github.com/repos/api-playground/projects-test"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/1002604"
+ "examples": [
+ "https://api.github.com/projects/1002604"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/api-playground/projects-test/projects/12"
+ "examples": [
+ "https://github.com/api-playground/projects-test/projects/12"
+ ]
},
"columns_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/1002604/columns"
+ "examples": [
+ "https://api.github.com/projects/1002604/columns"
+ ]
},
"id": {
"type": "integer",
- "example": 1002604
+ "examples": [
+ 1002604
+ ]
},
"node_id": {
"type": "string",
- "example": "MDc6UHJvamVjdDEwMDI2MDQ="
+ "examples": [
+ "MDc6UHJvamVjdDEwMDI2MDQ="
+ ]
},
"name": {
"description": "Name of the project",
- "example": "Week One Sprint",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Week One Sprint"
+ ]
},
"body": {
"description": "Body of the project",
- "example": "This project represents the sprint of the first week in January",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This project represents the sprint of the first week in January"
+ ]
},
"number": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"state": {
"description": "State of the project; either 'open' or 'closed'",
- "example": "open",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "open"
+ ]
},
"creator": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-04-10T20:09:31Z"
+ "examples": [
+ "2011-04-10T20:09:31Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2014-03-03T18:58:10Z"
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
},
"organization_permission": {
"description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.",
@@ -122931,19 +144792,27 @@
"properties": {
"name": {
"description": "Name of the project",
- "example": "Week One Sprint",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Week One Sprint"
+ ]
},
"body": {
"description": "Body of the project",
- "example": "This project represents the sprint of the first week in January",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This project represents the sprint of the first week in January"
+ ]
},
"state": {
"description": "State of the project; either 'open' or 'closed'",
- "example": "open",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "open"
+ ]
},
"organization_permission": {
"description": "The baseline permission that all organization members have on this project",
@@ -122978,180 +144847,254 @@
"owner_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/api-playground/projects-test"
+ "examples": [
+ "https://api.github.com/repos/api-playground/projects-test"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/1002604"
+ "examples": [
+ "https://api.github.com/projects/1002604"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/api-playground/projects-test/projects/12"
+ "examples": [
+ "https://github.com/api-playground/projects-test/projects/12"
+ ]
},
"columns_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/1002604/columns"
+ "examples": [
+ "https://api.github.com/projects/1002604/columns"
+ ]
},
"id": {
"type": "integer",
- "example": 1002604
+ "examples": [
+ 1002604
+ ]
},
"node_id": {
"type": "string",
- "example": "MDc6UHJvamVjdDEwMDI2MDQ="
+ "examples": [
+ "MDc6UHJvamVjdDEwMDI2MDQ="
+ ]
},
"name": {
"description": "Name of the project",
- "example": "Week One Sprint",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Week One Sprint"
+ ]
},
"body": {
"description": "Body of the project",
- "example": "This project represents the sprint of the first week in January",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This project represents the sprint of the first week in January"
+ ]
},
"number": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"state": {
"description": "State of the project; either 'open' or 'closed'",
- "example": "open",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "open"
+ ]
},
"creator": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-04-10T20:09:31Z"
+ "examples": [
+ "2011-04-10T20:09:31Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2014-03-03T18:58:10Z"
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
},
"organization_permission": {
"description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.",
@@ -123552,96 +145495,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -123774,16 +145759,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -123897,7 +145888,10 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"permission": {
"description": "The permission to grant the collaborator.",
@@ -123907,11 +145901,12 @@
"admin"
],
"default": "write",
- "example": "write",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "write"
+ ]
}
- },
- "nullable": true
+ }
}
}
}
@@ -123991,16 +145986,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -124211,16 +146212,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -124314,124 +146321,172 @@
"type": "string"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -124540,16 +146595,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -124683,41 +146744,57 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/columns/367"
+ "examples": [
+ "https://api.github.com/projects/columns/367"
+ ]
},
"project_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/120"
+ "examples": [
+ "https://api.github.com/projects/120"
+ ]
},
"cards_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/columns/367/cards"
+ "examples": [
+ "https://api.github.com/projects/columns/367/cards"
+ ]
},
"id": {
"description": "The unique identifier of the project column",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEzOlByb2plY3RDb2x1bW4zNjc="
+ "examples": [
+ "MDEzOlByb2plY3RDb2x1bW4zNjc="
+ ]
},
"name": {
"description": "Name of the project column",
- "example": "Remaining tasks",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Remaining tasks"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-09-05T14:18:44Z"
+ "examples": [
+ "2016-09-05T14:18:44Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2016-09-05T14:22:28Z"
+ "examples": [
+ "2016-09-05T14:22:28Z"
+ ]
}
},
"required": [
@@ -124851,8 +146928,10 @@
"properties": {
"name": {
"description": "Name of the project column",
- "example": "Remaining tasks",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Remaining tasks"
+ ]
}
},
"required": [
@@ -124876,41 +146955,57 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/columns/367"
+ "examples": [
+ "https://api.github.com/projects/columns/367"
+ ]
},
"project_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/120"
+ "examples": [
+ "https://api.github.com/projects/120"
+ ]
},
"cards_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/projects/columns/367/cards"
+ "examples": [
+ "https://api.github.com/projects/columns/367/cards"
+ ]
},
"id": {
"description": "The unique identifier of the project column",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEzOlByb2plY3RDb2x1bW4zNjc="
+ "examples": [
+ "MDEzOlByb2plY3RDb2x1bW4zNjc="
+ ]
},
"name": {
"description": "Name of the project column",
- "example": "Remaining tasks",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Remaining tasks"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-09-05T14:18:44Z"
+ "examples": [
+ "2016-09-05T14:18:44Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2016-09-05T14:22:28Z"
+ "examples": [
+ "2016-09-05T14:22:28Z"
+ ]
}
},
"required": [
@@ -125435,19 +147530,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -125455,96 +147558,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -125574,12 +147719,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -125587,232 +147738,338 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"octocat",
"atom",
"electron",
@@ -125821,22 +148078,30 @@
},
"has_issues": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"type": "boolean"
@@ -125848,22 +148113,30 @@
"visibility": {
"description": "The repository visibility: public, private, or internal.",
"type": "string",
- "example": "public"
+ "examples": [
+ "public"
+ ]
},
"pushed_at": {
"type": "string",
"format": "date-time",
- "example": "2011-01-26T19:06:43Z"
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-01-26T19:01:12Z"
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2011-01-26T19:14:43Z"
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -125892,58 +148165,1477 @@
},
"allow_rebase_merge": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ {
+ "title": "Repository",
+ "description": "A git repository",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the repository",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
+ },
+ "name": {
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
+ },
+ "full_name": {
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
+ },
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ },
+ "private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
+ },
+ "archive_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
+ },
+ "assignees_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
+ },
+ "blobs_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
+ },
+ "branches_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
+ },
+ "collaborators_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
+ },
+ "comments_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
+ },
+ "commits_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
+ },
+ "compare_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
+ },
+ "contents_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
+ },
+ "contributors_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
+ },
+ "deployments_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
+ },
+ "downloads_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
+ },
+ "forks_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
+ },
+ "git_commits_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
+ },
+ "git_refs_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
+ },
+ "git_tags_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
+ },
+ "git_url": {
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
+ },
+ "issue_comment_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
+ },
+ "issue_events_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
+ },
+ "issues_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
+ },
+ "keys_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
+ },
+ "languages_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
+ },
+ "merges_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
+ },
+ "milestones_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
+ },
+ "notifications_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
+ },
+ "pulls_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
+ },
+ "releases_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
+ },
+ "ssh_url": {
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
+ },
+ "stargazers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
+ },
+ "statuses_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
+ },
+ "subscribers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
+ },
+ "subscription_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
+ },
+ "tags_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
+ },
+ "teams_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
+ },
+ "trees_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
+ },
+ "clone_url": {
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
+ },
+ "mirror_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
+ },
+ "hooks_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
+ },
+ "svn_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
+ },
+ "homepage": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
+ },
+ "language": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "forks_count": {
+ "type": "integer",
+ "examples": [
+ 9
+ ]
+ },
+ "stargazers_count": {
+ "type": "integer",
+ "examples": [
+ 80
+ ]
+ },
+ "watchers_count": {
+ "type": "integer",
+ "examples": [
+ 80
+ ]
+ },
+ "size": {
+ "type": "integer",
+ "examples": [
+ 108
+ ]
+ },
+ "default_branch": {
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
+ },
+ "open_issues_count": {
+ "type": "integer",
+ "examples": [
+ 0
+ ]
+ },
+ "is_template": {
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "has_projects": {
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "has_wiki": {
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
+ },
+ "visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
+ },
+ "created_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
+ },
+ "updated_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
+ },
+ "allow_rebase_merge": {
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_auto_merge": {
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
+ },
+ "delete_branch_on_merge": {
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
+ },
+ "allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
+ }
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ ]
+ },
+ "temp_clone_token": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "allow_squash_merge": {
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_auto_merge": {
+ "type": "boolean",
+ "examples": [
+ false
+ ]
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean",
+ "examples": [
+ false
+ ]
+ },
+ "allow_merge_commit": {
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "subscribers_count": {
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "network_count": {
+ "type": "integer",
+ "examples": [
+ 0
+ ]
+ },
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
+ {
"title": "License Simple",
"description": "License Simple",
"type": "object",
"properties": {
"key": {
"type": "string",
- "example": "mit"
+ "examples": [
+ "mit"
+ ]
},
"name": {
"type": "string",
- "example": "MIT License"
+ "examples": [
+ "MIT License"
+ ]
},
"url": {
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://api.github.com/licenses/mit"
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
},
"spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
},
"html_url": {
"type": "string",
@@ -125956,1240 +149648,177 @@
"url",
"spdx_id",
"node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "full_name": {
- "type": "string"
- },
- "owner": {
- "type": "object",
- "properties": {
- "login": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "avatar_url": {
- "type": "string"
- },
- "gravatar_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "followers_url": {
- "type": "string"
- },
- "following_url": {
- "type": "string"
- },
- "gists_url": {
- "type": "string"
- },
- "starred_url": {
- "type": "string"
- },
- "subscriptions_url": {
- "type": "string"
- },
- "organizations_url": {
- "type": "string"
- },
- "repos_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "received_events_url": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "site_admin": {
- "type": "boolean"
- }
- }
- },
- "private": {
- "type": "boolean"
- },
- "html_url": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string"
- },
- "archive_url": {
- "type": "string"
- },
- "assignees_url": {
- "type": "string"
- },
- "blobs_url": {
- "type": "string"
- },
- "branches_url": {
- "type": "string"
- },
- "collaborators_url": {
- "type": "string"
- },
- "comments_url": {
- "type": "string"
- },
- "commits_url": {
- "type": "string"
- },
- "compare_url": {
- "type": "string"
- },
- "contents_url": {
- "type": "string"
- },
- "contributors_url": {
- "type": "string"
- },
- "deployments_url": {
- "type": "string"
- },
- "downloads_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "forks_url": {
- "type": "string"
- },
- "git_commits_url": {
- "type": "string"
- },
- "git_refs_url": {
- "type": "string"
- },
- "git_tags_url": {
- "type": "string"
- },
- "git_url": {
- "type": "string"
- },
- "issue_comment_url": {
- "type": "string"
- },
- "issue_events_url": {
- "type": "string"
- },
- "issues_url": {
- "type": "string"
- },
- "keys_url": {
- "type": "string"
- },
- "labels_url": {
- "type": "string"
- },
- "languages_url": {
- "type": "string"
- },
- "merges_url": {
- "type": "string"
- },
- "milestones_url": {
- "type": "string"
- },
- "notifications_url": {
- "type": "string"
- },
- "pulls_url": {
- "type": "string"
- },
- "releases_url": {
- "type": "string"
- },
- "ssh_url": {
- "type": "string"
- },
- "stargazers_url": {
- "type": "string"
- },
- "statuses_url": {
- "type": "string"
- },
- "subscribers_url": {
- "type": "string"
- },
- "subscription_url": {
- "type": "string"
- },
- "tags_url": {
- "type": "string"
- },
- "teams_url": {
- "type": "string"
- },
- "trees_url": {
- "type": "string"
- },
- "clone_url": {
- "type": "string"
- },
- "mirror_url": {
- "type": "string"
- },
- "hooks_url": {
- "type": "string"
- },
- "svn_url": {
- "type": "string"
- },
- "homepage": {
- "type": "string"
- },
- "language": {
- "type": "string"
- },
- "forks_count": {
- "type": "integer"
- },
- "stargazers_count": {
- "type": "integer"
- },
- "watchers_count": {
- "type": "integer"
- },
- "size": {
- "type": "integer"
- },
- "default_branch": {
- "type": "string"
- },
- "open_issues_count": {
- "type": "integer"
- },
- "is_template": {
- "type": "boolean"
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "type": "boolean"
- },
- "has_projects": {
- "type": "boolean"
- },
- "has_wiki": {
- "type": "boolean"
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "type": "boolean"
- },
- "archived": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean"
- },
- "visibility": {
- "type": "string"
- },
- "pushed_at": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
- },
- "allow_rebase_merge": {
- "type": "boolean"
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "type": "boolean"
- },
- "allow_auto_merge": {
- "type": "boolean"
- },
- "delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
- },
- "allow_merge_commit": {
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- }
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
- },
- "temp_clone_token": {
- "type": "string",
- "nullable": true
- },
- "allow_squash_merge": {
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "type": "boolean",
- "example": true
- },
- "subscribers_count": {
- "type": "integer",
- "example": 42
- },
- "network_count": {
- "type": "integer",
- "example": 0
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"parent": {
"title": "Repository",
@@ -127198,183 +149827,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -127410,96 +150115,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -127531,12 +150278,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -127544,228 +150297,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -127777,19 +150636,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -127798,7 +150663,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -127815,32 +150682,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -128173,25 +151056,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -128214,7 +151105,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -128300,183 +151193,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -128512,96 +151481,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -128633,12 +151644,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -128646,228 +151663,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -128879,19 +152002,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -128900,7 +152029,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -128917,32 +152048,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -129275,25 +152422,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -129316,7 +152471,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -129420,21 +152577,31 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/github/docs/community/code_of_conduct"
+ "examples": [
+ "https://api.github.com/repos/github/docs/community/code_of_conduct"
+ ]
},
"key": {
"type": "string",
- "example": "citizen_code_of_conduct"
+ "examples": [
+ "citizen_code_of_conduct"
+ ]
},
"name": {
"type": "string",
- "example": "Citizen Code of Conduct"
+ "examples": [
+ "Citizen Code of Conduct"
+ ]
},
"html_url": {
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md"
+ "examples": [
+ "https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md"
+ ]
}
},
"required": [
@@ -129445,8 +152612,10 @@
]
},
"security_and_analysis": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"advanced_security": {
"type": "object",
@@ -130229,9 +153398,11 @@
]
},
"security_and_analysis": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"description": "Specify which security and analysis features to enable or disable. For example, to enable GitHub Advanced Security, use this data in the body of the PATCH request: `{\"security_and_analysis\": {\"advanced_security\": {\"status\": \"enabled\"}}}`. If you have admin permissions for a private repository covered by an Advanced Security license, you can check which security and analysis features are currently enabled by using a `GET /repos/{owner}/{repo}` request.",
- "nullable": true,
"properties": {
"advanced_security": {
"type": "object",
@@ -130350,19 +153521,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -130370,96 +153549,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -130489,12 +153710,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -130502,232 +153729,338 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"octocat",
"atom",
"electron",
@@ -130736,22 +154069,30 @@
},
"has_issues": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"type": "boolean"
@@ -130763,22 +154104,30 @@
"visibility": {
"description": "The repository visibility: public, private, or internal.",
"type": "string",
- "example": "public"
+ "examples": [
+ "public"
+ ]
},
"pushed_at": {
"type": "string",
"format": "date-time",
- "example": "2011-01-26T19:06:43Z"
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-01-26T19:01:12Z"
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2011-01-26T19:14:43Z"
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -130807,58 +154156,1477 @@
},
"allow_rebase_merge": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ {
+ "title": "Repository",
+ "description": "A git repository",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the repository",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
+ },
+ "name": {
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
+ },
+ "full_name": {
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
+ },
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ },
+ "private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
+ },
+ "archive_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
+ },
+ "assignees_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
+ },
+ "blobs_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
+ },
+ "branches_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
+ },
+ "collaborators_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
+ },
+ "comments_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
+ },
+ "commits_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
+ },
+ "compare_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
+ },
+ "contents_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
+ },
+ "contributors_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
+ },
+ "deployments_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
+ },
+ "downloads_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
+ },
+ "forks_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
+ },
+ "git_commits_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
+ },
+ "git_refs_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
+ },
+ "git_tags_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
+ },
+ "git_url": {
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
+ },
+ "issue_comment_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
+ },
+ "issue_events_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
+ },
+ "issues_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
+ },
+ "keys_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
+ },
+ "languages_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
+ },
+ "merges_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
+ },
+ "milestones_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
+ },
+ "notifications_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
+ },
+ "pulls_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
+ },
+ "releases_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
+ },
+ "ssh_url": {
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
+ },
+ "stargazers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
+ },
+ "statuses_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
+ },
+ "subscribers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
+ },
+ "subscription_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
+ },
+ "tags_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
+ },
+ "teams_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
+ },
+ "trees_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
+ },
+ "clone_url": {
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
+ },
+ "mirror_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
+ },
+ "hooks_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
+ },
+ "svn_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
+ },
+ "homepage": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
+ },
+ "language": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "forks_count": {
+ "type": "integer",
+ "examples": [
+ 9
+ ]
+ },
+ "stargazers_count": {
+ "type": "integer",
+ "examples": [
+ 80
+ ]
+ },
+ "watchers_count": {
+ "type": "integer",
+ "examples": [
+ 80
+ ]
+ },
+ "size": {
+ "type": "integer",
+ "examples": [
+ 108
+ ]
+ },
+ "default_branch": {
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
+ },
+ "open_issues_count": {
+ "type": "integer",
+ "examples": [
+ 0
+ ]
+ },
+ "is_template": {
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "has_projects": {
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "has_wiki": {
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
+ },
+ "visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
+ },
+ "created_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
+ },
+ "updated_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
+ },
+ "allow_rebase_merge": {
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_auto_merge": {
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
+ },
+ "delete_branch_on_merge": {
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
+ },
+ "allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
+ }
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ ]
+ },
+ "temp_clone_token": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "allow_squash_merge": {
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_auto_merge": {
+ "type": "boolean",
+ "examples": [
+ false
+ ]
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean",
+ "examples": [
+ false
+ ]
+ },
+ "allow_merge_commit": {
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "subscribers_count": {
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "network_count": {
+ "type": "integer",
+ "examples": [
+ 0
+ ]
+ },
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
+ {
"title": "License Simple",
"description": "License Simple",
"type": "object",
"properties": {
"key": {
"type": "string",
- "example": "mit"
+ "examples": [
+ "mit"
+ ]
},
"name": {
"type": "string",
- "example": "MIT License"
+ "examples": [
+ "MIT License"
+ ]
},
"url": {
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://api.github.com/licenses/mit"
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
},
"spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
},
"html_url": {
"type": "string",
@@ -130871,1240 +155639,177 @@
"url",
"spdx_id",
"node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "full_name": {
- "type": "string"
- },
- "owner": {
- "type": "object",
- "properties": {
- "login": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "avatar_url": {
- "type": "string"
- },
- "gravatar_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "followers_url": {
- "type": "string"
- },
- "following_url": {
- "type": "string"
- },
- "gists_url": {
- "type": "string"
- },
- "starred_url": {
- "type": "string"
- },
- "subscriptions_url": {
- "type": "string"
- },
- "organizations_url": {
- "type": "string"
- },
- "repos_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "received_events_url": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "site_admin": {
- "type": "boolean"
- }
- }
- },
- "private": {
- "type": "boolean"
- },
- "html_url": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string"
- },
- "archive_url": {
- "type": "string"
- },
- "assignees_url": {
- "type": "string"
- },
- "blobs_url": {
- "type": "string"
- },
- "branches_url": {
- "type": "string"
- },
- "collaborators_url": {
- "type": "string"
- },
- "comments_url": {
- "type": "string"
- },
- "commits_url": {
- "type": "string"
- },
- "compare_url": {
- "type": "string"
- },
- "contents_url": {
- "type": "string"
- },
- "contributors_url": {
- "type": "string"
- },
- "deployments_url": {
- "type": "string"
- },
- "downloads_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "forks_url": {
- "type": "string"
- },
- "git_commits_url": {
- "type": "string"
- },
- "git_refs_url": {
- "type": "string"
- },
- "git_tags_url": {
- "type": "string"
- },
- "git_url": {
- "type": "string"
- },
- "issue_comment_url": {
- "type": "string"
- },
- "issue_events_url": {
- "type": "string"
- },
- "issues_url": {
- "type": "string"
- },
- "keys_url": {
- "type": "string"
- },
- "labels_url": {
- "type": "string"
- },
- "languages_url": {
- "type": "string"
- },
- "merges_url": {
- "type": "string"
- },
- "milestones_url": {
- "type": "string"
- },
- "notifications_url": {
- "type": "string"
- },
- "pulls_url": {
- "type": "string"
- },
- "releases_url": {
- "type": "string"
- },
- "ssh_url": {
- "type": "string"
- },
- "stargazers_url": {
- "type": "string"
- },
- "statuses_url": {
- "type": "string"
- },
- "subscribers_url": {
- "type": "string"
- },
- "subscription_url": {
- "type": "string"
- },
- "tags_url": {
- "type": "string"
- },
- "teams_url": {
- "type": "string"
- },
- "trees_url": {
- "type": "string"
- },
- "clone_url": {
- "type": "string"
- },
- "mirror_url": {
- "type": "string"
- },
- "hooks_url": {
- "type": "string"
- },
- "svn_url": {
- "type": "string"
- },
- "homepage": {
- "type": "string"
- },
- "language": {
- "type": "string"
- },
- "forks_count": {
- "type": "integer"
- },
- "stargazers_count": {
- "type": "integer"
- },
- "watchers_count": {
- "type": "integer"
- },
- "size": {
- "type": "integer"
- },
- "default_branch": {
- "type": "string"
- },
- "open_issues_count": {
- "type": "integer"
- },
- "is_template": {
- "type": "boolean"
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "type": "boolean"
- },
- "has_projects": {
- "type": "boolean"
- },
- "has_wiki": {
- "type": "boolean"
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "type": "boolean"
- },
- "archived": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean"
- },
- "visibility": {
- "type": "string"
- },
- "pushed_at": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
- },
- "allow_rebase_merge": {
- "type": "boolean"
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "type": "boolean"
- },
- "allow_auto_merge": {
- "type": "boolean"
- },
- "delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
- },
- "allow_merge_commit": {
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- }
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
- },
- "temp_clone_token": {
- "type": "string",
- "nullable": true
- },
- "allow_squash_merge": {
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "type": "boolean",
- "example": true
- },
- "subscribers_count": {
- "type": "integer",
- "example": 42
- },
- "network_count": {
- "type": "integer",
- "example": 0
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"parent": {
"title": "Repository",
@@ -132113,183 +155818,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -132325,96 +156106,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -132446,12 +156269,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -132459,228 +156288,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -132692,19 +156627,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -132713,7 +156654,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -132730,32 +156673,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -133088,25 +157047,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -133129,7 +157096,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -133215,183 +157184,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -133427,96 +157472,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -133548,12 +157635,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -133561,228 +157654,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -133794,19 +157993,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -133815,7 +158020,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -133832,32 +158039,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -134190,25 +158413,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -134231,7 +158462,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -134335,21 +158568,31 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/github/docs/community/code_of_conduct"
+ "examples": [
+ "https://api.github.com/repos/github/docs/community/code_of_conduct"
+ ]
},
"key": {
"type": "string",
- "example": "citizen_code_of_conduct"
+ "examples": [
+ "citizen_code_of_conduct"
+ ]
},
"name": {
"type": "string",
- "example": "Citizen Code of Conduct"
+ "examples": [
+ "Citizen Code of Conduct"
+ ]
},
"html_url": {
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md"
+ "examples": [
+ "https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md"
+ ]
}
},
"required": [
@@ -134360,8 +158603,10 @@
]
},
"security_and_analysis": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"advanced_security": {
"type": "object",
@@ -135093,16 +159338,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -135339,48 +159590,66 @@
"properties": {
"id": {
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOkNoZWNrU3VpdGU1"
+ "examples": [
+ "MDEwOkNoZWNrU3VpdGU1"
+ ]
},
"name": {
"description": "The name of the artifact.",
"type": "string",
- "example": "AdventureWorks.Framework"
+ "examples": [
+ "AdventureWorks.Framework"
+ ]
},
"size_in_bytes": {
"description": "The size in bytes of the artifact.",
"type": "integer",
- "example": 12345
+ "examples": [
+ 12345
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/artifacts/5"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/artifacts/5"
+ ]
},
"archive_download_url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/artifacts/5/zip"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/artifacts/5/zip"
+ ]
},
"expired": {
"description": "Whether or not the artifact has expired.",
"type": "boolean"
},
"created_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"expires_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"updated_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
}
},
"required": [
@@ -135503,48 +159772,66 @@
"properties": {
"id": {
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOkNoZWNrU3VpdGU1"
+ "examples": [
+ "MDEwOkNoZWNrU3VpdGU1"
+ ]
},
"name": {
"description": "The name of the artifact.",
"type": "string",
- "example": "AdventureWorks.Framework"
+ "examples": [
+ "AdventureWorks.Framework"
+ ]
},
"size_in_bytes": {
"description": "The size in bytes of the artifact.",
"type": "integer",
- "example": 12345
+ "examples": [
+ 12345
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/artifacts/5"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/artifacts/5"
+ ]
},
"archive_download_url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/artifacts/5/zip"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/artifacts/5/zip"
+ ]
},
"expired": {
"description": "Whether or not the artifact has expired.",
"type": "boolean"
},
"created_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"expires_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"updated_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
}
},
"required": [
@@ -135749,17 +160036,23 @@
"full_name": {
"description": "The repository owner and name for the cache usage being shown.",
"type": "string",
- "example": "octo-org/Hello-World"
+ "examples": [
+ "octo-org/Hello-World"
+ ]
},
"active_caches_size_in_bytes": {
"description": "The sum of the size in bytes of all the active cache items in the repository.",
"type": "integer",
- "example": 2322142
+ "examples": [
+ 2322142
+ ]
},
"active_caches_count": {
"description": "The number of active caches in the repository.",
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
}
},
"required": [
@@ -135840,74 +160133,106 @@
"properties": {
"id": {
"description": "The id of the job.",
- "example": 21,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 21
+ ]
},
"run_id": {
"description": "The id of the associated workflow run.",
- "example": 5,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 5
+ ]
},
"run_url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5"
+ ]
},
"run_attempt": {
"type": "integer",
"description": "Attempt number of the associated workflow run, 1 for first attempt and higher if the workflow was re-run.",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6Q2hlY2tSdW40"
+ "examples": [
+ "MDg6Q2hlY2tSdW40"
+ ]
},
"head_sha": {
"description": "The SHA of the commit that is being run.",
- "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/jobs/21"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/jobs/21"
+ ]
},
"html_url": {
- "type": "string",
- "example": "https://github.com/github/hello-world/runs/4",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://github.com/github/hello-world/runs/4"
+ ]
},
"status": {
"description": "The phase of the lifecycle that the job is currently in.",
- "example": "queued",
"type": "string",
"enum": [
"queued",
"in_progress",
"completed"
+ ],
+ "examples": [
+ "queued"
]
},
"conclusion": {
"description": "The outcome of the job.",
- "example": "success",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "success"
+ ]
},
"started_at": {
"description": "The time that the job started, in ISO 8601 format.",
- "example": "2019-08-08T08:00:00-07:00",
"format": "date-time",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "2019-08-08T08:00:00-07:00"
+ ]
},
"completed_at": {
"description": "The time that the job finished, in ISO 8601 format.",
- "example": "2019-08-08T08:00:00-07:00",
"format": "date-time",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "2019-08-08T08:00:00-07:00"
+ ]
},
"name": {
"description": "The name of the job.",
- "example": "test-coverage",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "test-coverage"
+ ]
},
"steps": {
"description": "Steps in this job.",
@@ -135923,49 +160248,69 @@
"properties": {
"status": {
"description": "The phase of the lifecycle that the job is currently in.",
- "example": "queued",
"type": "string",
"enum": [
"queued",
"in_progress",
"completed"
+ ],
+ "examples": [
+ "queued"
]
},
"conclusion": {
"description": "The outcome of the job.",
- "example": "success",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "success"
+ ]
},
"name": {
"description": "The name of the job.",
- "example": "test-coverage",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "test-coverage"
+ ]
},
"number": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"started_at": {
"description": "The time that the step started, in ISO 8601 format.",
- "example": "2019-08-08T08:00:00-07:00",
"format": "date-time",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "2019-08-08T08:00:00-07:00"
+ ]
},
"completed_at": {
"description": "The time that the job finished, in ISO 8601 format.",
- "example": "2019-08-08T08:00:00-07:00",
"format": "date-time",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "2019-08-08T08:00:00-07:00"
+ ]
}
}
}
},
"check_run_url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/check-runs/4"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/check-runs/4"
+ ]
},
"labels": {
"type": "array",
@@ -135973,35 +160318,51 @@
"type": "string"
},
"description": "Labels for the workflow job. Specified by the \"runs_on\" attribute in the action's workflow file.",
- "example": [
+ "examples": [
"self-hosted",
"foo",
"bar"
]
},
"runner_id": {
- "type": "integer",
- "nullable": true,
- "example": 1,
- "description": "The ID of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)"
+ "type": [
+ "integer",
+ "null"
+ ],
+ "description": "The ID of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)",
+ "examples": [
+ 1
+ ]
},
"runner_name": {
- "type": "string",
- "nullable": true,
- "example": "my runner",
- "description": "The name of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)"
+ "type": [
+ "string",
+ "null"
+ ],
+ "description": "The name of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)",
+ "examples": [
+ "my runner"
+ ]
},
"runner_group_id": {
- "type": "integer",
- "nullable": true,
- "example": 2,
- "description": "The ID of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)"
+ "type": [
+ "integer",
+ "null"
+ ],
+ "description": "The ID of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)",
+ "examples": [
+ 2
+ ]
},
"runner_group_name": {
- "type": "string",
- "nullable": true,
- "example": "my runner group",
- "description": "The name of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)"
+ "type": [
+ "string",
+ "null"
+ ],
+ "description": "The name of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)",
+ "examples": [
+ "my runner group"
+ ]
}
},
"required": [
@@ -136832,22 +161193,30 @@
"id": {
"description": "The id of the runner.",
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"name": {
"description": "The name of the runner.",
"type": "string",
- "example": "iMac"
+ "examples": [
+ "iMac"
+ ]
},
"os": {
"description": "The Operating System of the runner.",
"type": "string",
- "example": "macos"
+ "examples": [
+ "macos"
+ ]
},
"status": {
"description": "The status of the runner.",
"type": "string",
- "example": "online"
+ "examples": [
+ "online"
+ ]
},
"busy": {
"type": "boolean"
@@ -137137,20 +161506,26 @@
"token": {
"description": "The token used for authentication",
"type": "string",
- "example": "v1.1f699f1069f60xxx"
+ "examples": [
+ "v1.1f699f1069f60xxx"
+ ]
},
"expires_at": {
"description": "The time this token expires",
"type": "string",
"format": "date-time",
- "example": "2016-07-11T22:14:10Z"
+ "examples": [
+ "2016-07-11T22:14:10Z"
+ ]
},
"permissions": {
"type": "object",
- "example": {
- "issues": "read",
- "deployments": "write"
- }
+ "examples": [
+ {
+ "issues": "read",
+ "deployments": "write"
+ }
+ ]
},
"repositories": {
"description": "The repositories this token has access to",
@@ -137162,183 +161537,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -137374,96 +161825,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -137495,12 +161988,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -137508,228 +162007,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -137741,19 +162346,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -137762,7 +162373,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -137779,32 +162392,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -138137,25 +162766,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -138178,7 +162815,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -138259,9 +162898,13 @@
}
},
"single_file": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
},
"repository_selection": {
"description": "Describe whether all repositories have been selected or there's a selection involved",
@@ -138340,20 +162983,26 @@
"token": {
"description": "The token used for authentication",
"type": "string",
- "example": "v1.1f699f1069f60xxx"
+ "examples": [
+ "v1.1f699f1069f60xxx"
+ ]
},
"expires_at": {
"description": "The time this token expires",
"type": "string",
"format": "date-time",
- "example": "2016-07-11T22:14:10Z"
+ "examples": [
+ "2016-07-11T22:14:10Z"
+ ]
},
"permissions": {
"type": "object",
- "example": {
- "issues": "read",
- "deployments": "write"
- }
+ "examples": [
+ {
+ "issues": "read",
+ "deployments": "write"
+ }
+ ]
},
"repositories": {
"description": "The repositories this token has access to",
@@ -138365,183 +163014,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -138577,96 +163302,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -138698,12 +163465,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -138711,228 +163484,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -138944,19 +163823,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -138965,7 +163850,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -138982,32 +163869,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -139340,25 +164243,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -139381,7 +164292,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -139462,9 +164375,13 @@
}
},
"single_file": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
},
"repository_selection": {
"description": "Describe whether all repositories have been selected or there's a selection involved",
@@ -139552,22 +164469,30 @@
"id": {
"description": "The id of the runner.",
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"name": {
"description": "The name of the runner.",
"type": "string",
- "example": "iMac"
+ "examples": [
+ "iMac"
+ ]
},
"os": {
"description": "The Operating System of the runner.",
"type": "string",
- "example": "macos"
+ "examples": [
+ "macos"
+ ]
},
"status": {
"description": "The status of the runner.",
"type": "string",
- "example": "online"
+ "examples": [
+ "online"
+ ]
},
"busy": {
"type": "boolean"
@@ -140766,79 +165691,119 @@
"id": {
"type": "integer",
"description": "The ID of the workflow run.",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"name": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The name of the workflow run.",
- "nullable": true,
- "example": "Build"
+ "examples": [
+ "Build"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOkNoZWNrU3VpdGU1"
+ "examples": [
+ "MDEwOkNoZWNrU3VpdGU1"
+ ]
},
"check_suite_id": {
"type": "integer",
"description": "The ID of the associated check suite.",
- "example": 42
+ "examples": [
+ 42
+ ]
},
"check_suite_node_id": {
"type": "string",
"description": "The node ID of the associated check suite.",
- "example": "MDEwOkNoZWNrU3VpdGU0Mg=="
+ "examples": [
+ "MDEwOkNoZWNrU3VpdGU0Mg=="
+ ]
},
"head_branch": {
- "type": "string",
- "nullable": true,
- "example": "master"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "master"
+ ]
},
"head_sha": {
"description": "The SHA of the head commit that points to the version of the workflow being run.",
- "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"
+ ]
},
"run_number": {
"type": "integer",
"description": "The auto incrementing run number for the workflow run.",
- "example": 106
+ "examples": [
+ 106
+ ]
},
"run_attempt": {
"type": "integer",
"description": "Attempt number of the run, 1 for first attempt and higher if the workflow was re-run.",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"event": {
"type": "string",
- "example": "push"
+ "examples": [
+ "push"
+ ]
},
"status": {
- "type": "string",
- "nullable": true,
- "example": "completed"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "completed"
+ ]
},
"conclusion": {
- "type": "string",
- "nullable": true,
- "example": "neutral"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "neutral"
+ ]
},
"workflow_id": {
"type": "integer",
"description": "The ID of the parent workflow.",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"url": {
"type": "string",
"description": "The URL to the workflow run.",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5"
+ ]
},
"html_url": {
"type": "string",
- "example": "https://github.com/github/hello-world/suites/4"
+ "examples": [
+ "https://github.com/github/hello-world/suites/4"
+ ]
},
"pull_requests": {
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -140946,96 +165911,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -141065,96 +166072,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -141186,104 +166235,132 @@
"jobs_url": {
"description": "The URL to the jobs for the workflow run.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/jobs"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/jobs"
+ ]
},
"logs_url": {
"description": "The URL to download the logs for the workflow run.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/logs"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/logs"
+ ]
},
"check_suite_url": {
"description": "The URL to the associated check suite.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/check-suites/12"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/check-suites/12"
+ ]
},
"artifacts_url": {
"description": "The URL to the artifacts for the workflow run.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/rerun/artifacts"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/rerun/artifacts"
+ ]
},
"cancel_url": {
"description": "The URL to cancel the workflow run.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/cancel"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/cancel"
+ ]
},
"rerun_url": {
"description": "The URL to rerun the workflow run.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/rerun"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/rerun"
+ ]
},
"previous_attempt_url": {
- "nullable": true,
"description": "The URL to the previous attempted run of this workflow, if one exists.",
- "type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/attempts/3"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/attempts/3"
+ ]
},
"workflow_url": {
"description": "The URL to the workflow.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/workflows/main.yaml"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/workflows/main.yaml"
+ ]
},
"head_commit": {
- "title": "Simple Commit",
- "description": "Simple Commit",
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "tree_id": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "author": {
+ {
+ "title": "Simple Commit",
+ "description": "Simple Commit",
"type": "object",
"properties": {
- "name": {
+ "id": {
"type": "string"
},
- "email": {
+ "tree_id": {
"type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "author": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "email"
+ ]
+ },
+ "committer": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "email"
+ ]
}
},
"required": [
- "name",
- "email"
- ],
- "nullable": true
- },
- "committer": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "email": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "email"
- ],
- "nullable": true
+ "id",
+ "tree_id",
+ "message",
+ "timestamp",
+ "author",
+ "committer"
+ ]
}
- },
- "required": [
- "id",
- "tree_id",
- "message",
- "timestamp",
- "author",
- "committer"
- ],
- "nullable": true
+ ]
},
"repository": {
"title": "Minimal Repository",
@@ -141292,19 +166369,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -141312,96 +166397,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -141431,12 +166558,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -141444,129 +166577,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -141574,58 +166765,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -141679,22 +166892,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -141718,894 +166943,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -142614,77 +167765,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -142692,136 +168225,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -142842,25 +168339,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -142871,7 +168378,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -142888,20 +168398,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -142963,19 +168478,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -142983,96 +168506,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -143102,12 +168667,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -143115,129 +168686,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -143245,58 +168874,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -143350,22 +169001,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -143389,894 +169052,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -144285,77 +169874,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -144363,136 +170334,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -144513,25 +170448,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -144542,7 +170487,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -144559,20 +170507,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -144629,7 +170582,9 @@
},
"head_repository_id": {
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
}
},
"required": [
@@ -144973,79 +170928,119 @@
"id": {
"type": "integer",
"description": "The ID of the workflow run.",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"name": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The name of the workflow run.",
- "nullable": true,
- "example": "Build"
+ "examples": [
+ "Build"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOkNoZWNrU3VpdGU1"
+ "examples": [
+ "MDEwOkNoZWNrU3VpdGU1"
+ ]
},
"check_suite_id": {
"type": "integer",
"description": "The ID of the associated check suite.",
- "example": 42
+ "examples": [
+ 42
+ ]
},
"check_suite_node_id": {
"type": "string",
"description": "The node ID of the associated check suite.",
- "example": "MDEwOkNoZWNrU3VpdGU0Mg=="
+ "examples": [
+ "MDEwOkNoZWNrU3VpdGU0Mg=="
+ ]
},
"head_branch": {
- "type": "string",
- "nullable": true,
- "example": "master"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "master"
+ ]
},
"head_sha": {
"description": "The SHA of the head commit that points to the version of the workflow being run.",
- "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"
+ ]
},
"run_number": {
"type": "integer",
"description": "The auto incrementing run number for the workflow run.",
- "example": 106
+ "examples": [
+ 106
+ ]
},
"run_attempt": {
"type": "integer",
"description": "Attempt number of the run, 1 for first attempt and higher if the workflow was re-run.",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"event": {
"type": "string",
- "example": "push"
+ "examples": [
+ "push"
+ ]
},
"status": {
- "type": "string",
- "nullable": true,
- "example": "completed"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "completed"
+ ]
},
"conclusion": {
- "type": "string",
- "nullable": true,
- "example": "neutral"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "neutral"
+ ]
},
"workflow_id": {
"type": "integer",
"description": "The ID of the parent workflow.",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"url": {
"type": "string",
"description": "The URL to the workflow run.",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5"
+ ]
},
"html_url": {
"type": "string",
- "example": "https://github.com/github/hello-world/suites/4"
+ "examples": [
+ "https://github.com/github/hello-world/suites/4"
+ ]
},
"pull_requests": {
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -145153,96 +171148,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -145272,96 +171309,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -145393,104 +171472,132 @@
"jobs_url": {
"description": "The URL to the jobs for the workflow run.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/jobs"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/jobs"
+ ]
},
"logs_url": {
"description": "The URL to download the logs for the workflow run.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/logs"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/logs"
+ ]
},
"check_suite_url": {
"description": "The URL to the associated check suite.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/check-suites/12"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/check-suites/12"
+ ]
},
"artifacts_url": {
"description": "The URL to the artifacts for the workflow run.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/rerun/artifacts"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/rerun/artifacts"
+ ]
},
"cancel_url": {
"description": "The URL to cancel the workflow run.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/cancel"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/cancel"
+ ]
},
"rerun_url": {
"description": "The URL to rerun the workflow run.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/rerun"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/rerun"
+ ]
},
"previous_attempt_url": {
- "nullable": true,
"description": "The URL to the previous attempted run of this workflow, if one exists.",
- "type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/attempts/3"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/attempts/3"
+ ]
},
"workflow_url": {
"description": "The URL to the workflow.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/workflows/main.yaml"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/workflows/main.yaml"
+ ]
},
"head_commit": {
- "title": "Simple Commit",
- "description": "Simple Commit",
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "tree_id": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "author": {
+ {
+ "title": "Simple Commit",
+ "description": "Simple Commit",
"type": "object",
"properties": {
- "name": {
+ "id": {
"type": "string"
},
- "email": {
+ "tree_id": {
"type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "author": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "email"
+ ]
+ },
+ "committer": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "email"
+ ]
}
},
"required": [
- "name",
- "email"
- ],
- "nullable": true
- },
- "committer": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "email": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "email"
- ],
- "nullable": true
+ "id",
+ "tree_id",
+ "message",
+ "timestamp",
+ "author",
+ "committer"
+ ]
}
- },
- "required": [
- "id",
- "tree_id",
- "message",
- "timestamp",
- "author",
- "committer"
- ],
- "nullable": true
+ ]
},
"repository": {
"title": "Minimal Repository",
@@ -145499,19 +171606,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -145519,96 +171634,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -145638,12 +171795,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -145651,129 +171814,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -145781,58 +172002,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -145886,22 +172129,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -145925,894 +172180,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -146821,77 +173002,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -146899,136 +173462,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -147049,25 +173576,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -147078,7 +173615,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -147095,20 +173635,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -147170,19 +173715,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -147190,96 +173743,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -147309,12 +173904,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -147322,129 +173923,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -147452,58 +174111,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -147557,22 +174238,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -147596,894 +174289,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -148492,77 +175111,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -148570,136 +175571,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -148720,25 +175685,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -148749,7 +175724,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -148766,20 +175744,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -148836,7 +175819,9 @@
},
"head_repository_id": {
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
}
},
"required": [
@@ -149211,37 +176196,51 @@
"properties": {
"id": {
"description": "The id of the environment.",
- "example": 56780428,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 56780428
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOkVudmlyb25tZW50NTY3ODA0Mjg="
+ "examples": [
+ "MDExOkVudmlyb25tZW50NTY3ODA0Mjg="
+ ]
},
"name": {
"description": "The name of the environment.",
- "example": "staging",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "staging"
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/environments/staging"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/environments/staging"
+ ]
},
"html_url": {
"type": "string",
- "example": "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging"
+ "examples": [
+ "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging"
+ ]
},
"created_at": {
"description": "The time that the environment was created, in ISO 8601 format.",
- "example": "2020-11-23T22:00:40Z",
"format": "date-time",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "2020-11-23T22:00:40Z"
+ ]
},
"updated_at": {
"description": "The time that the environment was last updated, in ISO 8601 format.",
- "example": "2020-11-23T22:00:40Z",
"format": "date-time",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "2020-11-23T22:00:40Z"
+ ]
}
}
}
@@ -149252,8 +176251,10 @@
"approved",
"rejected"
],
- "example": "approved",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "approved"
+ ]
},
"user": {
"title": "Simple User",
@@ -149261,96 +176262,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -149377,7 +176420,9 @@
"comment": {
"type": "string",
"description": "The comment submitted with the deployment review",
- "example": "Ship it!"
+ "examples": [
+ "Ship it!"
+ ]
}
},
"required": [
@@ -149638,48 +176683,66 @@
"properties": {
"id": {
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOkNoZWNrU3VpdGU1"
+ "examples": [
+ "MDEwOkNoZWNrU3VpdGU1"
+ ]
},
"name": {
"description": "The name of the artifact.",
"type": "string",
- "example": "AdventureWorks.Framework"
+ "examples": [
+ "AdventureWorks.Framework"
+ ]
},
"size_in_bytes": {
"description": "The size in bytes of the artifact.",
"type": "integer",
- "example": 12345
+ "examples": [
+ 12345
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/artifacts/5"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/artifacts/5"
+ ]
},
"archive_download_url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/artifacts/5/zip"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/artifacts/5/zip"
+ ]
},
"expired": {
"description": "Whether or not the artifact has expired.",
"type": "boolean"
},
"created_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"expires_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"updated_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
}
},
"required": [
@@ -149822,79 +176885,119 @@
"id": {
"type": "integer",
"description": "The ID of the workflow run.",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"name": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The name of the workflow run.",
- "nullable": true,
- "example": "Build"
+ "examples": [
+ "Build"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOkNoZWNrU3VpdGU1"
+ "examples": [
+ "MDEwOkNoZWNrU3VpdGU1"
+ ]
},
"check_suite_id": {
"type": "integer",
"description": "The ID of the associated check suite.",
- "example": 42
+ "examples": [
+ 42
+ ]
},
"check_suite_node_id": {
"type": "string",
"description": "The node ID of the associated check suite.",
- "example": "MDEwOkNoZWNrU3VpdGU0Mg=="
+ "examples": [
+ "MDEwOkNoZWNrU3VpdGU0Mg=="
+ ]
},
"head_branch": {
- "type": "string",
- "nullable": true,
- "example": "master"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "master"
+ ]
},
"head_sha": {
"description": "The SHA of the head commit that points to the version of the workflow being run.",
- "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"
+ ]
},
"run_number": {
"type": "integer",
"description": "The auto incrementing run number for the workflow run.",
- "example": 106
+ "examples": [
+ 106
+ ]
},
"run_attempt": {
"type": "integer",
"description": "Attempt number of the run, 1 for first attempt and higher if the workflow was re-run.",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"event": {
"type": "string",
- "example": "push"
+ "examples": [
+ "push"
+ ]
},
"status": {
- "type": "string",
- "nullable": true,
- "example": "completed"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "completed"
+ ]
},
"conclusion": {
- "type": "string",
- "nullable": true,
- "example": "neutral"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "neutral"
+ ]
},
"workflow_id": {
"type": "integer",
"description": "The ID of the parent workflow.",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"url": {
"type": "string",
"description": "The URL to the workflow run.",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5"
+ ]
},
"html_url": {
"type": "string",
- "example": "https://github.com/github/hello-world/suites/4"
+ "examples": [
+ "https://github.com/github/hello-world/suites/4"
+ ]
},
"pull_requests": {
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -150002,96 +177105,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -150121,96 +177266,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -150242,104 +177429,132 @@
"jobs_url": {
"description": "The URL to the jobs for the workflow run.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/jobs"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/jobs"
+ ]
},
"logs_url": {
"description": "The URL to download the logs for the workflow run.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/logs"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/logs"
+ ]
},
"check_suite_url": {
"description": "The URL to the associated check suite.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/check-suites/12"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/check-suites/12"
+ ]
},
"artifacts_url": {
"description": "The URL to the artifacts for the workflow run.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/rerun/artifacts"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/rerun/artifacts"
+ ]
},
"cancel_url": {
"description": "The URL to cancel the workflow run.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/cancel"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/cancel"
+ ]
},
"rerun_url": {
"description": "The URL to rerun the workflow run.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/rerun"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/rerun"
+ ]
},
"previous_attempt_url": {
- "nullable": true,
"description": "The URL to the previous attempted run of this workflow, if one exists.",
- "type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/attempts/3"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/attempts/3"
+ ]
},
"workflow_url": {
"description": "The URL to the workflow.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/workflows/main.yaml"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/workflows/main.yaml"
+ ]
},
"head_commit": {
- "title": "Simple Commit",
- "description": "Simple Commit",
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "tree_id": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "author": {
+ {
+ "title": "Simple Commit",
+ "description": "Simple Commit",
"type": "object",
"properties": {
- "name": {
+ "id": {
"type": "string"
},
- "email": {
+ "tree_id": {
"type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "author": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "email"
+ ]
+ },
+ "committer": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "email"
+ ]
}
},
"required": [
- "name",
- "email"
- ],
- "nullable": true
- },
- "committer": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "email": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "email"
- ],
- "nullable": true
+ "id",
+ "tree_id",
+ "message",
+ "timestamp",
+ "author",
+ "committer"
+ ]
}
- },
- "required": [
- "id",
- "tree_id",
- "message",
- "timestamp",
- "author",
- "committer"
- ],
- "nullable": true
+ ]
},
"repository": {
"title": "Minimal Repository",
@@ -150348,19 +177563,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -150368,96 +177591,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -150487,12 +177752,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -150500,129 +177771,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -150630,58 +177959,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -150735,22 +178086,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -150774,894 +178137,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -151670,77 +178959,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -151748,136 +179419,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -151898,25 +179533,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -151927,7 +179572,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -151944,20 +179592,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -152019,19 +179672,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -152039,96 +179700,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -152158,12 +179861,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -152171,129 +179880,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -152301,58 +180068,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -152406,22 +180195,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -152445,894 +180246,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -153341,77 +181068,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -153419,136 +181528,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -153569,25 +181642,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -153598,7 +181681,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -153615,20 +181701,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -153685,7 +181776,9 @@
},
"head_repository_id": {
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
}
},
"required": [
@@ -154041,74 +182134,106 @@
"properties": {
"id": {
"description": "The id of the job.",
- "example": 21,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 21
+ ]
},
"run_id": {
"description": "The id of the associated workflow run.",
- "example": 5,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 5
+ ]
},
"run_url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5"
+ ]
},
"run_attempt": {
"type": "integer",
"description": "Attempt number of the associated workflow run, 1 for first attempt and higher if the workflow was re-run.",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6Q2hlY2tSdW40"
+ "examples": [
+ "MDg6Q2hlY2tSdW40"
+ ]
},
"head_sha": {
"description": "The SHA of the commit that is being run.",
- "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/jobs/21"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/jobs/21"
+ ]
},
"html_url": {
- "type": "string",
- "example": "https://github.com/github/hello-world/runs/4",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://github.com/github/hello-world/runs/4"
+ ]
},
"status": {
"description": "The phase of the lifecycle that the job is currently in.",
- "example": "queued",
"type": "string",
"enum": [
"queued",
"in_progress",
"completed"
+ ],
+ "examples": [
+ "queued"
]
},
"conclusion": {
"description": "The outcome of the job.",
- "example": "success",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "success"
+ ]
},
"started_at": {
"description": "The time that the job started, in ISO 8601 format.",
- "example": "2019-08-08T08:00:00-07:00",
"format": "date-time",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "2019-08-08T08:00:00-07:00"
+ ]
},
"completed_at": {
"description": "The time that the job finished, in ISO 8601 format.",
- "example": "2019-08-08T08:00:00-07:00",
"format": "date-time",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "2019-08-08T08:00:00-07:00"
+ ]
},
"name": {
"description": "The name of the job.",
- "example": "test-coverage",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "test-coverage"
+ ]
},
"steps": {
"description": "Steps in this job.",
@@ -154124,49 +182249,69 @@
"properties": {
"status": {
"description": "The phase of the lifecycle that the job is currently in.",
- "example": "queued",
"type": "string",
"enum": [
"queued",
"in_progress",
"completed"
+ ],
+ "examples": [
+ "queued"
]
},
"conclusion": {
"description": "The outcome of the job.",
- "example": "success",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "success"
+ ]
},
"name": {
"description": "The name of the job.",
- "example": "test-coverage",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "test-coverage"
+ ]
},
"number": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"started_at": {
"description": "The time that the step started, in ISO 8601 format.",
- "example": "2019-08-08T08:00:00-07:00",
"format": "date-time",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "2019-08-08T08:00:00-07:00"
+ ]
},
"completed_at": {
"description": "The time that the job finished, in ISO 8601 format.",
- "example": "2019-08-08T08:00:00-07:00",
"format": "date-time",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "2019-08-08T08:00:00-07:00"
+ ]
}
}
}
},
"check_run_url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/check-runs/4"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/check-runs/4"
+ ]
},
"labels": {
"type": "array",
@@ -154174,35 +182319,51 @@
"type": "string"
},
"description": "Labels for the workflow job. Specified by the \"runs_on\" attribute in the action's workflow file.",
- "example": [
+ "examples": [
"self-hosted",
"foo",
"bar"
]
},
"runner_id": {
- "type": "integer",
- "nullable": true,
- "example": 1,
- "description": "The ID of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)"
+ "type": [
+ "integer",
+ "null"
+ ],
+ "description": "The ID of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)",
+ "examples": [
+ 1
+ ]
},
"runner_name": {
- "type": "string",
- "nullable": true,
- "example": "my runner",
- "description": "The name of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)"
+ "type": [
+ "string",
+ "null"
+ ],
+ "description": "The name of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)",
+ "examples": [
+ "my runner"
+ ]
},
"runner_group_id": {
- "type": "integer",
- "nullable": true,
- "example": 2,
- "description": "The ID of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)"
+ "type": [
+ "integer",
+ "null"
+ ],
+ "description": "The ID of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)",
+ "examples": [
+ 2
+ ]
},
"runner_group_name": {
- "type": "string",
- "nullable": true,
- "example": "my runner group",
- "description": "The name of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)"
+ "type": [
+ "string",
+ "null"
+ ],
+ "description": "The name of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)",
+ "examples": [
+ "my runner group"
+ ]
}
},
"required": [
@@ -154642,74 +182803,106 @@
"properties": {
"id": {
"description": "The id of the job.",
- "example": 21,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 21
+ ]
},
"run_id": {
"description": "The id of the associated workflow run.",
- "example": 5,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 5
+ ]
},
"run_url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5"
+ ]
},
"run_attempt": {
"type": "integer",
"description": "Attempt number of the associated workflow run, 1 for first attempt and higher if the workflow was re-run.",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6Q2hlY2tSdW40"
+ "examples": [
+ "MDg6Q2hlY2tSdW40"
+ ]
},
"head_sha": {
"description": "The SHA of the commit that is being run.",
- "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/jobs/21"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/jobs/21"
+ ]
},
"html_url": {
- "type": "string",
- "example": "https://github.com/github/hello-world/runs/4",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://github.com/github/hello-world/runs/4"
+ ]
},
"status": {
"description": "The phase of the lifecycle that the job is currently in.",
- "example": "queued",
"type": "string",
"enum": [
"queued",
"in_progress",
"completed"
+ ],
+ "examples": [
+ "queued"
]
},
"conclusion": {
"description": "The outcome of the job.",
- "example": "success",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "success"
+ ]
},
"started_at": {
"description": "The time that the job started, in ISO 8601 format.",
- "example": "2019-08-08T08:00:00-07:00",
"format": "date-time",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "2019-08-08T08:00:00-07:00"
+ ]
},
"completed_at": {
"description": "The time that the job finished, in ISO 8601 format.",
- "example": "2019-08-08T08:00:00-07:00",
"format": "date-time",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "2019-08-08T08:00:00-07:00"
+ ]
},
"name": {
"description": "The name of the job.",
- "example": "test-coverage",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "test-coverage"
+ ]
},
"steps": {
"description": "Steps in this job.",
@@ -154725,49 +182918,69 @@
"properties": {
"status": {
"description": "The phase of the lifecycle that the job is currently in.",
- "example": "queued",
"type": "string",
"enum": [
"queued",
"in_progress",
"completed"
+ ],
+ "examples": [
+ "queued"
]
},
"conclusion": {
"description": "The outcome of the job.",
- "example": "success",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "success"
+ ]
},
"name": {
"description": "The name of the job.",
- "example": "test-coverage",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "test-coverage"
+ ]
},
"number": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"started_at": {
"description": "The time that the step started, in ISO 8601 format.",
- "example": "2019-08-08T08:00:00-07:00",
"format": "date-time",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "2019-08-08T08:00:00-07:00"
+ ]
},
"completed_at": {
"description": "The time that the job finished, in ISO 8601 format.",
- "example": "2019-08-08T08:00:00-07:00",
"format": "date-time",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "2019-08-08T08:00:00-07:00"
+ ]
}
}
}
},
"check_run_url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/check-runs/4"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/check-runs/4"
+ ]
},
"labels": {
"type": "array",
@@ -154775,35 +182988,51 @@
"type": "string"
},
"description": "Labels for the workflow job. Specified by the \"runs_on\" attribute in the action's workflow file.",
- "example": [
+ "examples": [
"self-hosted",
"foo",
"bar"
]
},
"runner_id": {
- "type": "integer",
- "nullable": true,
- "example": 1,
- "description": "The ID of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)"
+ "type": [
+ "integer",
+ "null"
+ ],
+ "description": "The ID of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)",
+ "examples": [
+ 1
+ ]
},
"runner_name": {
- "type": "string",
- "nullable": true,
- "example": "my runner",
- "description": "The name of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)"
+ "type": [
+ "string",
+ "null"
+ ],
+ "description": "The name of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)",
+ "examples": [
+ "my runner"
+ ]
},
"runner_group_id": {
- "type": "integer",
- "nullable": true,
- "example": 2,
- "description": "The ID of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)"
+ "type": [
+ "integer",
+ "null"
+ ],
+ "description": "The ID of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)",
+ "examples": [
+ 2
+ ]
},
"runner_group_name": {
- "type": "string",
- "nullable": true,
- "example": "my runner group",
- "description": "The name of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)"
+ "type": [
+ "string",
+ "null"
+ ],
+ "description": "The name of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)",
+ "examples": [
+ "my runner group"
+ ]
}
},
"required": [
@@ -155183,44 +183412,62 @@
"properties": {
"id": {
"description": "The id of the environment.",
- "example": 56780428,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 56780428
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOkVudmlyb25tZW50NTY3ODA0Mjg="
+ "examples": [
+ "MDExOkVudmlyb25tZW50NTY3ODA0Mjg="
+ ]
},
"name": {
"description": "The name of the environment.",
- "example": "staging",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "staging"
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/environments/staging"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/environments/staging"
+ ]
},
"html_url": {
"type": "string",
- "example": "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging"
+ "examples": [
+ "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging"
+ ]
}
}
},
"wait_timer": {
"type": "integer",
"description": "The set duration of the wait timer",
- "example": 30
+ "examples": [
+ 30
+ ]
},
"wait_timer_started_at": {
"description": "The time that the wait timer began.",
- "example": "2020-11-23T22:00:40Z",
"format": "date-time",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "2020-11-23T22:00:40Z"
+ ]
},
"current_user_can_approve": {
"description": "Whether the currently authenticated user can approve the deployment",
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"reviewers": {
"type": "array",
@@ -155235,7 +183482,9 @@
"User",
"Team"
],
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"reviewer": {
"anyOf": [
@@ -155245,96 +183494,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -155376,8 +183667,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -155419,7 +183712,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -155429,83 +183724,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -155656,14 +183983,16 @@
"environment_ids": {
"type": "array",
"description": "The list of environment ids to approve or reject",
- "example": [
- 161171787,
- 161171795
- ],
"items": {
"type": "integer",
- "example": 161171787
- }
+ "examples": [
+ 161171787
+ ]
+ },
+ "examples": [
+ 161171787,
+ 161171795
+ ]
},
"state": {
"type": "string",
@@ -155672,12 +184001,16 @@
"approved",
"rejected"
],
- "example": "approved"
+ "examples": [
+ "approved"
+ ]
},
"comment": {
"type": "string",
"description": "A comment to accompany the deployment review",
- "example": "Ship it!"
+ "examples": [
+ "Ship it!"
+ ]
}
},
"required": [
@@ -155704,30 +184037,42 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/1"
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/1"
+ ]
},
"id": {
"description": "Unique identifier of the deployment",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOkRlcGxveW1lbnQx"
+ "examples": [
+ "MDEwOkRlcGxveW1lbnQx"
+ ]
},
"sha": {
"type": "string",
- "example": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d"
+ "examples": [
+ "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d"
+ ]
},
"ref": {
"description": "The ref to deploy. This can be a branch, tag, or sha.",
- "example": "topic-branch",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "topic-branch"
+ ]
},
"task": {
"description": "Parameter to specify a task to execute",
- "example": "deploy",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "deploy"
+ ]
},
"payload": {
"oneOf": [
@@ -155742,283 +184087,169 @@
},
"original_environment": {
"type": "string",
- "example": "staging"
+ "examples": [
+ "staging"
+ ]
},
"environment": {
"description": "Name for the target deployment environment.",
- "example": "production",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "production"
+ ]
},
"description": {
- "type": "string",
- "example": "Deploy request from hubot",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Deploy request from hubot"
+ ]
},
"creator": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2012-07-20T01:19:13Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2012-07-20T01:19:13Z"
- },
- "statuses_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/1/statuses"
- },
- "repository_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/example"
- },
- "transient_environment": {
- "description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false.",
- "example": true,
- "type": "boolean"
- },
- "production_environment": {
- "description": "Specifies if the given environment is one that end-users directly interact with. Default: false.",
- "example": true,
- "type": "boolean"
- },
- "performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
- },
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -156040,115 +184271,383 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
+ ]
+ }
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
+ },
+ "statuses_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/1/statuses"
+ ]
+ },
+ "repository_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/example"
+ ]
+ },
+ "transient_environment": {
+ "description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false.",
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "production_environment": {
+ "description": "Specifies if the given environment is one that end-users directly interact with. Default: false.",
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "performed_via_github_app": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "issues": {
- "type": "string"
+ "id": {
+ "description": "Unique identifier of the GitHub app",
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
- "checks": {
- "type": "string"
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
- "metadata": {
- "type": "string"
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "contents": {
- "type": "string"
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
},
- "deployments": {
- "type": "string"
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
+ "type": "string",
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
+ },
+ "client_secret": {
+ "type": "string",
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
+ },
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
+ "type": "string",
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "required": [
+ "id",
+ "node_id",
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -156654,8 +185153,10 @@
"properties": {
"name": {
"description": "The name of the secret.",
- "example": "SECRET_TOKEN",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "SECRET_TOKEN"
+ ]
},
"created_at": {
"type": "string",
@@ -156757,28 +185258,40 @@
"key_id": {
"description": "The identifier for the key.",
"type": "string",
- "example": "1234567"
+ "examples": [
+ "1234567"
+ ]
},
"key": {
"description": "The Base64 encoded public key.",
"type": "string",
- "example": "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs="
+ "examples": [
+ "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs="
+ ]
},
"id": {
"type": "integer",
- "example": 2
+ "examples": [
+ 2
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/user/keys/2"
+ "examples": [
+ "https://api.github.com/user/keys/2"
+ ]
},
"title": {
"type": "string",
- "example": "ssh-rsa AAAAB3NzaC1yc2EAAA"
+ "examples": [
+ "ssh-rsa AAAAB3NzaC1yc2EAAA"
+ ]
},
"created_at": {
"type": "string",
- "example": "2011-01-26T19:01:12Z"
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
}
},
"required": [
@@ -156857,8 +185370,10 @@
"properties": {
"name": {
"description": "The name of the secret.",
- "example": "SECRET_TOKEN",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "SECRET_TOKEN"
+ ]
},
"created_at": {
"type": "string",
@@ -157106,57 +185621,79 @@
"properties": {
"id": {
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6V29ya2Zsb3cxMg=="
+ "examples": [
+ "MDg6V29ya2Zsb3cxMg=="
+ ]
},
"name": {
"type": "string",
- "example": "CI"
+ "examples": [
+ "CI"
+ ]
},
"path": {
"type": "string",
- "example": "ruby.yaml"
+ "examples": [
+ "ruby.yaml"
+ ]
},
"state": {
"type": "string",
- "example": "active",
"enum": [
"active",
"deleted",
"disabled_fork",
"disabled_inactivity",
"disabled_manually"
+ ],
+ "examples": [
+ "active"
]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2019-12-06T14:20:20.000Z"
+ "examples": [
+ "2019-12-06T14:20:20.000Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2019-12-06T14:20:20.000Z"
+ "examples": [
+ "2019-12-06T14:20:20.000Z"
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/repos/actions/setup-ruby/workflows/5"
+ "examples": [
+ "https://api.github.com/repos/actions/setup-ruby/workflows/5"
+ ]
},
"html_url": {
"type": "string",
- "example": "https://github.com/actions/setup-ruby/blob/master/.github/workflows/ruby.yaml"
+ "examples": [
+ "https://github.com/actions/setup-ruby/blob/master/.github/workflows/ruby.yaml"
+ ]
},
"badge_url": {
"type": "string",
- "example": "https://github.com/actions/setup-ruby/workflows/CI/badge.svg"
+ "examples": [
+ "https://github.com/actions/setup-ruby/workflows/CI/badge.svg"
+ ]
},
"deleted_at": {
"type": "string",
"format": "date-time",
- "example": "2019-12-06T14:20:20.000Z"
+ "examples": [
+ "2019-12-06T14:20:20.000Z"
+ ]
}
},
"required": [
@@ -157286,57 +185823,79 @@
"properties": {
"id": {
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6V29ya2Zsb3cxMg=="
+ "examples": [
+ "MDg6V29ya2Zsb3cxMg=="
+ ]
},
"name": {
"type": "string",
- "example": "CI"
+ "examples": [
+ "CI"
+ ]
},
"path": {
"type": "string",
- "example": "ruby.yaml"
+ "examples": [
+ "ruby.yaml"
+ ]
},
"state": {
"type": "string",
- "example": "active",
"enum": [
"active",
"deleted",
"disabled_fork",
"disabled_inactivity",
"disabled_manually"
+ ],
+ "examples": [
+ "active"
]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2019-12-06T14:20:20.000Z"
+ "examples": [
+ "2019-12-06T14:20:20.000Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2019-12-06T14:20:20.000Z"
+ "examples": [
+ "2019-12-06T14:20:20.000Z"
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/repos/actions/setup-ruby/workflows/5"
+ "examples": [
+ "https://api.github.com/repos/actions/setup-ruby/workflows/5"
+ ]
},
"html_url": {
"type": "string",
- "example": "https://github.com/actions/setup-ruby/blob/master/.github/workflows/ruby.yaml"
+ "examples": [
+ "https://github.com/actions/setup-ruby/blob/master/.github/workflows/ruby.yaml"
+ ]
},
"badge_url": {
"type": "string",
- "example": "https://github.com/actions/setup-ruby/workflows/CI/badge.svg"
+ "examples": [
+ "https://github.com/actions/setup-ruby/workflows/CI/badge.svg"
+ ]
},
"deleted_at": {
"type": "string",
"format": "date-time",
- "example": "2019-12-06T14:20:20.000Z"
+ "examples": [
+ "2019-12-06T14:20:20.000Z"
+ ]
}
},
"required": [
@@ -157759,79 +186318,119 @@
"id": {
"type": "integer",
"description": "The ID of the workflow run.",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"name": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The name of the workflow run.",
- "nullable": true,
- "example": "Build"
+ "examples": [
+ "Build"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOkNoZWNrU3VpdGU1"
+ "examples": [
+ "MDEwOkNoZWNrU3VpdGU1"
+ ]
},
"check_suite_id": {
"type": "integer",
"description": "The ID of the associated check suite.",
- "example": 42
+ "examples": [
+ 42
+ ]
},
"check_suite_node_id": {
"type": "string",
"description": "The node ID of the associated check suite.",
- "example": "MDEwOkNoZWNrU3VpdGU0Mg=="
+ "examples": [
+ "MDEwOkNoZWNrU3VpdGU0Mg=="
+ ]
},
"head_branch": {
- "type": "string",
- "nullable": true,
- "example": "master"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "master"
+ ]
},
"head_sha": {
"description": "The SHA of the head commit that points to the version of the workflow being run.",
- "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"
+ ]
},
"run_number": {
"type": "integer",
"description": "The auto incrementing run number for the workflow run.",
- "example": 106
+ "examples": [
+ 106
+ ]
},
"run_attempt": {
"type": "integer",
"description": "Attempt number of the run, 1 for first attempt and higher if the workflow was re-run.",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"event": {
"type": "string",
- "example": "push"
+ "examples": [
+ "push"
+ ]
},
"status": {
- "type": "string",
- "nullable": true,
- "example": "completed"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "completed"
+ ]
},
"conclusion": {
- "type": "string",
- "nullable": true,
- "example": "neutral"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "neutral"
+ ]
},
"workflow_id": {
"type": "integer",
"description": "The ID of the parent workflow.",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"url": {
"type": "string",
"description": "The URL to the workflow run.",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5"
+ ]
},
"html_url": {
"type": "string",
- "example": "https://github.com/github/hello-world/suites/4"
+ "examples": [
+ "https://github.com/github/hello-world/suites/4"
+ ]
},
"pull_requests": {
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -157939,96 +186538,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -158058,96 +186699,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -158179,104 +186862,132 @@
"jobs_url": {
"description": "The URL to the jobs for the workflow run.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/jobs"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/jobs"
+ ]
},
"logs_url": {
"description": "The URL to download the logs for the workflow run.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/logs"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/logs"
+ ]
},
"check_suite_url": {
"description": "The URL to the associated check suite.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/check-suites/12"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/check-suites/12"
+ ]
},
"artifacts_url": {
"description": "The URL to the artifacts for the workflow run.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/rerun/artifacts"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/rerun/artifacts"
+ ]
},
"cancel_url": {
"description": "The URL to cancel the workflow run.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/cancel"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/cancel"
+ ]
},
"rerun_url": {
"description": "The URL to rerun the workflow run.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/rerun"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/rerun"
+ ]
},
"previous_attempt_url": {
- "nullable": true,
"description": "The URL to the previous attempted run of this workflow, if one exists.",
- "type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/runs/5/attempts/3"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/runs/5/attempts/3"
+ ]
},
"workflow_url": {
"description": "The URL to the workflow.",
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/actions/workflows/main.yaml"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/actions/workflows/main.yaml"
+ ]
},
"head_commit": {
- "title": "Simple Commit",
- "description": "Simple Commit",
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "tree_id": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "author": {
+ {
+ "title": "Simple Commit",
+ "description": "Simple Commit",
"type": "object",
"properties": {
- "name": {
+ "id": {
"type": "string"
},
- "email": {
+ "tree_id": {
"type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "author": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "email"
+ ]
+ },
+ "committer": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "email"
+ ]
}
},
"required": [
- "name",
- "email"
- ],
- "nullable": true
- },
- "committer": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "email": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "email"
- ],
- "nullable": true
+ "id",
+ "tree_id",
+ "message",
+ "timestamp",
+ "author",
+ "committer"
+ ]
}
- },
- "required": [
- "id",
- "tree_id",
- "message",
- "timestamp",
- "author",
- "committer"
- ],
- "nullable": true
+ ]
},
"repository": {
"title": "Minimal Repository",
@@ -158285,19 +186996,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -158305,96 +187024,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -158424,12 +187185,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -158437,129 +187204,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -158567,58 +187392,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -158672,22 +187519,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -158711,894 +187570,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -159607,77 +188392,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -159685,136 +188852,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -159835,25 +188966,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -159864,7 +189005,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -159881,20 +189025,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -159956,19 +189105,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -159976,96 +189133,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -160095,12 +189294,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -160108,129 +189313,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -160238,58 +189501,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -160343,22 +189628,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -160382,894 +189679,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -161278,77 +190501,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -161356,136 +190961,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -161506,25 +191075,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -161535,7 +191114,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -161552,20 +191134,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -161622,7 +191209,9 @@
},
"head_repository_id": {
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
}
},
"required": [
@@ -162084,96 +191673,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -162400,17 +192031,23 @@
"properties": {
"id": {
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
},
"key_prefix": {
"description": "The prefix of a key that is linkified.",
- "example": "TICKET-",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "TICKET-"
+ ]
},
"url_template": {
"description": "A template for the target URL that is generated if a key was found.",
- "example": "https://example.com/TICKET?query=",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://example.com/TICKET?query="
+ ]
}
},
"required": [
@@ -162511,17 +192148,23 @@
"properties": {
"id": {
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
},
"key_prefix": {
"description": "The prefix of a key that is linkified.",
- "example": "TICKET-",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "TICKET-"
+ ]
},
"url_template": {
"description": "A template for the target URL that is generated if a key was found.",
- "example": "https://example.com/TICKET?query=",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://example.com/TICKET?query="
+ ]
}
},
"required": [
@@ -162595,16 +192238,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -162679,17 +192328,23 @@
"properties": {
"id": {
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
},
"key_prefix": {
"description": "The prefix of a key that is linkified.",
- "example": "TICKET-",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "TICKET-"
+ ]
},
"url_template": {
"description": "A template for the target URL that is generated if a key was found.",
- "example": "https://example.com/TICKET?query=",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://example.com/TICKET?query="
+ ]
}
},
"required": [
@@ -163033,8 +192688,10 @@
"type": "string"
},
"app_id": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
}
},
"required": [
@@ -163063,11 +192720,15 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins"
+ ]
},
"enabled": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
}
},
"required": [
@@ -163083,7 +192744,9 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions"
+ ]
},
"dismissal_restrictions": {
"type": "object",
@@ -163097,96 +192760,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -163232,8 +192937,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -163275,7 +192982,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -163285,83 +192994,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -163381,15 +193122,21 @@
},
"url": {
"type": "string",
- "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions\""
+ "examples": [
+ "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions\""
+ ]
},
"users_url": {
"type": "string",
- "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/users\""
+ "examples": [
+ "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/users\""
+ ]
},
"teams_url": {
"type": "string",
- "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/teams\""
+ "examples": [
+ "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/teams\""
+ ]
}
}
},
@@ -163406,96 +193153,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -163541,8 +193330,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -163584,7 +193375,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -163594,83 +193387,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -163692,17 +193517,23 @@
},
"dismiss_stale_reviews": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"require_code_owner_reviews": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"required_approving_review_count": {
"type": "integer",
"minimum": 0,
"maximum": 6,
- "example": 2
+ "examples": [
+ 2
+ ]
}
},
"required": [
@@ -163817,8 +193648,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -163833,8 +193666,10 @@
"type": "string"
},
"parent": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
}
@@ -163894,47 +193729,69 @@
},
"gravatar_id": {
"type": "string",
- "example": "\"\""
+ "examples": [
+ "\"\""
+ ]
},
"html_url": {
"type": "string",
- "example": "\"https://github.com/testorg-ea8ec76d71c3af4b\""
+ "examples": [
+ "\"https://github.com/testorg-ea8ec76d71c3af4b\""
+ ]
},
"followers_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/followers\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/followers\""
+ ]
},
"following_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/following{/other_user}\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/following{/other_user}\""
+ ]
},
"gists_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/gists{/gist_id}\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/gists{/gist_id}\""
+ ]
},
"starred_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/starred{/owner}{/repo}\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/starred{/owner}{/repo}\""
+ ]
},
"subscriptions_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/subscriptions\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/subscriptions\""
+ ]
},
"organizations_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/orgs\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/orgs\""
+ ]
},
"received_events_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/received_events\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/received_events\""
+ ]
},
"type": {
"type": "string",
- "example": "\"Organization\""
+ "examples": [
+ "\"Organization\""
+ ]
},
"site_admin": {
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
}
}
},
@@ -164027,11 +193884,15 @@
},
"name": {
"type": "string",
- "example": "\"branch/with/protection\""
+ "examples": [
+ "\"branch/with/protection\""
+ ]
},
"protection_url": {
"type": "string",
- "example": "\"https://api.github.com/repos/owner-79e94e2d36b3fd06a32bb213/AAA_Public_Repo/branches/branch/with/protection/protection\""
+ "examples": [
+ "\"https://api.github.com/repos/owner-79e94e2d36b3fd06a32bb213/AAA_Public_Repo/branches/branch/with/protection/protection\""
+ ]
},
"required_signatures": {
"type": "object",
@@ -164039,11 +193900,15 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures"
+ ]
},
"enabled": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
}
},
"required": [
@@ -164196,25 +194061,35 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"sha": {
"type": "string",
- "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ=="
+ "examples": [
+ "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ=="
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"comments_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments"
+ ]
},
"commit": {
"type": "object",
@@ -164222,67 +194097,101 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"author": {
- "title": "Git User",
- "description": "Metaproperties for Git author/committer information.",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "example": "\"Chris Wanstrath\""
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "type": "string",
- "example": "\"chris@ozmm.org\""
- },
- "date": {
- "type": "string",
- "example": "\"2007-10-29T02:42:39.000-07:00\""
+ {
+ "title": "Git User",
+ "description": "Metaproperties for Git author/committer information.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "examples": [
+ "\"Chris Wanstrath\""
+ ]
+ },
+ "email": {
+ "type": "string",
+ "examples": [
+ "\"chris@ozmm.org\""
+ ]
+ },
+ "date": {
+ "type": "string",
+ "examples": [
+ "\"2007-10-29T02:42:39.000-07:00\""
+ ]
+ }
+ }
}
- },
- "nullable": true
+ ]
},
"committer": {
- "title": "Git User",
- "description": "Metaproperties for Git author/committer information.",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "example": "\"Chris Wanstrath\""
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "type": "string",
- "example": "\"chris@ozmm.org\""
- },
- "date": {
- "type": "string",
- "example": "\"2007-10-29T02:42:39.000-07:00\""
+ {
+ "title": "Git User",
+ "description": "Metaproperties for Git author/committer information.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "examples": [
+ "\"Chris Wanstrath\""
+ ]
+ },
+ "email": {
+ "type": "string",
+ "examples": [
+ "\"chris@ozmm.org\""
+ ]
+ },
+ "date": {
+ "type": "string",
+ "examples": [
+ "\"2007-10-29T02:42:39.000-07:00\""
+ ]
+ }
+ }
}
- },
- "nullable": true
+ ]
},
"message": {
"type": "string",
- "example": "Fix all the bugs"
+ "examples": [
+ "Fix all the bugs"
+ ]
},
"comment_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"tree": {
"type": "object",
"properties": {
"sha": {
"type": "string",
- "example": "827efc6d56897b048c772eb4087f854f46256132"
+ "examples": [
+ "827efc6d56897b048c772eb4087f854f46256132"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/tree/827efc6d56897b048c772eb4087f854f46256132"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/tree/827efc6d56897b048c772eb4087f854f46256132"
+ ]
}
},
"required": [
@@ -164301,12 +194210,16 @@
"type": "string"
},
"payload": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"signature": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -164327,244 +194240,340 @@
]
},
"author": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"committer": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"parents": {
"type": "array",
@@ -164573,17 +194582,23 @@
"properties": {
"sha": {
"type": "string",
- "example": "7638417db6d59f3c431d3e1f261cc637155684cd"
+ "examples": [
+ "7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/7638417db6d59f3c431d3e1f261cc637155684cd"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
+ "examples": [
+ "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
}
},
"required": [
@@ -164615,11 +194630,15 @@
"properties": {
"sha": {
"type": "string",
- "example": "bbcd538c8e72b8c175046e27cc8f907076331401"
+ "examples": [
+ "bbcd538c8e72b8c175046e27cc8f907076331401"
+ ]
},
"filename": {
"type": "string",
- "example": "file1.txt"
+ "examples": [
+ "file1.txt"
+ ]
},
"status": {
"type": "string",
@@ -164632,42 +194651,60 @@
"changed",
"unchanged"
],
- "example": "added"
+ "examples": [
+ "added"
+ ]
},
"additions": {
"type": "integer",
- "example": 103
+ "examples": [
+ 103
+ ]
},
"deletions": {
"type": "integer",
- "example": 21
+ "examples": [
+ 21
+ ]
},
"changes": {
"type": "integer",
- "example": 124
+ "examples": [
+ 124
+ ]
},
"blob_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ "examples": [
+ "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ ]
},
"raw_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ "examples": [
+ "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ ]
},
"contents_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"patch": {
"type": "string",
- "example": "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test"
+ "examples": [
+ "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test"
+ ]
},
"previous_filename": {
"type": "string",
- "example": "file.txt"
+ "examples": [
+ "file.txt"
+ ]
}
},
"required": [
@@ -164752,8 +194789,10 @@
"type": "string"
},
"app_id": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
}
},
"required": [
@@ -164782,11 +194821,15 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins"
+ ]
},
"enabled": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
}
},
"required": [
@@ -164802,7 +194845,9 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions"
+ ]
},
"dismissal_restrictions": {
"type": "object",
@@ -164816,96 +194861,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -164951,8 +195038,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -164994,7 +195083,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -165004,83 +195095,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -165100,15 +195223,21 @@
},
"url": {
"type": "string",
- "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions\""
+ "examples": [
+ "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions\""
+ ]
},
"users_url": {
"type": "string",
- "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/users\""
+ "examples": [
+ "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/users\""
+ ]
},
"teams_url": {
"type": "string",
- "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/teams\""
+ "examples": [
+ "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/teams\""
+ ]
}
}
},
@@ -165125,96 +195254,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -165260,8 +195431,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -165303,7 +195476,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -165313,83 +195488,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -165411,17 +195618,23 @@
},
"dismiss_stale_reviews": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"require_code_owner_reviews": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"required_approving_review_count": {
"type": "integer",
"minimum": 0,
"maximum": 6,
- "example": 2
+ "examples": [
+ 2
+ ]
}
},
"required": [
@@ -165536,8 +195749,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -165552,8 +195767,10 @@
"type": "string"
},
"parent": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
}
@@ -165613,47 +195830,69 @@
},
"gravatar_id": {
"type": "string",
- "example": "\"\""
+ "examples": [
+ "\"\""
+ ]
},
"html_url": {
"type": "string",
- "example": "\"https://github.com/testorg-ea8ec76d71c3af4b\""
+ "examples": [
+ "\"https://github.com/testorg-ea8ec76d71c3af4b\""
+ ]
},
"followers_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/followers\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/followers\""
+ ]
},
"following_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/following{/other_user}\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/following{/other_user}\""
+ ]
},
"gists_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/gists{/gist_id}\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/gists{/gist_id}\""
+ ]
},
"starred_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/starred{/owner}{/repo}\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/starred{/owner}{/repo}\""
+ ]
},
"subscriptions_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/subscriptions\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/subscriptions\""
+ ]
},
"organizations_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/orgs\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/orgs\""
+ ]
},
"received_events_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/received_events\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/received_events\""
+ ]
},
"type": {
"type": "string",
- "example": "\"Organization\""
+ "examples": [
+ "\"Organization\""
+ ]
},
"site_admin": {
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
}
}
},
@@ -165746,11 +195985,15 @@
},
"name": {
"type": "string",
- "example": "\"branch/with/protection\""
+ "examples": [
+ "\"branch/with/protection\""
+ ]
},
"protection_url": {
"type": "string",
- "example": "\"https://api.github.com/repos/owner-79e94e2d36b3fd06a32bb213/AAA_Public_Repo/branches/branch/with/protection/protection\""
+ "examples": [
+ "\"https://api.github.com/repos/owner-79e94e2d36b3fd06a32bb213/AAA_Public_Repo/branches/branch/with/protection/protection\""
+ ]
},
"required_signatures": {
"type": "object",
@@ -165758,11 +196001,15 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures"
+ ]
},
"enabled": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
}
},
"required": [
@@ -165778,11 +196025,15 @@
},
"pattern": {
"type": "string",
- "example": "\"mas*\""
+ "examples": [
+ "\"mas*\""
+ ]
},
"required_approving_review_count": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
}
},
"required": [
@@ -165962,8 +196213,10 @@
"type": "string"
},
"app_id": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
}
},
"required": [
@@ -165992,11 +196245,15 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins"
+ ]
},
"enabled": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
}
},
"required": [
@@ -166012,7 +196269,9 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions"
+ ]
},
"dismissal_restrictions": {
"type": "object",
@@ -166026,96 +196285,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -166161,8 +196462,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -166204,7 +196507,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -166214,83 +196519,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -166310,15 +196647,21 @@
},
"url": {
"type": "string",
- "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions\""
+ "examples": [
+ "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions\""
+ ]
},
"users_url": {
"type": "string",
- "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/users\""
+ "examples": [
+ "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/users\""
+ ]
},
"teams_url": {
"type": "string",
- "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/teams\""
+ "examples": [
+ "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/teams\""
+ ]
}
}
},
@@ -166335,96 +196678,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -166470,8 +196855,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -166513,7 +196900,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -166523,83 +196912,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -166621,17 +197042,23 @@
},
"dismiss_stale_reviews": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"require_code_owner_reviews": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"required_approving_review_count": {
"type": "integer",
"minimum": 0,
"maximum": 6,
- "example": 2
+ "examples": [
+ 2
+ ]
}
},
"required": [
@@ -166746,8 +197173,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -166762,8 +197191,10 @@
"type": "string"
},
"parent": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
}
@@ -166823,47 +197254,69 @@
},
"gravatar_id": {
"type": "string",
- "example": "\"\""
+ "examples": [
+ "\"\""
+ ]
},
"html_url": {
"type": "string",
- "example": "\"https://github.com/testorg-ea8ec76d71c3af4b\""
+ "examples": [
+ "\"https://github.com/testorg-ea8ec76d71c3af4b\""
+ ]
},
"followers_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/followers\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/followers\""
+ ]
},
"following_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/following{/other_user}\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/following{/other_user}\""
+ ]
},
"gists_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/gists{/gist_id}\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/gists{/gist_id}\""
+ ]
},
"starred_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/starred{/owner}{/repo}\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/starred{/owner}{/repo}\""
+ ]
},
"subscriptions_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/subscriptions\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/subscriptions\""
+ ]
},
"organizations_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/orgs\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/orgs\""
+ ]
},
"received_events_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/received_events\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/received_events\""
+ ]
},
"type": {
"type": "string",
- "example": "\"Organization\""
+ "examples": [
+ "\"Organization\""
+ ]
},
"site_admin": {
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
}
}
},
@@ -166956,11 +197409,15 @@
},
"name": {
"type": "string",
- "example": "\"branch/with/protection\""
+ "examples": [
+ "\"branch/with/protection\""
+ ]
},
"protection_url": {
"type": "string",
- "example": "\"https://api.github.com/repos/owner-79e94e2d36b3fd06a32bb213/AAA_Public_Repo/branches/branch/with/protection/protection\""
+ "examples": [
+ "\"https://api.github.com/repos/owner-79e94e2d36b3fd06a32bb213/AAA_Public_Repo/branches/branch/with/protection/protection\""
+ ]
},
"required_signatures": {
"type": "object",
@@ -166968,11 +197425,15 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures"
+ ]
},
"enabled": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
}
},
"required": [
@@ -167227,9 +197688,11 @@
"type": "object",
"properties": {
"required_status_checks": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"description": "Require status checks to pass before merging. Set to `null` to disable.",
- "nullable": true,
"properties": {
"strict": {
"type": "boolean",
@@ -167270,14 +197733,18 @@
]
},
"enforce_admins": {
- "type": "boolean",
- "description": "Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable.",
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "description": "Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable."
},
"required_pull_request_reviews": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"description": "Require at least one approving review on a pull request, before merging. Set to `null` to disable.",
- "nullable": true,
"properties": {
"dismissal_restrictions": {
"type": "object",
@@ -167334,9 +197801,11 @@
}
},
"restrictions": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"description": "Restrict who can push to the protected branch. User, app, and team `restrictions` are only available for organization-owned repositories. Set to `null` to disable.",
- "nullable": true,
"properties": {
"users": {
"type": "array",
@@ -167370,9 +197839,11 @@
"description": "Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see \"[Requiring a linear commit history](https://docs.github.com/github/administering-a-repository/requiring-a-linear-commit-history)\" in the GitHub Help documentation."
},
"allow_force_pushes": {
- "type": "boolean",
- "description": "Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see \"[Enabling force pushes to a protected branch](https://docs.github.com/en/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)\" in the GitHub Help documentation.\"",
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "description": "Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see \"[Enabling force pushes to a protected branch](https://docs.github.com/en/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)\" in the GitHub Help documentation.\""
},
"allow_deletions": {
"type": "boolean",
@@ -167460,20 +197931,24 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks"
+ ]
},
"strict": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"contexts": {
"type": "array",
- "example": [
- "continuous-integration/travis-ci"
- ],
"items": {
"type": "string"
- }
+ },
+ "examples": [
+ "continuous-integration/travis-ci"
+ ]
},
"checks": {
"type": "array",
@@ -167482,11 +197957,15 @@
"properties": {
"context": {
"type": "string",
- "example": "continuous-integration/travis-ci"
+ "examples": [
+ "continuous-integration/travis-ci"
+ ]
},
"app_id": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
}
},
"required": [
@@ -167498,7 +197977,9 @@
"contexts_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts"
+ ]
}
},
"required": [
@@ -167548,96 +198029,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -167682,8 +198205,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -167725,7 +198250,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -167735,83 +198262,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -167849,96 +198408,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -167983,8 +198584,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -168026,7 +198629,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -168036,83 +198641,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -168147,11 +198784,15 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures"
+ ]
},
"enabled": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
}
},
"required": [
@@ -168319,8 +198960,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -168335,8 +198978,10 @@
"type": "string"
},
"parent": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
}
@@ -168396,47 +199041,69 @@
},
"gravatar_id": {
"type": "string",
- "example": "\"\""
+ "examples": [
+ "\"\""
+ ]
},
"html_url": {
"type": "string",
- "example": "\"https://github.com/testorg-ea8ec76d71c3af4b\""
+ "examples": [
+ "\"https://github.com/testorg-ea8ec76d71c3af4b\""
+ ]
},
"followers_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/followers\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/followers\""
+ ]
},
"following_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/following{/other_user}\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/following{/other_user}\""
+ ]
},
"gists_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/gists{/gist_id}\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/gists{/gist_id}\""
+ ]
},
"starred_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/starred{/owner}{/repo}\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/starred{/owner}{/repo}\""
+ ]
},
"subscriptions_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/subscriptions\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/subscriptions\""
+ ]
},
"organizations_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/orgs\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/orgs\""
+ ]
},
"received_events_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/received_events\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/received_events\""
+ ]
},
"type": {
"type": "string",
- "example": "\"Organization\""
+ "examples": [
+ "\"Organization\""
+ ]
},
"site_admin": {
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
}
}
},
@@ -168733,11 +199400,15 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins"
+ ]
},
"enabled": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
}
},
"required": [
@@ -168816,11 +199487,15 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins"
+ ]
},
"enabled": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
}
},
"required": [
@@ -168978,7 +199653,9 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions"
+ ]
},
"dismissal_restrictions": {
"type": "object",
@@ -168992,96 +199669,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -169127,8 +199846,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -169170,7 +199891,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -169180,83 +199903,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -169276,15 +200031,21 @@
},
"url": {
"type": "string",
- "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions\""
+ "examples": [
+ "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions\""
+ ]
},
"users_url": {
"type": "string",
- "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/users\""
+ "examples": [
+ "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/users\""
+ ]
},
"teams_url": {
"type": "string",
- "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/teams\""
+ "examples": [
+ "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/teams\""
+ ]
}
}
},
@@ -169301,96 +200062,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -169436,8 +200239,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -169479,7 +200284,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -169489,83 +200296,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -169587,17 +200426,23 @@
},
"dismiss_stale_reviews": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"require_code_owner_reviews": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"required_approving_review_count": {
"type": "integer",
"minimum": 0,
"maximum": 6,
- "example": 2
+ "examples": [
+ 2
+ ]
}
},
"required": [
@@ -169806,7 +200651,9 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions"
+ ]
},
"dismissal_restrictions": {
"type": "object",
@@ -169820,96 +200667,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -169955,8 +200844,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -169998,7 +200889,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -170008,83 +200901,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -170104,15 +201029,21 @@
},
"url": {
"type": "string",
- "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions\""
+ "examples": [
+ "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions\""
+ ]
},
"users_url": {
"type": "string",
- "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/users\""
+ "examples": [
+ "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/users\""
+ ]
},
"teams_url": {
"type": "string",
- "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/teams\""
+ "examples": [
+ "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/teams\""
+ ]
}
}
},
@@ -170129,96 +201060,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -170264,8 +201237,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -170307,7 +201282,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -170317,83 +201294,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -170415,17 +201424,23 @@
},
"dismiss_stale_reviews": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"require_code_owner_reviews": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"required_approving_review_count": {
"type": "integer",
"minimum": 0,
"maximum": 6,
- "example": 2
+ "examples": [
+ 2
+ ]
}
},
"required": [
@@ -170534,16 +201549,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -170697,11 +201718,15 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins"
+ ]
},
"enabled": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
}
},
"required": [
@@ -170806,11 +201831,15 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins"
+ ]
},
"enabled": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
}
},
"required": [
@@ -170994,20 +202023,24 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks"
+ ]
},
"strict": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"contexts": {
"type": "array",
- "example": [
- "continuous-integration/travis-ci"
- ],
"items": {
"type": "string"
- }
+ },
+ "examples": [
+ "continuous-integration/travis-ci"
+ ]
},
"checks": {
"type": "array",
@@ -171016,11 +202049,15 @@
"properties": {
"context": {
"type": "string",
- "example": "continuous-integration/travis-ci"
+ "examples": [
+ "continuous-integration/travis-ci"
+ ]
},
"app_id": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
}
},
"required": [
@@ -171032,7 +202069,9 @@
"contexts_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts"
+ ]
}
},
"required": [
@@ -171194,20 +202233,24 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks"
+ ]
},
"strict": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"contexts": {
"type": "array",
- "example": [
- "continuous-integration/travis-ci"
- ],
"items": {
"type": "string"
- }
+ },
+ "examples": [
+ "continuous-integration/travis-ci"
+ ]
},
"checks": {
"type": "array",
@@ -171216,11 +202259,15 @@
"properties": {
"context": {
"type": "string",
- "example": "continuous-integration/travis-ci"
+ "examples": [
+ "continuous-integration/travis-ci"
+ ]
},
"app_id": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
}
},
"required": [
@@ -171232,7 +202279,9 @@
"contexts_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts"
+ ]
}
},
"required": [
@@ -171329,16 +202378,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -171644,16 +202699,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -171868,16 +202929,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -172091,16 +203158,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -172277,8 +203350,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -172293,8 +203368,10 @@
"type": "string"
},
"parent": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
}
@@ -172354,47 +203431,69 @@
},
"gravatar_id": {
"type": "string",
- "example": "\"\""
+ "examples": [
+ "\"\""
+ ]
},
"html_url": {
"type": "string",
- "example": "\"https://github.com/testorg-ea8ec76d71c3af4b\""
+ "examples": [
+ "\"https://github.com/testorg-ea8ec76d71c3af4b\""
+ ]
},
"followers_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/followers\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/followers\""
+ ]
},
"following_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/following{/other_user}\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/following{/other_user}\""
+ ]
},
"gists_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/gists{/gist_id}\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/gists{/gist_id}\""
+ ]
},
"starred_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/starred{/owner}{/repo}\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/starred{/owner}{/repo}\""
+ ]
},
"subscriptions_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/subscriptions\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/subscriptions\""
+ ]
},
"organizations_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/orgs\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/orgs\""
+ ]
},
"received_events_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/received_events\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/received_events\""
+ ]
},
"type": {
"type": "string",
- "example": "\"Organization\""
+ "examples": [
+ "\"Organization\""
+ ]
},
"site_admin": {
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
}
}
},
@@ -172681,167 +203780,235 @@
"properties": {
"id": {
"description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
"slug": {
"description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
"owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"name": {
"description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
},
"description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
},
"external_url": {
"type": "string",
"format": "uri",
- "example": "https://example.com"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/apps/super-ci"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
"permissions": {
"description": "The set of permissions for the GitHub app",
@@ -172873,36 +204040,48 @@
},
"events": {
"description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
"type": "array",
"items": {
"type": "string"
- }
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
},
"installations_count": {
"description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 5
+ ]
},
"client_id": {
"type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
"client_secret": {
"type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
"webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
},
"pem": {
"type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
@@ -173094,167 +204273,235 @@
"properties": {
"id": {
"description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
"slug": {
"description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
"owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"name": {
"description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
},
"description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
},
"external_url": {
"type": "string",
"format": "uri",
- "example": "https://example.com"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/apps/super-ci"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
"permissions": {
"description": "The set of permissions for the GitHub app",
@@ -173286,36 +204533,48 @@
},
"events": {
"description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
"type": "array",
"items": {
"type": "string"
- }
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
},
"installations_count": {
"description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 5
+ ]
},
"client_id": {
"type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
"client_secret": {
"type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
"webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
},
"pem": {
"type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
@@ -173428,16 +204687,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -173551,167 +204816,235 @@
"properties": {
"id": {
"description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
"slug": {
"description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
"owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"name": {
"description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
},
"description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
},
"external_url": {
"type": "string",
"format": "uri",
- "example": "https://example.com"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/apps/super-ci"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
"permissions": {
"description": "The set of permissions for the GitHub app",
@@ -173743,36 +205076,48 @@
},
"events": {
"description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
"type": "array",
"items": {
"type": "string"
- }
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
},
"installations_count": {
"description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 5
+ ]
},
"client_id": {
"type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
"client_secret": {
"type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
"webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
},
"pem": {
"type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
@@ -173885,16 +205230,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -174007,167 +205358,235 @@
"properties": {
"id": {
"description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
"slug": {
"description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
"owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"name": {
"description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
},
"description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
},
"external_url": {
"type": "string",
"format": "uri",
- "example": "https://example.com"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/apps/super-ci"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
"permissions": {
"description": "The set of permissions for the GitHub app",
@@ -174199,36 +205618,48 @@
},
"events": {
"description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
"type": "array",
"items": {
"type": "string"
- }
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
},
"installations_count": {
"description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 5
+ ]
},
"client_id": {
"type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
"client_secret": {
"type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
"webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
},
"pem": {
"type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
@@ -174341,16 +205772,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -174440,8 +205877,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -174483,7 +205922,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -174493,83 +205934,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -174746,8 +206219,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -174789,7 +206264,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -174799,83 +206276,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -174961,16 +206470,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -175096,8 +206611,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -175139,7 +206656,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -175149,83 +206668,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -175311,16 +206862,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -175445,8 +207002,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -175488,7 +207047,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -175498,83 +207059,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -175660,16 +207253,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -175747,96 +207346,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -176013,96 +207654,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -176201,16 +207884,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -176323,96 +208012,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -176511,16 +208242,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -176632,96 +208369,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -176820,16 +208599,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -176937,25 +208722,35 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"sha": {
"type": "string",
- "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ=="
+ "examples": [
+ "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ=="
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"comments_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments"
+ ]
},
"commit": {
"type": "object",
@@ -176963,67 +208758,101 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"author": {
- "title": "Git User",
- "description": "Metaproperties for Git author/committer information.",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "example": "\"Chris Wanstrath\""
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "type": "string",
- "example": "\"chris@ozmm.org\""
- },
- "date": {
- "type": "string",
- "example": "\"2007-10-29T02:42:39.000-07:00\""
+ {
+ "title": "Git User",
+ "description": "Metaproperties for Git author/committer information.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "examples": [
+ "\"Chris Wanstrath\""
+ ]
+ },
+ "email": {
+ "type": "string",
+ "examples": [
+ "\"chris@ozmm.org\""
+ ]
+ },
+ "date": {
+ "type": "string",
+ "examples": [
+ "\"2007-10-29T02:42:39.000-07:00\""
+ ]
+ }
+ }
}
- },
- "nullable": true
+ ]
},
"committer": {
- "title": "Git User",
- "description": "Metaproperties for Git author/committer information.",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "example": "\"Chris Wanstrath\""
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "type": "string",
- "example": "\"chris@ozmm.org\""
- },
- "date": {
- "type": "string",
- "example": "\"2007-10-29T02:42:39.000-07:00\""
+ {
+ "title": "Git User",
+ "description": "Metaproperties for Git author/committer information.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "examples": [
+ "\"Chris Wanstrath\""
+ ]
+ },
+ "email": {
+ "type": "string",
+ "examples": [
+ "\"chris@ozmm.org\""
+ ]
+ },
+ "date": {
+ "type": "string",
+ "examples": [
+ "\"2007-10-29T02:42:39.000-07:00\""
+ ]
+ }
+ }
}
- },
- "nullable": true
+ ]
},
"message": {
"type": "string",
- "example": "Fix all the bugs"
+ "examples": [
+ "Fix all the bugs"
+ ]
},
"comment_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"tree": {
"type": "object",
"properties": {
"sha": {
"type": "string",
- "example": "827efc6d56897b048c772eb4087f854f46256132"
+ "examples": [
+ "827efc6d56897b048c772eb4087f854f46256132"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/tree/827efc6d56897b048c772eb4087f854f46256132"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/tree/827efc6d56897b048c772eb4087f854f46256132"
+ ]
}
},
"required": [
@@ -177042,12 +208871,16 @@
"type": "string"
},
"payload": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"signature": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -177068,244 +208901,340 @@
]
},
"author": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"committer": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"parents": {
"type": "array",
@@ -177314,17 +209243,23 @@
"properties": {
"sha": {
"type": "string",
- "example": "7638417db6d59f3c431d3e1f261cc637155684cd"
+ "examples": [
+ "7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/7638417db6d59f3c431d3e1f261cc637155684cd"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
+ "examples": [
+ "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
}
},
"required": [
@@ -177356,11 +209291,15 @@
"properties": {
"sha": {
"type": "string",
- "example": "bbcd538c8e72b8c175046e27cc8f907076331401"
+ "examples": [
+ "bbcd538c8e72b8c175046e27cc8f907076331401"
+ ]
},
"filename": {
"type": "string",
- "example": "file1.txt"
+ "examples": [
+ "file1.txt"
+ ]
},
"status": {
"type": "string",
@@ -177373,42 +209312,60 @@
"changed",
"unchanged"
],
- "example": "added"
+ "examples": [
+ "added"
+ ]
},
"additions": {
"type": "integer",
- "example": 103
+ "examples": [
+ 103
+ ]
},
"deletions": {
"type": "integer",
- "example": 21
+ "examples": [
+ 21
+ ]
},
"changes": {
"type": "integer",
- "example": 124
+ "examples": [
+ 124
+ ]
},
"blob_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ "examples": [
+ "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ ]
},
"raw_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ "examples": [
+ "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ ]
},
"contents_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"patch": {
"type": "string",
- "example": "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test"
+ "examples": [
+ "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test"
+ ]
},
"previous_filename": {
"type": "string",
- "example": "file.txt"
+ "examples": [
+ "file.txt"
+ ]
}
},
"required": [
@@ -177493,8 +209450,10 @@
"type": "string"
},
"app_id": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
}
},
"required": [
@@ -177523,11 +209482,15 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins"
+ ]
},
"enabled": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
}
},
"required": [
@@ -177543,7 +209506,9 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions"
+ ]
},
"dismissal_restrictions": {
"type": "object",
@@ -177557,96 +209522,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -177692,8 +209699,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -177735,7 +209744,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -177745,83 +209756,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -177841,15 +209884,21 @@
},
"url": {
"type": "string",
- "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions\""
+ "examples": [
+ "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions\""
+ ]
},
"users_url": {
"type": "string",
- "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/users\""
+ "examples": [
+ "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/users\""
+ ]
},
"teams_url": {
"type": "string",
- "example": "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/teams\""
+ "examples": [
+ "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/teams\""
+ ]
}
}
},
@@ -177866,96 +209915,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -178001,8 +210092,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -178044,7 +210137,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -178054,83 +210149,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -178152,17 +210279,23 @@
},
"dismiss_stale_reviews": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"require_code_owner_reviews": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"required_approving_review_count": {
"type": "integer",
"minimum": 0,
"maximum": 6,
- "example": 2
+ "examples": [
+ 2
+ ]
}
},
"required": [
@@ -178277,8 +210410,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -178293,8 +210428,10 @@
"type": "string"
},
"parent": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
}
@@ -178354,47 +210491,69 @@
},
"gravatar_id": {
"type": "string",
- "example": "\"\""
+ "examples": [
+ "\"\""
+ ]
},
"html_url": {
"type": "string",
- "example": "\"https://github.com/testorg-ea8ec76d71c3af4b\""
+ "examples": [
+ "\"https://github.com/testorg-ea8ec76d71c3af4b\""
+ ]
},
"followers_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/followers\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/followers\""
+ ]
},
"following_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/following{/other_user}\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/following{/other_user}\""
+ ]
},
"gists_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/gists{/gist_id}\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/gists{/gist_id}\""
+ ]
},
"starred_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/starred{/owner}{/repo}\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/starred{/owner}{/repo}\""
+ ]
},
"subscriptions_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/subscriptions\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/subscriptions\""
+ ]
},
"organizations_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/orgs\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/orgs\""
+ ]
},
"received_events_url": {
"type": "string",
- "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/received_events\""
+ "examples": [
+ "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/received_events\""
+ ]
},
"type": {
"type": "string",
- "example": "\"Organization\""
+ "examples": [
+ "\"Organization\""
+ ]
},
"site_admin": {
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
}
}
},
@@ -178487,11 +210646,15 @@
},
"name": {
"type": "string",
- "example": "\"branch/with/protection\""
+ "examples": [
+ "\"branch/with/protection\""
+ ]
},
"protection_url": {
"type": "string",
- "example": "\"https://api.github.com/repos/owner-79e94e2d36b3fd06a32bb213/AAA_Public_Repo/branches/branch/with/protection/protection\""
+ "examples": [
+ "\"https://api.github.com/repos/owner-79e94e2d36b3fd06a32bb213/AAA_Public_Repo/branches/branch/with/protection/protection\""
+ ]
},
"required_signatures": {
"type": "object",
@@ -178499,11 +210662,15 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures"
+ ]
},
"enabled": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
}
},
"required": [
@@ -178519,11 +210686,15 @@
},
"pattern": {
"type": "string",
- "example": "\"mas*\""
+ "examples": [
+ "\"mas*\""
+ ]
},
"required_approving_review_count": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
}
},
"required": [
@@ -178739,16 +210910,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -179110,50 +211287,74 @@
"properties": {
"id": {
"description": "The id of the check.",
- "example": 21,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 21
+ ]
},
"head_sha": {
"description": "The SHA of the commit that is being checked.",
- "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6Q2hlY2tSdW40"
+ "examples": [
+ "MDg6Q2hlY2tSdW40"
+ ]
},
"external_id": {
- "type": "string",
- "example": "42",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "42"
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/check-runs/4"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/check-runs/4"
+ ]
},
"html_url": {
- "type": "string",
- "example": "https://github.com/github/hello-world/runs/4",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://github.com/github/hello-world/runs/4"
+ ]
},
"details_url": {
- "type": "string",
- "example": "https://example.com",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://example.com"
+ ]
},
"status": {
"description": "The phase of the lifecycle that the check is currently in.",
- "example": "queued",
"type": "string",
"enum": [
"queued",
"in_progress",
"completed"
+ ],
+ "examples": [
+ "queued"
]
},
"conclusion": {
- "type": "string",
- "example": "neutral",
+ "type": [
+ "string",
+ "null"
+ ],
"enum": [
"success",
"failure",
@@ -179161,36 +211362,53 @@
"cancelled",
"skipped",
"timed_out",
- "action_required"
+ "action_required",
+ null
],
- "nullable": true
+ "examples": [
+ "neutral"
+ ]
},
"started_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2018-05-04T01:14:52Z",
- "nullable": true
+ "examples": [
+ "2018-05-04T01:14:52Z"
+ ]
},
"completed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2018-05-04T01:14:52Z",
- "nullable": true
+ "examples": [
+ "2018-05-04T01:14:52Z"
+ ]
},
"output": {
"type": "object",
"properties": {
"title": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"summary": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"text": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"annotations_count": {
"type": "integer"
@@ -179210,11 +211428,16 @@
},
"name": {
"description": "The name of the check.",
- "example": "test-coverage",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "test-coverage"
+ ]
},
"check_suite": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -179222,254 +211445,339 @@
},
"required": [
"id"
- ],
- "nullable": true
+ ]
},
"app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"pull_requests": {
"type": "array",
@@ -179574,311 +211882,425 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/1"
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/1"
+ ]
},
"id": {
"description": "Unique identifier of the deployment",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOkRlcGxveW1lbnQx"
+ "examples": [
+ "MDEwOkRlcGxveW1lbnQx"
+ ]
},
"task": {
"description": "Parameter to specify a task to execute",
- "example": "deploy",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "deploy"
+ ]
},
"original_environment": {
"type": "string",
- "example": "staging"
+ "examples": [
+ "staging"
+ ]
},
"environment": {
"description": "Name for the target deployment environment.",
- "example": "production",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "production"
+ ]
},
"description": {
- "type": "string",
- "example": "Deploy request from hubot",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Deploy request from hubot"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2012-07-20T01:19:13Z"
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2012-07-20T01:19:13Z"
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
},
"statuses_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/1/statuses"
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/1/statuses"
+ ]
},
"repository_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example"
+ "examples": [
+ "https://api.github.com/repos/octocat/example"
+ ]
},
"transient_environment": {
"description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false.",
- "example": true,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"production_environment": {
"description": "Specifies if the given environment is one that end-users directly interact with. Default: false.",
- "example": true,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -180165,50 +212587,74 @@
"properties": {
"id": {
"description": "The id of the check.",
- "example": 21,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 21
+ ]
},
"head_sha": {
"description": "The SHA of the commit that is being checked.",
- "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6Q2hlY2tSdW40"
+ "examples": [
+ "MDg6Q2hlY2tSdW40"
+ ]
},
"external_id": {
- "type": "string",
- "example": "42",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "42"
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/check-runs/4"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/check-runs/4"
+ ]
},
"html_url": {
- "type": "string",
- "example": "https://github.com/github/hello-world/runs/4",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://github.com/github/hello-world/runs/4"
+ ]
},
"details_url": {
- "type": "string",
- "example": "https://example.com",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://example.com"
+ ]
},
"status": {
"description": "The phase of the lifecycle that the check is currently in.",
- "example": "queued",
"type": "string",
"enum": [
"queued",
"in_progress",
"completed"
+ ],
+ "examples": [
+ "queued"
]
},
"conclusion": {
- "type": "string",
- "example": "neutral",
+ "type": [
+ "string",
+ "null"
+ ],
"enum": [
"success",
"failure",
@@ -180216,36 +212662,53 @@
"cancelled",
"skipped",
"timed_out",
- "action_required"
+ "action_required",
+ null
],
- "nullable": true
+ "examples": [
+ "neutral"
+ ]
},
"started_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2018-05-04T01:14:52Z",
- "nullable": true
+ "examples": [
+ "2018-05-04T01:14:52Z"
+ ]
},
"completed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2018-05-04T01:14:52Z",
- "nullable": true
+ "examples": [
+ "2018-05-04T01:14:52Z"
+ ]
},
"output": {
"type": "object",
"properties": {
"title": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"summary": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"text": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"annotations_count": {
"type": "integer"
@@ -180265,11 +212728,16 @@
},
"name": {
"description": "The name of the check.",
- "example": "test-coverage",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "test-coverage"
+ ]
},
"check_suite": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -180277,254 +212745,339 @@
},
"required": [
"id"
- ],
- "nullable": true
+ ]
},
"app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"pull_requests": {
"type": "array",
@@ -180629,311 +213182,425 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/1"
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/1"
+ ]
},
"id": {
"description": "Unique identifier of the deployment",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOkRlcGxveW1lbnQx"
+ "examples": [
+ "MDEwOkRlcGxveW1lbnQx"
+ ]
},
"task": {
"description": "Parameter to specify a task to execute",
- "example": "deploy",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "deploy"
+ ]
},
"original_environment": {
"type": "string",
- "example": "staging"
+ "examples": [
+ "staging"
+ ]
},
"environment": {
"description": "Name for the target deployment environment.",
- "example": "production",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "production"
+ ]
},
"description": {
- "type": "string",
- "example": "Deploy request from hubot",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Deploy request from hubot"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2012-07-20T01:19:13Z"
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2012-07-20T01:19:13Z"
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
},
"statuses_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/1/statuses"
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/1/statuses"
+ ]
},
"repository_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example"
+ "examples": [
+ "https://api.github.com/repos/octocat/example"
+ ]
},
"transient_environment": {
"description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false.",
- "example": true,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"production_environment": {
"description": "Specifies if the given environment is one that end-users directly interact with. Default: false.",
- "example": true,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -181381,50 +214048,74 @@
"properties": {
"id": {
"description": "The id of the check.",
- "example": 21,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 21
+ ]
},
"head_sha": {
"description": "The SHA of the commit that is being checked.",
- "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6Q2hlY2tSdW40"
+ "examples": [
+ "MDg6Q2hlY2tSdW40"
+ ]
},
"external_id": {
- "type": "string",
- "example": "42",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "42"
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/check-runs/4"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/check-runs/4"
+ ]
},
"html_url": {
- "type": "string",
- "example": "https://github.com/github/hello-world/runs/4",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://github.com/github/hello-world/runs/4"
+ ]
},
"details_url": {
- "type": "string",
- "example": "https://example.com",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://example.com"
+ ]
},
"status": {
"description": "The phase of the lifecycle that the check is currently in.",
- "example": "queued",
"type": "string",
"enum": [
"queued",
"in_progress",
"completed"
+ ],
+ "examples": [
+ "queued"
]
},
"conclusion": {
- "type": "string",
- "example": "neutral",
+ "type": [
+ "string",
+ "null"
+ ],
"enum": [
"success",
"failure",
@@ -181432,36 +214123,53 @@
"cancelled",
"skipped",
"timed_out",
- "action_required"
+ "action_required",
+ null
],
- "nullable": true
+ "examples": [
+ "neutral"
+ ]
},
"started_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2018-05-04T01:14:52Z",
- "nullable": true
+ "examples": [
+ "2018-05-04T01:14:52Z"
+ ]
},
"completed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2018-05-04T01:14:52Z",
- "nullable": true
+ "examples": [
+ "2018-05-04T01:14:52Z"
+ ]
},
"output": {
"type": "object",
"properties": {
"title": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"summary": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"text": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"annotations_count": {
"type": "integer"
@@ -181481,11 +214189,16 @@
},
"name": {
"description": "The name of the check.",
- "example": "test-coverage",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "test-coverage"
+ ]
},
"check_suite": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -181493,254 +214206,339 @@
},
"required": [
"id"
- ],
- "nullable": true
+ ]
},
"app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"pull_requests": {
"type": "array",
@@ -181845,311 +214643,425 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/1"
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/1"
+ ]
},
"id": {
"description": "Unique identifier of the deployment",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOkRlcGxveW1lbnQx"
+ "examples": [
+ "MDEwOkRlcGxveW1lbnQx"
+ ]
},
"task": {
"description": "Parameter to specify a task to execute",
- "example": "deploy",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "deploy"
+ ]
},
"original_environment": {
"type": "string",
- "example": "staging"
+ "examples": [
+ "staging"
+ ]
},
"environment": {
"description": "Name for the target deployment environment.",
- "example": "production",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "production"
+ ]
},
"description": {
- "type": "string",
- "example": "Deploy request from hubot",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Deploy request from hubot"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2012-07-20T01:19:13Z"
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2012-07-20T01:19:13Z"
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
},
"statuses_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/1/statuses"
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/1/statuses"
+ ]
},
"repository_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example"
+ "examples": [
+ "https://api.github.com/repos/octocat/example"
+ ]
},
"transient_environment": {
"description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false.",
- "example": true,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"production_environment": {
"description": "Specifies if the given environment is one that end-users directly interact with. Default: false.",
- "example": true,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -182362,45 +215274,75 @@
"properties": {
"path": {
"type": "string",
- "example": "README.md"
+ "examples": [
+ "README.md"
+ ]
},
"start_line": {
"type": "integer",
- "example": 2
+ "examples": [
+ 2
+ ]
},
"end_line": {
"type": "integer",
- "example": 2
+ "examples": [
+ 2
+ ]
},
"start_column": {
- "type": "integer",
- "example": 5,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 5
+ ]
},
"end_column": {
- "type": "integer",
- "example": 10,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 10
+ ]
},
"annotation_level": {
- "type": "string",
- "example": "warning",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "warning"
+ ]
},
"title": {
- "type": "string",
- "example": "Spell Checker",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Spell Checker"
+ ]
},
"message": {
- "type": "string",
- "example": "Check your spelling for 'banaas'.",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Check your spelling for 'banaas'."
+ ]
},
"raw_details": {
- "type": "string",
- "example": "Do you mean 'bananas' or 'banana'?",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Do you mean 'bananas' or 'banana'?"
+ ]
},
"blob_href": {
"type": "string"
@@ -182666,35 +215608,52 @@
"properties": {
"id": {
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOkNoZWNrU3VpdGU1"
+ "examples": [
+ "MDEwOkNoZWNrU3VpdGU1"
+ ]
},
"head_branch": {
- "type": "string",
- "example": "master",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "master"
+ ]
},
"head_sha": {
"description": "The SHA of the head commit that is being checked.",
- "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"
+ ]
},
"status": {
- "type": "string",
- "example": "completed",
+ "type": [
+ "string",
+ "null"
+ ],
"enum": [
"queued",
"in_progress",
- "completed"
+ "completed",
+ null
],
- "nullable": true
+ "examples": [
+ "completed"
+ ]
},
"conclusion": {
- "type": "string",
- "example": "neutral",
+ "type": [
+ "string",
+ "null"
+ ],
"enum": [
"success",
"failure",
@@ -182702,27 +215661,45 @@
"cancelled",
"skipped",
"timed_out",
- "action_required"
+ "action_required",
+ null
],
- "nullable": true
+ "examples": [
+ "neutral"
+ ]
},
"url": {
- "type": "string",
- "example": "https://api.github.com/repos/github/hello-world/check-suites/5",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/check-suites/5"
+ ]
},
"before": {
- "type": "string",
- "example": "146e867f55c26428e5f9fade55a9bbf5e95a7912",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "146e867f55c26428e5f9fade55a9bbf5e95a7912"
+ ]
},
"after": {
- "type": "string",
- "example": "d6fde92930d4715a2b49857d24b940956b26d2d3",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "d6fde92930d4715a2b49857d24b940956b26d2d3"
+ ]
},
"pull_requests": {
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -182814,254 +215791,339 @@
"head",
"base"
]
- },
- "nullable": true
+ }
},
"app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"repository": {
"title": "Minimal Repository",
@@ -183070,19 +216132,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -183090,96 +216160,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -183209,12 +216321,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -183222,129 +216340,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -183352,58 +216528,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -183457,22 +216655,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -183496,894 +216706,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -184392,77 +217528,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -184470,136 +217988,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -184620,25 +218102,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -184649,7 +218141,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -184666,20 +218161,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -184735,14 +218235,18 @@
]
},
"created_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"updated_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"head_commit": {
"title": "Simple Commit",
@@ -184763,7 +218267,10 @@
"format": "date-time"
},
"author": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"name": {
"type": "string"
@@ -184775,11 +218282,13 @@
"required": [
"name",
"email"
- ],
- "nullable": true
+ ]
},
"committer": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"name": {
"type": "string"
@@ -184791,8 +218300,7 @@
"required": [
"name",
"email"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -185157,35 +218665,52 @@
"properties": {
"id": {
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOkNoZWNrU3VpdGU1"
+ "examples": [
+ "MDEwOkNoZWNrU3VpdGU1"
+ ]
},
"head_branch": {
- "type": "string",
- "example": "master",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "master"
+ ]
},
"head_sha": {
"description": "The SHA of the head commit that is being checked.",
- "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"
+ ]
},
"status": {
- "type": "string",
- "example": "completed",
+ "type": [
+ "string",
+ "null"
+ ],
"enum": [
"queued",
"in_progress",
- "completed"
+ "completed",
+ null
],
- "nullable": true
+ "examples": [
+ "completed"
+ ]
},
"conclusion": {
- "type": "string",
- "example": "neutral",
+ "type": [
+ "string",
+ "null"
+ ],
"enum": [
"success",
"failure",
@@ -185193,27 +218718,45 @@
"cancelled",
"skipped",
"timed_out",
- "action_required"
+ "action_required",
+ null
],
- "nullable": true
+ "examples": [
+ "neutral"
+ ]
},
"url": {
- "type": "string",
- "example": "https://api.github.com/repos/github/hello-world/check-suites/5",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/check-suites/5"
+ ]
},
"before": {
- "type": "string",
- "example": "146e867f55c26428e5f9fade55a9bbf5e95a7912",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "146e867f55c26428e5f9fade55a9bbf5e95a7912"
+ ]
},
"after": {
- "type": "string",
- "example": "d6fde92930d4715a2b49857d24b940956b26d2d3",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "d6fde92930d4715a2b49857d24b940956b26d2d3"
+ ]
},
"pull_requests": {
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -185305,254 +218848,339 @@
"head",
"base"
]
- },
- "nullable": true
+ }
},
"app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"repository": {
"title": "Minimal Repository",
@@ -185561,19 +219189,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -185581,96 +219217,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -185700,12 +219378,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -185713,129 +219397,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -185843,58 +219585,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -185948,22 +219712,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -185987,894 +219763,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -186883,77 +220585,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -186961,136 +221045,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -187111,25 +221159,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -187140,7 +221198,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -187157,20 +221218,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -187226,14 +221292,18 @@
]
},
"created_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"updated_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"head_commit": {
"title": "Simple Commit",
@@ -187254,7 +221324,10 @@
"format": "date-time"
},
"author": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"name": {
"type": "string"
@@ -187266,11 +221339,13 @@
"required": [
"name",
"email"
- ],
- "nullable": true
+ ]
},
"committer": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"name": {
"type": "string"
@@ -187282,8 +221357,7 @@
"required": [
"name",
"email"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -187762,19 +221836,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -187782,96 +221864,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -187901,12 +222025,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -187914,129 +222044,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -188044,58 +222232,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -188149,22 +222359,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -188188,894 +222410,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -189084,77 +223232,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -189162,136 +223692,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -189312,25 +223806,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -189341,7 +223845,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -189358,20 +223865,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -189734,35 +224246,52 @@
"properties": {
"id": {
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOkNoZWNrU3VpdGU1"
+ "examples": [
+ "MDEwOkNoZWNrU3VpdGU1"
+ ]
},
"head_branch": {
- "type": "string",
- "example": "master",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "master"
+ ]
},
"head_sha": {
"description": "The SHA of the head commit that is being checked.",
- "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"
+ ]
},
"status": {
- "type": "string",
- "example": "completed",
+ "type": [
+ "string",
+ "null"
+ ],
"enum": [
"queued",
"in_progress",
- "completed"
+ "completed",
+ null
],
- "nullable": true
+ "examples": [
+ "completed"
+ ]
},
"conclusion": {
- "type": "string",
- "example": "neutral",
+ "type": [
+ "string",
+ "null"
+ ],
"enum": [
"success",
"failure",
@@ -189770,27 +224299,45 @@
"cancelled",
"skipped",
"timed_out",
- "action_required"
+ "action_required",
+ null
],
- "nullable": true
+ "examples": [
+ "neutral"
+ ]
},
"url": {
- "type": "string",
- "example": "https://api.github.com/repos/github/hello-world/check-suites/5",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/check-suites/5"
+ ]
},
"before": {
- "type": "string",
- "example": "146e867f55c26428e5f9fade55a9bbf5e95a7912",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "146e867f55c26428e5f9fade55a9bbf5e95a7912"
+ ]
},
"after": {
- "type": "string",
- "example": "d6fde92930d4715a2b49857d24b940956b26d2d3",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "d6fde92930d4715a2b49857d24b940956b26d2d3"
+ ]
},
"pull_requests": {
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -189882,254 +224429,339 @@
"head",
"base"
]
- },
- "nullable": true
+ }
},
"app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"repository": {
"title": "Minimal Repository",
@@ -190138,19 +224770,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -190158,96 +224798,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -190277,12 +224959,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -190290,129 +224978,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -190420,58 +225166,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -190525,22 +225293,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -190564,894 +225344,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -191460,77 +226166,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -191538,136 +226626,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -191688,25 +226740,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -191717,7 +226779,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -191734,20 +226799,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -191803,14 +226873,18 @@
]
},
"created_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"updated_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"head_commit": {
"title": "Simple Commit",
@@ -191831,7 +226905,10 @@
"format": "date-time"
},
"author": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"name": {
"type": "string"
@@ -191843,11 +226920,13 @@
"required": [
"name",
"email"
- ],
- "nullable": true
+ ]
},
"committer": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"name": {
"type": "string"
@@ -191859,8 +226938,7 @@
"required": [
"name",
"email"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -192341,50 +227419,74 @@
"properties": {
"id": {
"description": "The id of the check.",
- "example": 21,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 21
+ ]
},
"head_sha": {
"description": "The SHA of the commit that is being checked.",
- "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6Q2hlY2tSdW40"
+ "examples": [
+ "MDg6Q2hlY2tSdW40"
+ ]
},
"external_id": {
- "type": "string",
- "example": "42",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "42"
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/check-runs/4"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/check-runs/4"
+ ]
},
"html_url": {
- "type": "string",
- "example": "https://github.com/github/hello-world/runs/4",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://github.com/github/hello-world/runs/4"
+ ]
},
"details_url": {
- "type": "string",
- "example": "https://example.com",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://example.com"
+ ]
},
"status": {
"description": "The phase of the lifecycle that the check is currently in.",
- "example": "queued",
"type": "string",
"enum": [
"queued",
"in_progress",
"completed"
+ ],
+ "examples": [
+ "queued"
]
},
"conclusion": {
- "type": "string",
- "example": "neutral",
+ "type": [
+ "string",
+ "null"
+ ],
"enum": [
"success",
"failure",
@@ -192392,36 +227494,53 @@
"cancelled",
"skipped",
"timed_out",
- "action_required"
+ "action_required",
+ null
],
- "nullable": true
+ "examples": [
+ "neutral"
+ ]
},
"started_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2018-05-04T01:14:52Z",
- "nullable": true
+ "examples": [
+ "2018-05-04T01:14:52Z"
+ ]
},
"completed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2018-05-04T01:14:52Z",
- "nullable": true
+ "examples": [
+ "2018-05-04T01:14:52Z"
+ ]
},
"output": {
"type": "object",
"properties": {
"title": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"summary": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"text": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"annotations_count": {
"type": "integer"
@@ -192441,11 +227560,16 @@
},
"name": {
"description": "The name of the check.",
- "example": "test-coverage",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "test-coverage"
+ ]
},
"check_suite": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -192453,254 +227577,339 @@
},
"required": [
"id"
- ],
- "nullable": true
+ ]
},
"app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"pull_requests": {
"type": "array",
@@ -192805,311 +228014,425 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/1"
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/1"
+ ]
},
"id": {
"description": "Unique identifier of the deployment",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOkRlcGxveW1lbnQx"
+ "examples": [
+ "MDEwOkRlcGxveW1lbnQx"
+ ]
},
"task": {
"description": "Parameter to specify a task to execute",
- "example": "deploy",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "deploy"
+ ]
},
"original_environment": {
"type": "string",
- "example": "staging"
+ "examples": [
+ "staging"
+ ]
},
"environment": {
"description": "Name for the target deployment environment.",
- "example": "production",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "production"
+ ]
},
"description": {
- "type": "string",
- "example": "Deploy request from hubot",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Deploy request from hubot"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2012-07-20T01:19:13Z"
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2012-07-20T01:19:13Z"
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
},
"statuses_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/1/statuses"
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/1/statuses"
+ ]
},
"repository_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example"
+ "examples": [
+ "https://api.github.com/repos/octocat/example"
+ ]
},
"transient_environment": {
"description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false.",
- "example": true,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"production_environment": {
"description": "Specifies if the given environment is one that end-users directly interact with. Default: false.",
- "example": true,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -193374,8 +228697,10 @@
"in": "query",
"required": false,
"schema": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data."
}
},
@@ -193509,143 +228834,197 @@
]
},
"fixed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": true
+ "readOnly": true
},
"dismissed_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"dismissed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": true
+ "readOnly": true
},
"dismissed_reason": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "**Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
- "nullable": true,
"enum": [
null,
"false positive",
@@ -193657,8 +229036,10 @@
"type": "object",
"properties": {
"id": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "A unique identifier for the rule used to detect the alert."
},
"name": {
@@ -193666,22 +229047,27 @@
"description": "The name of the rule used to detect the alert."
},
"tags": {
- "nullable": true,
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"description": "A set of tags applicable for the rule.",
"items": {
"type": "string"
}
},
"severity": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The severity of the alert.",
"enum": [
"none",
"note",
"warning",
- "error"
+ "error",
+ null
]
},
"description": {
@@ -193698,13 +229084,17 @@
"description": "The name of the tool used to generate the code scanning analysis."
},
"version": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The version of the tool used to generate the code scanning analysis."
},
"guid": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data."
}
}
@@ -193777,14 +229167,17 @@
"type": "array",
"description": "Classifications that have been applied to the file that triggered the alert.\nFor example identifying it as documentation, or a generated file.",
"items": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "A classification of the file. For example to identify it as generated.",
- "nullable": true,
"enum": [
"source",
"generated",
"test",
- "library"
+ "library",
+ null
]
}
}
@@ -194109,143 +229502,197 @@
]
},
"fixed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": true
+ "readOnly": true
},
"dismissed_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"dismissed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": true
+ "readOnly": true
},
"dismissed_reason": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "**Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
- "nullable": true,
"enum": [
null,
"false positive",
@@ -194257,8 +229704,10 @@
"type": "object",
"properties": {
"id": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "A unique identifier for the rule used to detect the alert."
},
"name": {
@@ -194266,25 +229715,31 @@
"description": "The name of the rule used to detect the alert."
},
"severity": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The severity of the alert.",
"enum": [
"none",
"note",
"warning",
- "error"
+ "error",
+ null
]
},
"security_severity_level": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The security severity of the alert.",
"enum": [
"low",
"medium",
"high",
- "critical"
+ "critical",
+ null
]
},
"description": {
@@ -194296,16 +229751,20 @@
"description": "description of the rule used to detect the alert."
},
"tags": {
- "nullable": true,
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"description": "A set of tags applicable for the rule.",
"items": {
"type": "string"
}
},
"help": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
}
}
@@ -194318,13 +229777,17 @@
"description": "The name of the tool used to generate the code scanning analysis."
},
"version": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The version of the tool used to generate the code scanning analysis."
},
"guid": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data."
}
}
@@ -194397,14 +229860,17 @@
"type": "array",
"description": "Classifications that have been applied to the file that triggered the alert.\nFor example identifying it as documentation, or a generated file.",
"items": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "A classification of the file. For example to identify it as generated.",
- "nullable": true,
"enum": [
"source",
"generated",
"test",
- "library"
+ "library",
+ null
]
}
}
@@ -194642,9 +230108,11 @@
]
},
"dismissed_reason": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "**Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
- "nullable": true,
"enum": [
null,
"false positive",
@@ -194718,143 +230186,197 @@
]
},
"fixed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": true
+ "readOnly": true
},
"dismissed_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"dismissed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
"format": "date-time",
- "readOnly": true,
- "nullable": true
+ "readOnly": true
},
"dismissed_reason": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "**Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
- "nullable": true,
"enum": [
null,
"false positive",
@@ -194866,8 +230388,10 @@
"type": "object",
"properties": {
"id": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "A unique identifier for the rule used to detect the alert."
},
"name": {
@@ -194875,25 +230399,31 @@
"description": "The name of the rule used to detect the alert."
},
"severity": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The severity of the alert.",
"enum": [
"none",
"note",
"warning",
- "error"
+ "error",
+ null
]
},
"security_severity_level": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The security severity of the alert.",
"enum": [
"low",
"medium",
"high",
- "critical"
+ "critical",
+ null
]
},
"description": {
@@ -194905,16 +230435,20 @@
"description": "description of the rule used to detect the alert."
},
"tags": {
- "nullable": true,
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"description": "A set of tags applicable for the rule.",
"items": {
"type": "string"
}
},
"help": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
}
}
@@ -194927,13 +230461,17 @@
"description": "The name of the tool used to generate the code scanning analysis."
},
"version": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The version of the tool used to generate the code scanning analysis."
},
"guid": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data."
}
}
@@ -195006,14 +230544,17 @@
"type": "array",
"description": "Classifications that have been applied to the file that triggered the alert.\nFor example identifying it as documentation, or a generated file.",
"items": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "A classification of the file. For example to identify it as generated.",
- "nullable": true,
"enum": [
"source",
"generated",
"test",
- "library"
+ "library",
+ null
]
}
}
@@ -195336,14 +230877,17 @@
"type": "array",
"description": "Classifications that have been applied to the file that triggered the alert.\nFor example identifying it as documentation, or a generated file.",
"items": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "A classification of the file. For example to identify it as generated.",
- "nullable": true,
"enum": [
"source",
"generated",
"test",
- "library"
+ "library",
+ null
]
}
}
@@ -195529,8 +231073,10 @@
"in": "query",
"required": false,
"schema": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data."
}
},
@@ -195570,7 +231116,9 @@
"schema": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
+ "examples": [
+ "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
+ ]
}
}
],
@@ -195609,7 +231157,9 @@
},
"error": {
"type": "string",
- "example": "error reading field xyz"
+ "examples": [
+ "error reading field xyz"
+ ]
},
"created_at": {
"type": "string",
@@ -195638,7 +231188,9 @@
"sarif_id": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
+ "examples": [
+ "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
+ ]
},
"tool": {
"type": "object",
@@ -195648,13 +231200,17 @@
"description": "The name of the tool used to generate the code scanning analysis."
},
"version": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The version of the tool used to generate the code scanning analysis."
},
"guid": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data."
}
}
@@ -195665,7 +231221,9 @@
"warning": {
"type": "string",
"description": "Warning generated when processing the analysis",
- "example": "123 results were ignored"
+ "examples": [
+ "123 results were ignored"
+ ]
}
},
"required": [
@@ -195895,7 +231453,9 @@
},
"error": {
"type": "string",
- "example": "error reading field xyz"
+ "examples": [
+ "error reading field xyz"
+ ]
},
"created_at": {
"type": "string",
@@ -195924,7 +231484,9 @@
"sarif_id": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
+ "examples": [
+ "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
+ ]
},
"tool": {
"type": "object",
@@ -195934,13 +231496,17 @@
"description": "The name of the tool used to generate the code scanning analysis."
},
"version": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The version of the tool used to generate the code scanning analysis."
},
"guid": {
- "nullable": true,
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data."
}
}
@@ -195951,7 +231517,9 @@
"warning": {
"type": "string",
"description": "Warning generated when processing the analysis",
- "example": "123 results were ignored"
+ "examples": [
+ "123 results were ignored"
+ ]
}
},
"required": [
@@ -196123,8 +231691,10 @@
"description": "Allow deletion if the specified analysis is the last in a set. If you attempt to delete the final analysis in a set without setting this parameter to `true`, you'll get a 400 response with the message: `Analysis is last of its type and deletion may result in the loss of historical alert data. Please specify confirm_delete.`",
"required": false,
"schema": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
],
@@ -196139,18 +231709,22 @@
"type": "object",
"properties": {
"next_analysis_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "Next deletable analysis in chain, without last analysis deletion confirmation",
"format": "uri",
- "readOnly": true,
- "nullable": true
+ "readOnly": true
},
"confirm_delete_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "Next deletable analysis in chain, with last analysis deletion confirmation",
"format": "uri",
- "readOnly": true,
- "nullable": true
+ "readOnly": true
}
},
"required": [
@@ -196201,23 +231775,31 @@
"type": "object",
"properties": {
"message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"documentation_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"detail": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"status": {
"type": "integer"
},
"scimType": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"schemas": {
"type": "array",
@@ -196365,9 +231947,11 @@
},
"checkout_uri": {
"description": "The base directory used in the analysis, as it appears in the SARIF file.\nThis property is used to convert file paths from absolute to relative, so that alerts can be mapped to their correct location in the repository.",
- "example": "file:///github/workspace/",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "file:///github/workspace/"
+ ]
},
"started_at": {
"description": "The time that the analysis run began. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.",
@@ -196399,7 +231983,9 @@
"id": {
"type": "string",
"description": "An identifier for the upload.",
- "example": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
+ "examples": [
+ "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"
+ ]
},
"url": {
"type": "string",
@@ -196565,20 +232151,24 @@
"description": "`pending` files have not yet been processed, while `complete` means results from the SARIF have been stored. `failed` files have either not been processed at all, or could only be partially processed."
},
"analyses_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "The REST API URL for getting the analyses associated with the upload.",
"format": "uri",
- "readOnly": true,
- "nullable": true
+ "readOnly": true
},
"errors": {
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
},
"description": "Any errors that ocurred during processing of the delivery.",
- "readOnly": true,
- "nullable": true
+ "readOnly": true
}
}
},
@@ -196709,38 +232299,54 @@
"line": {
"description": "The line number where this errors occurs.",
"type": "integer",
- "example": 7
+ "examples": [
+ 7
+ ]
},
"column": {
"description": "The column number where this errors occurs.",
"type": "integer",
- "example": 3
+ "examples": [
+ 3
+ ]
},
"source": {
"description": "The contents of the line where the error occurs.",
"type": "string",
- "example": "* user"
+ "examples": [
+ "* user"
+ ]
},
"kind": {
"description": "The type of error.",
"type": "string",
- "example": "Invalid owner"
+ "examples": [
+ "Invalid owner"
+ ]
},
"suggestion": {
"description": "Suggested action to fix the error. This will usually be `null`, but is provided for some common errors.",
- "type": "string",
- "nullable": true,
- "example": "The pattern `/` will never match anything, did you mean `*` instead?"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The pattern `/` will never match anything, did you mean `*` instead?"
+ ]
},
"message": {
"description": "A human-readable description of the error, combining information from multiple fields, laid out for display in a monospaced typeface (for example, a command-line setting).",
"type": "string",
- "example": "Invalid owner on line 7:\n\n * user\n ^"
+ "examples": [
+ "Invalid owner on line 7:\n\n * user\n ^"
+ ]
},
"path": {
"description": "The path of the file where the error occured.",
"type": "string",
- "example": ".github/CODEOWNERS"
+ "examples": [
+ ".github/CODEOWNERS"
+ ]
}
},
"required": [
@@ -196873,24 +232479,36 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"name": {
"description": "Automatically generated name of this codespace.",
"type": "string",
- "example": "monalisa-octocat-hello-world-g4wpq6h95q"
+ "examples": [
+ "monalisa-octocat-hello-world-g4wpq6h95q"
+ ]
},
"display_name": {
"description": "Display name for this codespace.",
- "type": "string",
- "example": "bookish space pancake",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "bookish space pancake"
+ ]
},
"environment_id": {
"description": "UUID identifying this codespace's environment.",
- "type": "string",
- "example": "26a7c758-7299-4a73-b978-5a92a7ae98a0",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "26a7c758-7299-4a73-b978-5a92a7ae98a0"
+ ]
},
"owner": {
"title": "Simple User",
@@ -196898,96 +232516,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -197017,96 +232677,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -197137,19 +232839,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -197157,96 +232867,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -197276,12 +233028,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -197289,129 +233047,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -197419,58 +233235,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -197524,22 +233362,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -197563,894 +233413,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -198459,77 +234235,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -198537,136 +234695,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -198687,25 +234809,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -198716,7 +234848,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -198733,20 +234868,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -198802,84 +234942,117 @@
]
},
"machine": {
- "type": "object",
- "title": "Codespace machine",
- "description": "A description of the machine powering a codespace.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the machine.",
- "example": "standardLinux"
+ "anyOf": [
+ {
+ "type": "null"
},
- "display_name": {
- "type": "string",
- "description": "The display name of the machine includes cores, memory, and storage.",
- "example": "4 cores, 8 GB RAM, 64 GB storage"
- },
- "operating_system": {
- "type": "string",
- "description": "The operating system of the machine.",
- "example": "linux"
- },
- "storage_in_bytes": {
- "type": "integer",
- "description": "How much storage is available to the codespace.",
- "example": 68719476736
- },
- "memory_in_bytes": {
- "type": "integer",
- "description": "How much memory is available to the codespace.",
- "example": 8589934592
- },
- "cpus": {
- "type": "integer",
- "description": "How many cores are available to the codespace.",
- "example": 4
- },
- "prebuild_availability": {
- "type": "string",
- "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value is the type of prebuild available, or \"none\" if none are available.",
- "example": "blob",
- "enum": [
- "none",
- "blob",
- "pool"
- ],
- "nullable": true
+ {
+ "type": "object",
+ "title": "Codespace machine",
+ "description": "A description of the machine powering a codespace.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the machine.",
+ "examples": [
+ "standardLinux"
+ ]
+ },
+ "display_name": {
+ "type": "string",
+ "description": "The display name of the machine includes cores, memory, and storage.",
+ "examples": [
+ "4 cores, 8 GB RAM, 64 GB storage"
+ ]
+ },
+ "operating_system": {
+ "type": "string",
+ "description": "The operating system of the machine.",
+ "examples": [
+ "linux"
+ ]
+ },
+ "storage_in_bytes": {
+ "type": "integer",
+ "description": "How much storage is available to the codespace.",
+ "examples": [
+ 68719476736
+ ]
+ },
+ "memory_in_bytes": {
+ "type": "integer",
+ "description": "How much memory is available to the codespace.",
+ "examples": [
+ 8589934592
+ ]
+ },
+ "cpus": {
+ "type": "integer",
+ "description": "How many cores are available to the codespace.",
+ "examples": [
+ 4
+ ]
+ },
+ "prebuild_availability": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value is the type of prebuild available, or \"none\" if none are available.",
+ "enum": [
+ "none",
+ "blob",
+ "pool",
+ null
+ ],
+ "examples": [
+ "blob"
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "display_name",
+ "operating_system",
+ "storage_in_bytes",
+ "memory_in_bytes",
+ "cpus",
+ "prebuild_availability"
+ ]
}
- },
- "required": [
- "name",
- "display_name",
- "operating_system",
- "storage_in_bytes",
- "memory_in_bytes",
- "cpus",
- "prebuild_availability"
- ],
- "nullable": true
+ ]
},
"prebuild": {
"description": "Whether the codespace was created from a prebuild.",
- "type": "boolean",
- "example": false,
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "examples": [
+ false
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-01-26T19:01:12Z"
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2011-01-26T19:01:12Z"
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"last_used_at": {
"description": "Last known time this codespace was started.",
"type": "string",
"format": "date-time",
- "example": "2011-01-26T19:01:12Z"
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"state": {
"description": "State of this codespace.",
@@ -198902,8 +235075,10 @@
"Updating",
"Rebuilding"
],
- "example": "Available",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Available"
+ ]
},
"url": {
"description": "API URL for this codespace.",
@@ -198917,12 +235092,16 @@
"ahead": {
"description": "The number of commits the local repository is ahead of the remote.",
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"behind": {
"description": "The number of commits the local repository is behind the remote.",
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"has_unpushed_changes": {
"description": "Whether the local repository has unpushed changes.",
@@ -198935,7 +235114,9 @@
"ref": {
"description": "The current branch (or SHA if in detached HEAD state) of the local repository.",
"type": "string",
- "example": "main"
+ "examples": [
+ "main"
+ ]
}
}
},
@@ -198947,14 +235128,20 @@
"WestEurope",
"WestUs2"
],
- "example": "WestUs2",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "WestUs2"
+ ]
},
"idle_timeout_minutes": {
"description": "The number of minutes of inactivity after which this codespace will be automatically stopped.",
- "type": "integer",
- "example": 60,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 60
+ ]
},
"web_url": {
"description": "URL to access this codespace on the web.",
@@ -198978,9 +235165,11 @@
},
"pulls_url": {
"description": "API URL for the Pull Request associated with this codespace, if any.",
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"recent_folders": {
"type": "array",
@@ -198993,11 +235182,13 @@
"properties": {
"allowed_port_privacy_settings": {
"description": "The privacy settings a user can select from when forwarding a port.",
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
- },
- "nullable": true
+ }
}
}
}
@@ -199478,8 +235669,10 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"ref": {
"description": "Git ref (typically a branch name) for this codespace",
@@ -199530,24 +235723,36 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"name": {
"description": "Automatically generated name of this codespace.",
"type": "string",
- "example": "monalisa-octocat-hello-world-g4wpq6h95q"
+ "examples": [
+ "monalisa-octocat-hello-world-g4wpq6h95q"
+ ]
},
"display_name": {
"description": "Display name for this codespace.",
- "type": "string",
- "example": "bookish space pancake",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "bookish space pancake"
+ ]
},
"environment_id": {
"description": "UUID identifying this codespace's environment.",
- "type": "string",
- "example": "26a7c758-7299-4a73-b978-5a92a7ae98a0",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "26a7c758-7299-4a73-b978-5a92a7ae98a0"
+ ]
},
"owner": {
"title": "Simple User",
@@ -199555,96 +235760,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -199674,96 +235921,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -199794,19 +236083,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -199814,96 +236111,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -199933,12 +236272,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -199946,129 +236291,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -200076,58 +236479,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -200181,22 +236606,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -200220,894 +236657,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -201116,77 +237479,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -201194,136 +237939,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -201344,25 +238053,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -201373,7 +238092,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -201390,20 +238112,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -201459,84 +238186,117 @@
]
},
"machine": {
- "type": "object",
- "title": "Codespace machine",
- "description": "A description of the machine powering a codespace.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the machine.",
- "example": "standardLinux"
+ "anyOf": [
+ {
+ "type": "null"
},
- "display_name": {
- "type": "string",
- "description": "The display name of the machine includes cores, memory, and storage.",
- "example": "4 cores, 8 GB RAM, 64 GB storage"
- },
- "operating_system": {
- "type": "string",
- "description": "The operating system of the machine.",
- "example": "linux"
- },
- "storage_in_bytes": {
- "type": "integer",
- "description": "How much storage is available to the codespace.",
- "example": 68719476736
- },
- "memory_in_bytes": {
- "type": "integer",
- "description": "How much memory is available to the codespace.",
- "example": 8589934592
- },
- "cpus": {
- "type": "integer",
- "description": "How many cores are available to the codespace.",
- "example": 4
- },
- "prebuild_availability": {
- "type": "string",
- "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value is the type of prebuild available, or \"none\" if none are available.",
- "example": "blob",
- "enum": [
- "none",
- "blob",
- "pool"
- ],
- "nullable": true
+ {
+ "type": "object",
+ "title": "Codespace machine",
+ "description": "A description of the machine powering a codespace.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the machine.",
+ "examples": [
+ "standardLinux"
+ ]
+ },
+ "display_name": {
+ "type": "string",
+ "description": "The display name of the machine includes cores, memory, and storage.",
+ "examples": [
+ "4 cores, 8 GB RAM, 64 GB storage"
+ ]
+ },
+ "operating_system": {
+ "type": "string",
+ "description": "The operating system of the machine.",
+ "examples": [
+ "linux"
+ ]
+ },
+ "storage_in_bytes": {
+ "type": "integer",
+ "description": "How much storage is available to the codespace.",
+ "examples": [
+ 68719476736
+ ]
+ },
+ "memory_in_bytes": {
+ "type": "integer",
+ "description": "How much memory is available to the codespace.",
+ "examples": [
+ 8589934592
+ ]
+ },
+ "cpus": {
+ "type": "integer",
+ "description": "How many cores are available to the codespace.",
+ "examples": [
+ 4
+ ]
+ },
+ "prebuild_availability": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value is the type of prebuild available, or \"none\" if none are available.",
+ "enum": [
+ "none",
+ "blob",
+ "pool",
+ null
+ ],
+ "examples": [
+ "blob"
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "display_name",
+ "operating_system",
+ "storage_in_bytes",
+ "memory_in_bytes",
+ "cpus",
+ "prebuild_availability"
+ ]
}
- },
- "required": [
- "name",
- "display_name",
- "operating_system",
- "storage_in_bytes",
- "memory_in_bytes",
- "cpus",
- "prebuild_availability"
- ],
- "nullable": true
+ ]
},
"prebuild": {
"description": "Whether the codespace was created from a prebuild.",
- "type": "boolean",
- "example": false,
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "examples": [
+ false
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-01-26T19:01:12Z"
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2011-01-26T19:01:12Z"
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"last_used_at": {
"description": "Last known time this codespace was started.",
"type": "string",
"format": "date-time",
- "example": "2011-01-26T19:01:12Z"
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"state": {
"description": "State of this codespace.",
@@ -201559,8 +238319,10 @@
"Updating",
"Rebuilding"
],
- "example": "Available",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Available"
+ ]
},
"url": {
"description": "API URL for this codespace.",
@@ -201574,12 +238336,16 @@
"ahead": {
"description": "The number of commits the local repository is ahead of the remote.",
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"behind": {
"description": "The number of commits the local repository is behind the remote.",
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"has_unpushed_changes": {
"description": "Whether the local repository has unpushed changes.",
@@ -201592,7 +238358,9 @@
"ref": {
"description": "The current branch (or SHA if in detached HEAD state) of the local repository.",
"type": "string",
- "example": "main"
+ "examples": [
+ "main"
+ ]
}
}
},
@@ -201604,14 +238372,20 @@
"WestEurope",
"WestUs2"
],
- "example": "WestUs2",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "WestUs2"
+ ]
},
"idle_timeout_minutes": {
"description": "The number of minutes of inactivity after which this codespace will be automatically stopped.",
- "type": "integer",
- "example": 60,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 60
+ ]
},
"web_url": {
"description": "URL to access this codespace on the web.",
@@ -201635,9 +238409,11 @@
},
"pulls_url": {
"description": "API URL for the Pull Request associated with this codespace, if any.",
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"recent_folders": {
"type": "array",
@@ -201650,11 +238426,13 @@
"properties": {
"allowed_port_privacy_settings": {
"description": "The privacy settings a user can select from when forwarding a port.",
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
- },
- "nullable": true
+ }
}
}
}
@@ -201848,24 +238626,36 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"name": {
"description": "Automatically generated name of this codespace.",
"type": "string",
- "example": "monalisa-octocat-hello-world-g4wpq6h95q"
+ "examples": [
+ "monalisa-octocat-hello-world-g4wpq6h95q"
+ ]
},
"display_name": {
"description": "Display name for this codespace.",
- "type": "string",
- "example": "bookish space pancake",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "bookish space pancake"
+ ]
},
"environment_id": {
"description": "UUID identifying this codespace's environment.",
- "type": "string",
- "example": "26a7c758-7299-4a73-b978-5a92a7ae98a0",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "26a7c758-7299-4a73-b978-5a92a7ae98a0"
+ ]
},
"owner": {
"title": "Simple User",
@@ -201873,96 +238663,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -201992,96 +238824,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -202112,19 +238986,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -202132,96 +239014,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -202251,12 +239175,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -202264,129 +239194,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -202394,58 +239382,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -202499,22 +239509,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -202538,894 +239560,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -203434,77 +240382,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -203512,136 +240842,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -203662,25 +240956,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -203691,7 +240995,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -203708,20 +241015,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -203777,84 +241089,117 @@
]
},
"machine": {
- "type": "object",
- "title": "Codespace machine",
- "description": "A description of the machine powering a codespace.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the machine.",
- "example": "standardLinux"
+ "anyOf": [
+ {
+ "type": "null"
},
- "display_name": {
- "type": "string",
- "description": "The display name of the machine includes cores, memory, and storage.",
- "example": "4 cores, 8 GB RAM, 64 GB storage"
- },
- "operating_system": {
- "type": "string",
- "description": "The operating system of the machine.",
- "example": "linux"
- },
- "storage_in_bytes": {
- "type": "integer",
- "description": "How much storage is available to the codespace.",
- "example": 68719476736
- },
- "memory_in_bytes": {
- "type": "integer",
- "description": "How much memory is available to the codespace.",
- "example": 8589934592
- },
- "cpus": {
- "type": "integer",
- "description": "How many cores are available to the codespace.",
- "example": 4
- },
- "prebuild_availability": {
- "type": "string",
- "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value is the type of prebuild available, or \"none\" if none are available.",
- "example": "blob",
- "enum": [
- "none",
- "blob",
- "pool"
- ],
- "nullable": true
+ {
+ "type": "object",
+ "title": "Codespace machine",
+ "description": "A description of the machine powering a codespace.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the machine.",
+ "examples": [
+ "standardLinux"
+ ]
+ },
+ "display_name": {
+ "type": "string",
+ "description": "The display name of the machine includes cores, memory, and storage.",
+ "examples": [
+ "4 cores, 8 GB RAM, 64 GB storage"
+ ]
+ },
+ "operating_system": {
+ "type": "string",
+ "description": "The operating system of the machine.",
+ "examples": [
+ "linux"
+ ]
+ },
+ "storage_in_bytes": {
+ "type": "integer",
+ "description": "How much storage is available to the codespace.",
+ "examples": [
+ 68719476736
+ ]
+ },
+ "memory_in_bytes": {
+ "type": "integer",
+ "description": "How much memory is available to the codespace.",
+ "examples": [
+ 8589934592
+ ]
+ },
+ "cpus": {
+ "type": "integer",
+ "description": "How many cores are available to the codespace.",
+ "examples": [
+ 4
+ ]
+ },
+ "prebuild_availability": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value is the type of prebuild available, or \"none\" if none are available.",
+ "enum": [
+ "none",
+ "blob",
+ "pool",
+ null
+ ],
+ "examples": [
+ "blob"
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "display_name",
+ "operating_system",
+ "storage_in_bytes",
+ "memory_in_bytes",
+ "cpus",
+ "prebuild_availability"
+ ]
}
- },
- "required": [
- "name",
- "display_name",
- "operating_system",
- "storage_in_bytes",
- "memory_in_bytes",
- "cpus",
- "prebuild_availability"
- ],
- "nullable": true
+ ]
},
"prebuild": {
"description": "Whether the codespace was created from a prebuild.",
- "type": "boolean",
- "example": false,
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ],
+ "examples": [
+ false
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-01-26T19:01:12Z"
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2011-01-26T19:01:12Z"
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"last_used_at": {
"description": "Last known time this codespace was started.",
"type": "string",
"format": "date-time",
- "example": "2011-01-26T19:01:12Z"
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"state": {
"description": "State of this codespace.",
@@ -203877,8 +241222,10 @@
"Updating",
"Rebuilding"
],
- "example": "Available",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Available"
+ ]
},
"url": {
"description": "API URL for this codespace.",
@@ -203892,12 +241239,16 @@
"ahead": {
"description": "The number of commits the local repository is ahead of the remote.",
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"behind": {
"description": "The number of commits the local repository is behind the remote.",
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"has_unpushed_changes": {
"description": "Whether the local repository has unpushed changes.",
@@ -203910,7 +241261,9 @@
"ref": {
"description": "The current branch (or SHA if in detached HEAD state) of the local repository.",
"type": "string",
- "example": "main"
+ "examples": [
+ "main"
+ ]
}
}
},
@@ -203922,14 +241275,20 @@
"WestEurope",
"WestUs2"
],
- "example": "WestUs2",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "WestUs2"
+ ]
},
"idle_timeout_minutes": {
"description": "The number of minutes of inactivity after which this codespace will be automatically stopped.",
- "type": "integer",
- "example": 60,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 60
+ ]
},
"web_url": {
"description": "URL to access this codespace on the web.",
@@ -203953,9 +241312,11 @@
},
"pulls_url": {
"description": "API URL for the Pull Request associated with this codespace, if any.",
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"recent_folders": {
"type": "array",
@@ -203968,11 +241329,13 @@
"properties": {
"allowed_port_privacy_settings": {
"description": "The privacy settings a user can select from when forwarding a port.",
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
- },
- "nullable": true
+ }
}
}
}
@@ -204277,7 +241640,9 @@
"in": "query",
"schema": {
"type": "string",
- "example": "WestUs2"
+ "examples": [
+ "WestUs2"
+ ]
}
}
],
@@ -204306,43 +241671,60 @@
"name": {
"type": "string",
"description": "The name of the machine.",
- "example": "standardLinux"
+ "examples": [
+ "standardLinux"
+ ]
},
"display_name": {
"type": "string",
"description": "The display name of the machine includes cores, memory, and storage.",
- "example": "4 cores, 8 GB RAM, 64 GB storage"
+ "examples": [
+ "4 cores, 8 GB RAM, 64 GB storage"
+ ]
},
"operating_system": {
"type": "string",
"description": "The operating system of the machine.",
- "example": "linux"
+ "examples": [
+ "linux"
+ ]
},
"storage_in_bytes": {
"type": "integer",
"description": "How much storage is available to the codespace.",
- "example": 68719476736
+ "examples": [
+ 68719476736
+ ]
},
"memory_in_bytes": {
"type": "integer",
"description": "How much memory is available to the codespace.",
- "example": 8589934592
+ "examples": [
+ 8589934592
+ ]
},
"cpus": {
"type": "integer",
"description": "How many cores are available to the codespace.",
- "example": 4
+ "examples": [
+ 4
+ ]
},
"prebuild_availability": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value is the type of prebuild available, or \"none\" if none are available.",
- "example": "blob",
"enum": [
"none",
"blob",
- "pool"
+ "pool",
+ null
],
- "nullable": true
+ "examples": [
+ "blob"
+ ]
}
},
"required": [
@@ -204579,88 +241961,128 @@
"properties": {
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
@@ -204692,7 +242114,9 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
}
},
"required": [
@@ -204909,7 +242333,9 @@
},
"permissions": {
"type": "string",
- "example": "\"push\""
+ "examples": [
+ "\"push\""
+ ]
}
}
}
@@ -204928,8 +242354,10 @@
"properties": {
"id": {
"description": "Unique identifier of the repository invitation.",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"repository": {
"title": "Minimal Repository",
@@ -204938,19 +242366,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -204958,96 +242394,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -205077,12 +242555,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -205090,129 +242574,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -205220,58 +242762,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -205325,22 +242889,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -205364,894 +242940,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -206260,77 +243762,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -206338,136 +244222,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -206488,25 +244336,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -206517,7 +244375,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -206534,20 +244395,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -206603,248 +244469,343 @@
]
},
"invitee": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"inviter": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"permissions": {
"description": "The permission associated with the invitation.",
- "example": "read",
"type": "string",
"enum": [
"read",
@@ -206852,12 +244813,17 @@
"admin",
"triage",
"maintain"
+ ],
+ "examples": [
+ "read"
]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-06-13T14:52:50-05:00"
+ "examples": [
+ "2016-06-13T14:52:50-05:00"
+ ]
},
"expired": {
"description": "Whether or not the invitation has expired",
@@ -206865,12 +244831,16 @@
},
"url": {
"description": "URL for the repository invitation",
- "example": "https://api.github.com/user/repository-invitations/1",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/user/repository-invitations/1"
+ ]
},
"html_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World/invitations"
+ "examples": [
+ "https://github.com/octocat/Hello-World/invitations"
+ ]
},
"node_id": {
"type": "string"
@@ -207060,16 +245030,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -207222,153 +245198,203 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"user": {
- "title": "Collaborator",
- "description": "Collaborator",
- "type": "object",
- "properties": {
- "login": {
- "type": "string",
- "example": "octocat"
+ "anyOf": [
+ {
+ "type": "null"
},
- "id": {
- "type": "integer",
- "example": 1
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "name": {
- "nullable": true,
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "permissions": {
+ {
+ "title": "Collaborator",
+ "description": "Collaborator",
"type": "object",
"properties": {
- "pull": {
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
"type": "boolean"
},
- "triage": {
- "type": "boolean"
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "admin": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "pull",
+ "push",
+ "admin"
+ ]
},
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "admin": {
- "type": "boolean"
+ "role_name": {
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
}
},
"required": [
- "pull",
- "push",
- "admin"
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url",
+ "role_name"
]
- },
- "role_name": {
- "type": "string",
- "example": "admin"
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url",
- "role_name"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -207521,139 +245547,193 @@
"type": "string"
},
"path": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"position": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"line": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"commit_id": {
"type": "string"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"created_at": {
"type": "string",
@@ -207666,7 +245746,6 @@
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -207677,6 +245756,9 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
},
"reactions": {
@@ -207873,139 +245955,193 @@
"type": "string"
},
"path": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"position": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"line": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"commit_id": {
"type": "string"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"created_at": {
"type": "string",
@@ -208018,7 +246154,6 @@
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -208029,6 +246164,9 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
},
"reactions": {
@@ -208260,139 +246398,193 @@
"type": "string"
},
"path": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"position": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"line": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"commit_id": {
"type": "string"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"created_at": {
"type": "string",
@@ -208405,7 +246597,6 @@
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -208416,6 +246607,9 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
},
"reactions": {
@@ -208726,135 +246920,186 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6UmVhY3Rpb24x"
+ "examples": [
+ "MDg6UmVhY3Rpb24x"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"content": {
"description": "The reaction to use",
- "example": "heart",
"type": "string",
"enum": [
"+1",
@@ -208865,12 +247110,17 @@
"hooray",
"rocket",
"eyes"
+ ],
+ "examples": [
+ "heart"
]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-05-20T20:09:31Z"
+ "examples": [
+ "2016-05-20T20:09:31Z"
+ ]
}
},
"required": [
@@ -209045,135 +247295,186 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6UmVhY3Rpb24x"
+ "examples": [
+ "MDg6UmVhY3Rpb24x"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"content": {
"description": "The reaction to use",
- "example": "heart",
"type": "string",
"enum": [
"+1",
@@ -209184,12 +247485,17 @@
"hooray",
"rocket",
"eyes"
+ ],
+ "examples": [
+ "heart"
]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-05-20T20:09:31Z"
+ "examples": [
+ "2016-05-20T20:09:31Z"
+ ]
}
},
"required": [
@@ -209244,135 +247550,186 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6UmVhY3Rpb24x"
+ "examples": [
+ "MDg6UmVhY3Rpb24x"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"content": {
"description": "The reaction to use",
- "example": "heart",
"type": "string",
"enum": [
"+1",
@@ -209383,12 +247740,17 @@
"hooray",
"rocket",
"eyes"
+ ],
+ "examples": [
+ "heart"
]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-05-20T20:09:31Z"
+ "examples": [
+ "2016-05-20T20:09:31Z"
+ ]
}
},
"required": [
@@ -209499,16 +247861,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -209702,25 +248070,35 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"sha": {
"type": "string",
- "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ=="
+ "examples": [
+ "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ=="
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"comments_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments"
+ ]
},
"commit": {
"type": "object",
@@ -209728,67 +248106,101 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"author": {
- "title": "Git User",
- "description": "Metaproperties for Git author/committer information.",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "example": "\"Chris Wanstrath\""
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "type": "string",
- "example": "\"chris@ozmm.org\""
- },
- "date": {
- "type": "string",
- "example": "\"2007-10-29T02:42:39.000-07:00\""
+ {
+ "title": "Git User",
+ "description": "Metaproperties for Git author/committer information.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "examples": [
+ "\"Chris Wanstrath\""
+ ]
+ },
+ "email": {
+ "type": "string",
+ "examples": [
+ "\"chris@ozmm.org\""
+ ]
+ },
+ "date": {
+ "type": "string",
+ "examples": [
+ "\"2007-10-29T02:42:39.000-07:00\""
+ ]
+ }
+ }
}
- },
- "nullable": true
+ ]
},
"committer": {
- "title": "Git User",
- "description": "Metaproperties for Git author/committer information.",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "example": "\"Chris Wanstrath\""
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "type": "string",
- "example": "\"chris@ozmm.org\""
- },
- "date": {
- "type": "string",
- "example": "\"2007-10-29T02:42:39.000-07:00\""
+ {
+ "title": "Git User",
+ "description": "Metaproperties for Git author/committer information.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "examples": [
+ "\"Chris Wanstrath\""
+ ]
+ },
+ "email": {
+ "type": "string",
+ "examples": [
+ "\"chris@ozmm.org\""
+ ]
+ },
+ "date": {
+ "type": "string",
+ "examples": [
+ "\"2007-10-29T02:42:39.000-07:00\""
+ ]
+ }
+ }
}
- },
- "nullable": true
+ ]
},
"message": {
"type": "string",
- "example": "Fix all the bugs"
+ "examples": [
+ "Fix all the bugs"
+ ]
},
"comment_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"tree": {
"type": "object",
"properties": {
"sha": {
"type": "string",
- "example": "827efc6d56897b048c772eb4087f854f46256132"
+ "examples": [
+ "827efc6d56897b048c772eb4087f854f46256132"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/tree/827efc6d56897b048c772eb4087f854f46256132"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/tree/827efc6d56897b048c772eb4087f854f46256132"
+ ]
}
},
"required": [
@@ -209807,12 +248219,16 @@
"type": "string"
},
"payload": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"signature": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -209833,244 +248249,340 @@
]
},
"author": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"committer": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"parents": {
"type": "array",
@@ -210079,17 +248591,23 @@
"properties": {
"sha": {
"type": "string",
- "example": "7638417db6d59f3c431d3e1f261cc637155684cd"
+ "examples": [
+ "7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/7638417db6d59f3c431d3e1f261cc637155684cd"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
+ "examples": [
+ "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
}
},
"required": [
@@ -210121,11 +248639,15 @@
"properties": {
"sha": {
"type": "string",
- "example": "bbcd538c8e72b8c175046e27cc8f907076331401"
+ "examples": [
+ "bbcd538c8e72b8c175046e27cc8f907076331401"
+ ]
},
"filename": {
"type": "string",
- "example": "file1.txt"
+ "examples": [
+ "file1.txt"
+ ]
},
"status": {
"type": "string",
@@ -210138,42 +248660,60 @@
"changed",
"unchanged"
],
- "example": "added"
+ "examples": [
+ "added"
+ ]
},
"additions": {
"type": "integer",
- "example": 103
+ "examples": [
+ 103
+ ]
},
"deletions": {
"type": "integer",
- "example": 21
+ "examples": [
+ 21
+ ]
},
"changes": {
"type": "integer",
- "example": 124
+ "examples": [
+ 124
+ ]
},
"blob_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ "examples": [
+ "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ ]
},
"raw_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ "examples": [
+ "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ ]
},
"contents_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"patch": {
"type": "string",
- "example": "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test"
+ "examples": [
+ "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test"
+ ]
},
"previous_filename": {
"type": "string",
- "example": "file.txt"
+ "examples": [
+ "file.txt"
+ ]
}
},
"required": [
@@ -210355,23 +248895,31 @@
"type": "object",
"properties": {
"message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"documentation_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"detail": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"status": {
"type": "integer"
},
"scimType": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"schemas": {
"type": "array",
@@ -210588,16 +249136,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -210709,139 +249263,193 @@
"type": "string"
},
"path": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"position": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"line": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"commit_id": {
"type": "string"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"created_at": {
"type": "string",
@@ -210854,7 +249462,6 @@
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -210865,6 +249472,9 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
},
"reactions": {
@@ -211097,139 +249707,193 @@
"type": "string"
},
"path": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"position": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"line": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"commit_id": {
"type": "string"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"created_at": {
"type": "string",
@@ -211242,7 +249906,6 @@
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -211253,6 +249916,9 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
},
"reactions": {
@@ -211441,16 +250107,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -211548,200 +250220,284 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1347"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/pulls/1347"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOlB1bGxSZXF1ZXN0MQ=="
+ "examples": [
+ "MDExOlB1bGxSZXF1ZXN0MQ=="
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/pull/1347"
+ "examples": [
+ "https://github.com/octocat/Hello-World/pull/1347"
+ ]
},
"diff_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/pull/1347.diff"
+ "examples": [
+ "https://github.com/octocat/Hello-World/pull/1347.diff"
+ ]
},
"patch_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/pull/1347.patch"
+ "examples": [
+ "https://github.com/octocat/Hello-World/pull/1347.patch"
+ ]
},
"issue_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/issues/1347"
+ ]
},
"commits_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits"
+ ]
},
"review_comments_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments"
+ ]
},
"review_comment_url": {
"type": "string",
- "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}"
+ ]
},
"comments_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments"
+ ]
},
"statuses_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"number": {
"type": "integer",
- "example": 1347
+ "examples": [
+ 1347
+ ]
},
"state": {
"type": "string",
- "example": "open"
+ "examples": [
+ "open"
+ ]
},
"locked": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"title": {
"type": "string",
- "example": "new-feature"
+ "examples": [
+ "new-feature"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"body": {
- "type": "string",
- "example": "Please pull these awesome changes",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Please pull these awesome changes"
+ ]
},
"labels": {
"type": "array",
@@ -211783,154 +250539,514 @@
}
},
"milestone": {
- "title": "Milestone",
- "description": "A collection of related issues and pull requests.",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ "anyOf": [
+ {
+ "type": "null"
},
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World/milestones/v1.0"
+ {
+ "title": "Milestone",
+ "description": "A collection of related issues and pull requests.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World/milestones/v1.0"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1002604
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDk6TWlsZXN0b25lMTAwMjYwNA=="
+ ]
+ },
+ "number": {
+ "description": "The number of the milestone.",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "state": {
+ "description": "The state of the milestone.",
+ "type": "string",
+ "enum": [
+ "open",
+ "closed"
+ ],
+ "default": "open",
+ "examples": [
+ "open"
+ ]
+ },
+ "title": {
+ "description": "The title of the milestone.",
+ "type": "string",
+ "examples": [
+ "v1.0"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Tracking milestone for version 1.0"
+ ]
+ },
+ "creator": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "open_issues": {
+ "type": "integer",
+ "examples": [
+ 4
+ ]
+ },
+ "closed_issues": {
+ "type": "integer",
+ "examples": [
+ 8
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-10T20:09:31Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2013-02-12T13:22:01Z"
+ ]
+ },
+ "due_on": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2012-10-09T23:39:01Z"
+ ]
+ }
+ },
+ "required": [
+ "closed_issues",
+ "creator",
+ "description",
+ "due_on",
+ "closed_at",
+ "id",
+ "node_id",
+ "labels_url",
+ "html_url",
+ "number",
+ "open_issues",
+ "state",
+ "title",
+ "url",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ ]
+ },
+ "active_lock_reason": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "too heated"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
+ },
+ "merged_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
+ },
+ "merge_commit_sha": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "e5bd3914e2e596debea16f433f57875b5b90bcd6"
+ ]
+ },
+ "assignee": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "labels_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
- },
- "id": {
- "type": "integer",
- "example": 1002604
- },
- "node_id": {
- "type": "string",
- "example": "MDk6TWlsZXN0b25lMTAwMjYwNA=="
- },
- "number": {
- "description": "The number of the milestone.",
- "type": "integer",
- "example": 42
- },
- "state": {
- "description": "The state of the milestone.",
- "example": "open",
- "type": "string",
- "enum": [
- "open",
- "closed"
- ],
- "default": "open"
- },
- "title": {
- "description": "The title of the milestone.",
- "example": "v1.0",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "Tracking milestone for version 1.0",
- "nullable": true
- },
- "creator": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -211952,310 +251068,153 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
- },
- "open_issues": {
- "type": "integer",
- "example": 4
- },
- "closed_issues": {
- "type": "integer",
- "example": 8
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-10T20:09:31Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2014-03-03T18:58:10Z"
- },
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2013-02-12T13:22:01Z",
- "nullable": true
- },
- "due_on": {
- "type": "string",
- "format": "date-time",
- "example": "2012-10-09T23:39:01Z",
- "nullable": true
+ ]
}
- },
- "required": [
- "closed_issues",
- "creator",
- "description",
- "due_on",
- "closed_at",
- "id",
- "node_id",
- "labels_url",
- "html_url",
- "number",
- "open_issues",
- "state",
- "title",
- "url",
- "created_at",
- "updated_at"
- ],
- "nullable": true
- },
- "active_lock_reason": {
- "type": "string",
- "example": "too heated",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z"
- },
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "merged_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "merge_commit_sha": {
- "type": "string",
- "example": "e5bd3914e2e596debea16f433f57875b5b90bcd6",
- "nullable": true
- },
- "assignee": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"assignees": {
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -212278,107 +251237,151 @@
"type",
"url"
]
- },
- "nullable": true
+ }
},
"requested_reviewers": {
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -212401,11 +251404,13 @@
"type",
"url"
]
- },
- "nullable": true
+ }
},
"requested_teams": {
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Team",
"description": "Groups of organization members that gives permissions on specified repositories.",
@@ -212424,8 +251429,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -212467,7 +251474,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -212477,83 +251486,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -212569,8 +251610,7 @@
"slug",
"parent"
]
- },
- "nullable": true
+ }
},
"head": {
"type": "object",
@@ -212588,183 +251628,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -212800,96 +251916,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -212921,12 +252079,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -212934,228 +252098,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -213167,19 +252437,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -213188,7 +252464,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -213205,32 +252483,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -213563,25 +252857,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -213604,7 +252906,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -213687,124 +252991,172 @@
"type": "string"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -213831,183 +253183,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -214043,96 +253471,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -214164,12 +253634,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -214177,228 +253653,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -214410,19 +253992,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -214431,7 +254019,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -214448,32 +254038,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -214806,25 +254412,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -214847,7 +254461,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -214930,124 +254546,172 @@
"type": "string"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -215180,7 +254844,6 @@
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -215191,12 +254854,18 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
},
"auto_merge": {
"title": "Auto merge",
"description": "The status of auto merging a pull request.",
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"enabled_by": {
"title": "Simple User",
@@ -215204,96 +254873,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -215340,13 +255051,14 @@
"merge_method",
"commit_title",
"commit_message"
- ],
- "nullable": true
+ ]
},
"draft": {
"description": "Indicates whether or not the pull request is a draft.",
- "example": false,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ false
+ ]
}
},
"required": [
@@ -215999,25 +255711,35 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"sha": {
"type": "string",
- "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ=="
+ "examples": [
+ "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ=="
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"comments_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments"
+ ]
},
"commit": {
"type": "object",
@@ -216025,67 +255747,101 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"author": {
- "title": "Git User",
- "description": "Metaproperties for Git author/committer information.",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "example": "\"Chris Wanstrath\""
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "type": "string",
- "example": "\"chris@ozmm.org\""
- },
- "date": {
- "type": "string",
- "example": "\"2007-10-29T02:42:39.000-07:00\""
+ {
+ "title": "Git User",
+ "description": "Metaproperties for Git author/committer information.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "examples": [
+ "\"Chris Wanstrath\""
+ ]
+ },
+ "email": {
+ "type": "string",
+ "examples": [
+ "\"chris@ozmm.org\""
+ ]
+ },
+ "date": {
+ "type": "string",
+ "examples": [
+ "\"2007-10-29T02:42:39.000-07:00\""
+ ]
+ }
+ }
}
- },
- "nullable": true
+ ]
},
"committer": {
- "title": "Git User",
- "description": "Metaproperties for Git author/committer information.",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "example": "\"Chris Wanstrath\""
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "type": "string",
- "example": "\"chris@ozmm.org\""
- },
- "date": {
- "type": "string",
- "example": "\"2007-10-29T02:42:39.000-07:00\""
+ {
+ "title": "Git User",
+ "description": "Metaproperties for Git author/committer information.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "examples": [
+ "\"Chris Wanstrath\""
+ ]
+ },
+ "email": {
+ "type": "string",
+ "examples": [
+ "\"chris@ozmm.org\""
+ ]
+ },
+ "date": {
+ "type": "string",
+ "examples": [
+ "\"2007-10-29T02:42:39.000-07:00\""
+ ]
+ }
+ }
}
- },
- "nullable": true
+ ]
},
"message": {
"type": "string",
- "example": "Fix all the bugs"
+ "examples": [
+ "Fix all the bugs"
+ ]
},
"comment_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"tree": {
"type": "object",
"properties": {
"sha": {
"type": "string",
- "example": "827efc6d56897b048c772eb4087f854f46256132"
+ "examples": [
+ "827efc6d56897b048c772eb4087f854f46256132"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/tree/827efc6d56897b048c772eb4087f854f46256132"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/tree/827efc6d56897b048c772eb4087f854f46256132"
+ ]
}
},
"required": [
@@ -216104,12 +255860,16 @@
"type": "string"
},
"payload": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"signature": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -216130,244 +255890,340 @@
]
},
"author": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"committer": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"parents": {
"type": "array",
@@ -216376,17 +256232,23 @@
"properties": {
"sha": {
"type": "string",
- "example": "7638417db6d59f3c431d3e1f261cc637155684cd"
+ "examples": [
+ "7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/7638417db6d59f3c431d3e1f261cc637155684cd"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
+ "examples": [
+ "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
}
},
"required": [
@@ -216418,11 +256280,15 @@
"properties": {
"sha": {
"type": "string",
- "example": "bbcd538c8e72b8c175046e27cc8f907076331401"
+ "examples": [
+ "bbcd538c8e72b8c175046e27cc8f907076331401"
+ ]
},
"filename": {
"type": "string",
- "example": "file1.txt"
+ "examples": [
+ "file1.txt"
+ ]
},
"status": {
"type": "string",
@@ -216435,42 +256301,60 @@
"changed",
"unchanged"
],
- "example": "added"
+ "examples": [
+ "added"
+ ]
},
"additions": {
"type": "integer",
- "example": 103
+ "examples": [
+ 103
+ ]
},
"deletions": {
"type": "integer",
- "example": 21
+ "examples": [
+ 21
+ ]
},
"changes": {
"type": "integer",
- "example": 124
+ "examples": [
+ 124
+ ]
},
"blob_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ "examples": [
+ "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ ]
},
"raw_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ "examples": [
+ "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ ]
},
"contents_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"patch": {
"type": "string",
- "example": "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test"
+ "examples": [
+ "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test"
+ ]
},
"previous_filename": {
"type": "string",
- "example": "file.txt"
+ "examples": [
+ "file.txt"
+ ]
}
},
"required": [
@@ -216646,16 +256530,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -216858,50 +256748,74 @@
"properties": {
"id": {
"description": "The id of the check.",
- "example": 21,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 21
+ ]
},
"head_sha": {
"description": "The SHA of the commit that is being checked.",
- "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6Q2hlY2tSdW40"
+ "examples": [
+ "MDg6Q2hlY2tSdW40"
+ ]
},
"external_id": {
- "type": "string",
- "example": "42",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "42"
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/check-runs/4"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/check-runs/4"
+ ]
},
"html_url": {
- "type": "string",
- "example": "https://github.com/github/hello-world/runs/4",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://github.com/github/hello-world/runs/4"
+ ]
},
"details_url": {
- "type": "string",
- "example": "https://example.com",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://example.com"
+ ]
},
"status": {
"description": "The phase of the lifecycle that the check is currently in.",
- "example": "queued",
"type": "string",
"enum": [
"queued",
"in_progress",
"completed"
+ ],
+ "examples": [
+ "queued"
]
},
"conclusion": {
- "type": "string",
- "example": "neutral",
+ "type": [
+ "string",
+ "null"
+ ],
"enum": [
"success",
"failure",
@@ -216909,36 +256823,53 @@
"cancelled",
"skipped",
"timed_out",
- "action_required"
+ "action_required",
+ null
],
- "nullable": true
+ "examples": [
+ "neutral"
+ ]
},
"started_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2018-05-04T01:14:52Z",
- "nullable": true
+ "examples": [
+ "2018-05-04T01:14:52Z"
+ ]
},
"completed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2018-05-04T01:14:52Z",
- "nullable": true
+ "examples": [
+ "2018-05-04T01:14:52Z"
+ ]
},
"output": {
"type": "object",
"properties": {
"title": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"summary": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"text": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"annotations_count": {
"type": "integer"
@@ -216958,11 +256889,16 @@
},
"name": {
"description": "The name of the check.",
- "example": "test-coverage",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "test-coverage"
+ ]
},
"check_suite": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -216970,254 +256906,339 @@
},
"required": [
"id"
- ],
- "nullable": true
+ ]
},
"app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"pull_requests": {
"type": "array",
@@ -217322,311 +257343,425 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/1"
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/1"
+ ]
},
"id": {
"description": "Unique identifier of the deployment",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOkRlcGxveW1lbnQx"
+ "examples": [
+ "MDEwOkRlcGxveW1lbnQx"
+ ]
},
"task": {
"description": "Parameter to specify a task to execute",
- "example": "deploy",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "deploy"
+ ]
},
"original_environment": {
"type": "string",
- "example": "staging"
+ "examples": [
+ "staging"
+ ]
},
"environment": {
"description": "Name for the target deployment environment.",
- "example": "production",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "production"
+ ]
},
"description": {
- "type": "string",
- "example": "Deploy request from hubot",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Deploy request from hubot"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2012-07-20T01:19:13Z"
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2012-07-20T01:19:13Z"
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
},
"statuses_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/1/statuses"
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/1/statuses"
+ ]
},
"repository_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example"
+ "examples": [
+ "https://api.github.com/repos/octocat/example"
+ ]
},
"transient_environment": {
"description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false.",
- "example": true,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"production_environment": {
"description": "Specifies if the given environment is one that end-users directly interact with. Default: false.",
- "example": true,
- "type": "boolean"
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -217885,35 +258020,52 @@
"properties": {
"id": {
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOkNoZWNrU3VpdGU1"
+ "examples": [
+ "MDEwOkNoZWNrU3VpdGU1"
+ ]
},
"head_branch": {
- "type": "string",
- "example": "master",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "master"
+ ]
},
"head_sha": {
"description": "The SHA of the head commit that is being checked.",
- "example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"
+ ]
},
"status": {
- "type": "string",
- "example": "completed",
+ "type": [
+ "string",
+ "null"
+ ],
"enum": [
"queued",
"in_progress",
- "completed"
+ "completed",
+ null
],
- "nullable": true
+ "examples": [
+ "completed"
+ ]
},
"conclusion": {
- "type": "string",
- "example": "neutral",
+ "type": [
+ "string",
+ "null"
+ ],
"enum": [
"success",
"failure",
@@ -217921,27 +258073,45 @@
"cancelled",
"skipped",
"timed_out",
- "action_required"
+ "action_required",
+ null
],
- "nullable": true
+ "examples": [
+ "neutral"
+ ]
},
"url": {
- "type": "string",
- "example": "https://api.github.com/repos/github/hello-world/check-suites/5",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/check-suites/5"
+ ]
},
"before": {
- "type": "string",
- "example": "146e867f55c26428e5f9fade55a9bbf5e95a7912",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "146e867f55c26428e5f9fade55a9bbf5e95a7912"
+ ]
},
"after": {
- "type": "string",
- "example": "d6fde92930d4715a2b49857d24b940956b26d2d3",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "d6fde92930d4715a2b49857d24b940956b26d2d3"
+ ]
},
"pull_requests": {
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Pull Request Minimal",
"type": "object",
@@ -218033,254 +258203,339 @@
"head",
"base"
]
- },
- "nullable": true
+ }
},
"app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"repository": {
"title": "Minimal Repository",
@@ -218289,19 +258544,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -218309,96 +258572,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -218428,12 +258733,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -218441,129 +258752,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -218571,58 +258940,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -218676,22 +259067,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -218715,894 +259118,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -219611,77 +259940,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -219689,136 +260400,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -219839,25 +260514,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -219868,7 +260553,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -219885,20 +260573,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -219954,14 +260647,18 @@
]
},
"created_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"updated_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"head_commit": {
"title": "Simple Commit",
@@ -219982,7 +260679,10 @@
"format": "date-time"
},
"author": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"name": {
"type": "string"
@@ -219994,11 +260694,13 @@
"required": [
"name",
"email"
- ],
- "nullable": true
+ ]
},
"committer": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"name": {
"type": "string"
@@ -220010,8 +260712,7 @@
"required": [
"name",
"email"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -220346,8 +261047,10 @@
"type": "object",
"properties": {
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"id": {
"type": "integer"
@@ -220366,12 +261069,16 @@
"format": "uri"
},
"required": {
- "type": "boolean",
- "nullable": true
+ "type": [
+ "boolean",
+ "null"
+ ]
},
"avatar_url": {
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri"
},
"url": {
@@ -220414,19 +261121,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -220434,96 +261149,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -220553,12 +261310,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -220566,129 +261329,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -220696,58 +261517,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -220801,22 +261644,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -220840,894 +261695,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -221736,77 +262517,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -221814,136 +262977,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -221964,25 +263091,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -221993,7 +263130,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -222010,20 +263150,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -222315,8 +263460,10 @@
"type": "string"
},
"avatar_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"id": {
"type": "integer"
@@ -222343,124 +263490,172 @@
"type": "string"
},
"creator": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -222604,190 +263799,266 @@
"properties": {
"health_percentage": {
"type": "integer",
- "example": 100
+ "examples": [
+ 100
+ ]
},
"description": {
- "type": "string",
- "example": "My first repository on GitHub!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "My first repository on GitHub!"
+ ]
},
"documentation": {
- "type": "string",
- "example": "example.com",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "example.com"
+ ]
},
"files": {
"type": "object",
"properties": {
"code_of_conduct": {
- "title": "Code Of Conduct Simple",
- "description": "Code of Conduct Simple",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/github/docs/community/code_of_conduct"
+ "anyOf": [
+ {
+ "type": "null"
},
- "key": {
- "type": "string",
- "example": "citizen_code_of_conduct"
- },
- "name": {
- "type": "string",
- "example": "Citizen Code of Conduct"
- },
- "html_url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md"
+ {
+ "title": "Code Of Conduct Simple",
+ "description": "Code of Conduct Simple",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/github/docs/community/code_of_conduct"
+ ]
+ },
+ "key": {
+ "type": "string",
+ "examples": [
+ "citizen_code_of_conduct"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "Citizen Code of Conduct"
+ ]
+ },
+ "html_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md"
+ ]
+ }
+ },
+ "required": [
+ "url",
+ "key",
+ "name",
+ "html_url"
+ ]
}
- },
- "required": [
- "url",
- "key",
- "name",
- "html_url"
- ],
- "nullable": true
+ ]
},
"code_of_conduct_file": {
- "title": "Community Health File",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "format": "uri"
+ "anyOf": [
+ {
+ "type": "null"
},
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "Community Health File",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "url",
+ "html_url"
+ ]
}
- },
- "required": [
- "url",
- "html_url"
- ],
- "nullable": true
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"contributing": {
- "title": "Community Health File",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "format": "uri"
+ "anyOf": [
+ {
+ "type": "null"
},
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "Community Health File",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "url",
+ "html_url"
+ ]
}
- },
- "required": [
- "url",
- "html_url"
- ],
- "nullable": true
+ ]
},
"readme": {
- "title": "Community Health File",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "format": "uri"
+ "anyOf": [
+ {
+ "type": "null"
},
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "Community Health File",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "url",
+ "html_url"
+ ]
}
- },
- "required": [
- "url",
- "html_url"
- ],
- "nullable": true
+ ]
},
"issue_template": {
- "title": "Community Health File",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "format": "uri"
+ "anyOf": [
+ {
+ "type": "null"
},
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "Community Health File",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "url",
+ "html_url"
+ ]
}
- },
- "required": [
- "url",
- "html_url"
- ],
- "nullable": true
+ ]
},
"pull_request_template": {
- "title": "Community Health File",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "format": "uri"
+ "anyOf": [
+ {
+ "type": "null"
},
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "Community Health File",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "url",
+ "html_url"
+ ]
}
- },
- "required": [
- "url",
- "html_url"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -222801,14 +264072,20 @@
]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2017-02-28T19:09:29Z",
- "nullable": true
+ "examples": [
+ "2017-02-28T19:09:29Z"
+ ]
},
"content_reports_enabled": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
}
},
"required": [
@@ -222948,27 +264225,37 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/compare/master...topic"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/compare/master...topic"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/compare/master...topic"
+ "examples": [
+ "https://github.com/octocat/Hello-World/compare/master...topic"
+ ]
},
"permalink_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/compare/octocat:bbcd538c8e72b8c175046e27cc8f907076331401...octocat:0328041d1152db8ae77652d1618a02e57f745f17"
+ "examples": [
+ "https://github.com/octocat/Hello-World/compare/octocat:bbcd538c8e72b8c175046e27cc8f907076331401...octocat:0328041d1152db8ae77652d1618a02e57f745f17"
+ ]
},
"diff_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/compare/master...topic.diff"
+ "examples": [
+ "https://github.com/octocat/Hello-World/compare/master...topic.diff"
+ ]
},
"patch_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/compare/master...topic.patch"
+ "examples": [
+ "https://github.com/octocat/Hello-World/compare/master...topic.patch"
+ ]
},
"base_commit": {
"title": "Commit",
@@ -222978,25 +264265,35 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"sha": {
"type": "string",
- "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ=="
+ "examples": [
+ "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ=="
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"comments_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments"
+ ]
},
"commit": {
"type": "object",
@@ -223004,67 +264301,101 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"author": {
- "title": "Git User",
- "description": "Metaproperties for Git author/committer information.",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "example": "\"Chris Wanstrath\""
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "type": "string",
- "example": "\"chris@ozmm.org\""
- },
- "date": {
- "type": "string",
- "example": "\"2007-10-29T02:42:39.000-07:00\""
+ {
+ "title": "Git User",
+ "description": "Metaproperties for Git author/committer information.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "examples": [
+ "\"Chris Wanstrath\""
+ ]
+ },
+ "email": {
+ "type": "string",
+ "examples": [
+ "\"chris@ozmm.org\""
+ ]
+ },
+ "date": {
+ "type": "string",
+ "examples": [
+ "\"2007-10-29T02:42:39.000-07:00\""
+ ]
+ }
+ }
}
- },
- "nullable": true
+ ]
},
"committer": {
- "title": "Git User",
- "description": "Metaproperties for Git author/committer information.",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "example": "\"Chris Wanstrath\""
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "type": "string",
- "example": "\"chris@ozmm.org\""
- },
- "date": {
- "type": "string",
- "example": "\"2007-10-29T02:42:39.000-07:00\""
+ {
+ "title": "Git User",
+ "description": "Metaproperties for Git author/committer information.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "examples": [
+ "\"Chris Wanstrath\""
+ ]
+ },
+ "email": {
+ "type": "string",
+ "examples": [
+ "\"chris@ozmm.org\""
+ ]
+ },
+ "date": {
+ "type": "string",
+ "examples": [
+ "\"2007-10-29T02:42:39.000-07:00\""
+ ]
+ }
+ }
}
- },
- "nullable": true
+ ]
},
"message": {
"type": "string",
- "example": "Fix all the bugs"
+ "examples": [
+ "Fix all the bugs"
+ ]
},
"comment_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"tree": {
"type": "object",
"properties": {
"sha": {
"type": "string",
- "example": "827efc6d56897b048c772eb4087f854f46256132"
+ "examples": [
+ "827efc6d56897b048c772eb4087f854f46256132"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/tree/827efc6d56897b048c772eb4087f854f46256132"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/tree/827efc6d56897b048c772eb4087f854f46256132"
+ ]
}
},
"required": [
@@ -223083,12 +264414,16 @@
"type": "string"
},
"payload": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"signature": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -223109,244 +264444,340 @@
]
},
"author": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"committer": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"parents": {
"type": "array",
@@ -223355,17 +264786,23 @@
"properties": {
"sha": {
"type": "string",
- "example": "7638417db6d59f3c431d3e1f261cc637155684cd"
+ "examples": [
+ "7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/7638417db6d59f3c431d3e1f261cc637155684cd"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
+ "examples": [
+ "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
}
},
"required": [
@@ -223397,11 +264834,15 @@
"properties": {
"sha": {
"type": "string",
- "example": "bbcd538c8e72b8c175046e27cc8f907076331401"
+ "examples": [
+ "bbcd538c8e72b8c175046e27cc8f907076331401"
+ ]
},
"filename": {
"type": "string",
- "example": "file1.txt"
+ "examples": [
+ "file1.txt"
+ ]
},
"status": {
"type": "string",
@@ -223414,42 +264855,60 @@
"changed",
"unchanged"
],
- "example": "added"
+ "examples": [
+ "added"
+ ]
},
"additions": {
"type": "integer",
- "example": 103
+ "examples": [
+ 103
+ ]
},
"deletions": {
"type": "integer",
- "example": 21
+ "examples": [
+ 21
+ ]
},
"changes": {
"type": "integer",
- "example": 124
+ "examples": [
+ 124
+ ]
},
"blob_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ "examples": [
+ "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ ]
},
"raw_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ "examples": [
+ "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ ]
},
"contents_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"patch": {
"type": "string",
- "example": "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test"
+ "examples": [
+ "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test"
+ ]
},
"previous_filename": {
"type": "string",
- "example": "file.txt"
+ "examples": [
+ "file.txt"
+ ]
}
},
"required": [
@@ -223486,25 +264945,35 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"sha": {
"type": "string",
- "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ=="
+ "examples": [
+ "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ=="
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"comments_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments"
+ ]
},
"commit": {
"type": "object",
@@ -223512,67 +264981,101 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"author": {
- "title": "Git User",
- "description": "Metaproperties for Git author/committer information.",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "example": "\"Chris Wanstrath\""
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "type": "string",
- "example": "\"chris@ozmm.org\""
- },
- "date": {
- "type": "string",
- "example": "\"2007-10-29T02:42:39.000-07:00\""
+ {
+ "title": "Git User",
+ "description": "Metaproperties for Git author/committer information.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "examples": [
+ "\"Chris Wanstrath\""
+ ]
+ },
+ "email": {
+ "type": "string",
+ "examples": [
+ "\"chris@ozmm.org\""
+ ]
+ },
+ "date": {
+ "type": "string",
+ "examples": [
+ "\"2007-10-29T02:42:39.000-07:00\""
+ ]
+ }
+ }
}
- },
- "nullable": true
+ ]
},
"committer": {
- "title": "Git User",
- "description": "Metaproperties for Git author/committer information.",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "example": "\"Chris Wanstrath\""
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "type": "string",
- "example": "\"chris@ozmm.org\""
- },
- "date": {
- "type": "string",
- "example": "\"2007-10-29T02:42:39.000-07:00\""
+ {
+ "title": "Git User",
+ "description": "Metaproperties for Git author/committer information.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "examples": [
+ "\"Chris Wanstrath\""
+ ]
+ },
+ "email": {
+ "type": "string",
+ "examples": [
+ "\"chris@ozmm.org\""
+ ]
+ },
+ "date": {
+ "type": "string",
+ "examples": [
+ "\"2007-10-29T02:42:39.000-07:00\""
+ ]
+ }
+ }
}
- },
- "nullable": true
+ ]
},
"message": {
"type": "string",
- "example": "Fix all the bugs"
+ "examples": [
+ "Fix all the bugs"
+ ]
},
"comment_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"tree": {
"type": "object",
"properties": {
"sha": {
"type": "string",
- "example": "827efc6d56897b048c772eb4087f854f46256132"
+ "examples": [
+ "827efc6d56897b048c772eb4087f854f46256132"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/tree/827efc6d56897b048c772eb4087f854f46256132"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/tree/827efc6d56897b048c772eb4087f854f46256132"
+ ]
}
},
"required": [
@@ -223591,12 +265094,16 @@
"type": "string"
},
"payload": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"signature": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -223617,244 +265124,340 @@
]
},
"author": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"committer": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"parents": {
"type": "array",
@@ -223863,17 +265466,23 @@
"properties": {
"sha": {
"type": "string",
- "example": "7638417db6d59f3c431d3e1f261cc637155684cd"
+ "examples": [
+ "7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/7638417db6d59f3c431d3e1f261cc637155684cd"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
+ "examples": [
+ "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
}
},
"required": [
@@ -223905,11 +265514,15 @@
"properties": {
"sha": {
"type": "string",
- "example": "bbcd538c8e72b8c175046e27cc8f907076331401"
+ "examples": [
+ "bbcd538c8e72b8c175046e27cc8f907076331401"
+ ]
},
"filename": {
"type": "string",
- "example": "file1.txt"
+ "examples": [
+ "file1.txt"
+ ]
},
"status": {
"type": "string",
@@ -223922,42 +265535,60 @@
"changed",
"unchanged"
],
- "example": "added"
+ "examples": [
+ "added"
+ ]
},
"additions": {
"type": "integer",
- "example": 103
+ "examples": [
+ 103
+ ]
},
"deletions": {
"type": "integer",
- "example": 21
+ "examples": [
+ 21
+ ]
},
"changes": {
"type": "integer",
- "example": 124
+ "examples": [
+ 124
+ ]
},
"blob_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ "examples": [
+ "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ ]
},
"raw_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ "examples": [
+ "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ ]
},
"contents_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"patch": {
"type": "string",
- "example": "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test"
+ "examples": [
+ "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test"
+ ]
},
"previous_filename": {
"type": "string",
- "example": "file.txt"
+ "examples": [
+ "file.txt"
+ ]
}
},
"required": [
@@ -223994,19 +265625,27 @@
"behind",
"identical"
],
- "example": "ahead"
+ "examples": [
+ "ahead"
+ ]
},
"ahead_by": {
"type": "integer",
- "example": 4
+ "examples": [
+ 4
+ ]
},
"behind_by": {
"type": "integer",
- "example": 5
+ "examples": [
+ 5
+ ]
},
"total_commits": {
"type": "integer",
- "example": 6
+ "examples": [
+ 6
+ ]
},
"commits": {
"type": "array",
@@ -224018,25 +265657,35 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"sha": {
"type": "string",
- "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ=="
+ "examples": [
+ "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ=="
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"comments_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments"
+ ]
},
"commit": {
"type": "object",
@@ -224044,67 +265693,101 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"author": {
- "title": "Git User",
- "description": "Metaproperties for Git author/committer information.",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "example": "\"Chris Wanstrath\""
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "type": "string",
- "example": "\"chris@ozmm.org\""
- },
- "date": {
- "type": "string",
- "example": "\"2007-10-29T02:42:39.000-07:00\""
+ {
+ "title": "Git User",
+ "description": "Metaproperties for Git author/committer information.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "examples": [
+ "\"Chris Wanstrath\""
+ ]
+ },
+ "email": {
+ "type": "string",
+ "examples": [
+ "\"chris@ozmm.org\""
+ ]
+ },
+ "date": {
+ "type": "string",
+ "examples": [
+ "\"2007-10-29T02:42:39.000-07:00\""
+ ]
+ }
+ }
}
- },
- "nullable": true
+ ]
},
"committer": {
- "title": "Git User",
- "description": "Metaproperties for Git author/committer information.",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "example": "\"Chris Wanstrath\""
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "type": "string",
- "example": "\"chris@ozmm.org\""
- },
- "date": {
- "type": "string",
- "example": "\"2007-10-29T02:42:39.000-07:00\""
+ {
+ "title": "Git User",
+ "description": "Metaproperties for Git author/committer information.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "examples": [
+ "\"Chris Wanstrath\""
+ ]
+ },
+ "email": {
+ "type": "string",
+ "examples": [
+ "\"chris@ozmm.org\""
+ ]
+ },
+ "date": {
+ "type": "string",
+ "examples": [
+ "\"2007-10-29T02:42:39.000-07:00\""
+ ]
+ }
+ }
}
- },
- "nullable": true
+ ]
},
"message": {
"type": "string",
- "example": "Fix all the bugs"
+ "examples": [
+ "Fix all the bugs"
+ ]
},
"comment_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"tree": {
"type": "object",
"properties": {
"sha": {
"type": "string",
- "example": "827efc6d56897b048c772eb4087f854f46256132"
+ "examples": [
+ "827efc6d56897b048c772eb4087f854f46256132"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/tree/827efc6d56897b048c772eb4087f854f46256132"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/tree/827efc6d56897b048c772eb4087f854f46256132"
+ ]
}
},
"required": [
@@ -224123,12 +265806,16 @@
"type": "string"
},
"payload": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"signature": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -224149,244 +265836,340 @@
]
},
"author": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"committer": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"parents": {
"type": "array",
@@ -224395,17 +266178,23 @@
"properties": {
"sha": {
"type": "string",
- "example": "7638417db6d59f3c431d3e1f261cc637155684cd"
+ "examples": [
+ "7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/7638417db6d59f3c431d3e1f261cc637155684cd"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
+ "examples": [
+ "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
}
},
"required": [
@@ -224437,11 +266226,15 @@
"properties": {
"sha": {
"type": "string",
- "example": "bbcd538c8e72b8c175046e27cc8f907076331401"
+ "examples": [
+ "bbcd538c8e72b8c175046e27cc8f907076331401"
+ ]
},
"filename": {
"type": "string",
- "example": "file1.txt"
+ "examples": [
+ "file1.txt"
+ ]
},
"status": {
"type": "string",
@@ -224454,42 +266247,60 @@
"changed",
"unchanged"
],
- "example": "added"
+ "examples": [
+ "added"
+ ]
},
"additions": {
"type": "integer",
- "example": 103
+ "examples": [
+ 103
+ ]
},
"deletions": {
"type": "integer",
- "example": 21
+ "examples": [
+ 21
+ ]
},
"changes": {
"type": "integer",
- "example": 124
+ "examples": [
+ 124
+ ]
},
"blob_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ "examples": [
+ "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ ]
},
"raw_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ "examples": [
+ "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ ]
},
"contents_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"patch": {
"type": "string",
- "example": "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test"
+ "examples": [
+ "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test"
+ ]
},
"previous_filename": {
"type": "string",
- "example": "file.txt"
+ "examples": [
+ "file.txt"
+ ]
}
},
"required": [
@@ -224528,11 +266339,15 @@
"properties": {
"sha": {
"type": "string",
- "example": "bbcd538c8e72b8c175046e27cc8f907076331401"
+ "examples": [
+ "bbcd538c8e72b8c175046e27cc8f907076331401"
+ ]
},
"filename": {
"type": "string",
- "example": "file1.txt"
+ "examples": [
+ "file1.txt"
+ ]
},
"status": {
"type": "string",
@@ -224545,42 +266360,60 @@
"changed",
"unchanged"
],
- "example": "added"
+ "examples": [
+ "added"
+ ]
},
"additions": {
"type": "integer",
- "example": 103
+ "examples": [
+ 103
+ ]
},
"deletions": {
"type": "integer",
- "example": 21
+ "examples": [
+ 21
+ ]
},
"changes": {
"type": "integer",
- "example": 124
+ "examples": [
+ 124
+ ]
},
"blob_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ "examples": [
+ "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ ]
},
"raw_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ "examples": [
+ "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt"
+ ]
},
"contents_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"patch": {
"type": "string",
- "example": "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test"
+ "examples": [
+ "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test"
+ ]
},
"previous_filename": {
"type": "string",
- "example": "file.txt"
+ "examples": [
+ "file.txt"
+ ]
}
},
"required": [
@@ -225020,19 +266853,25 @@
"format": "uri"
},
"git_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"download_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"entries": {
"type": "array",
@@ -225062,32 +266901,42 @@
"format": "uri"
},
"git_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"download_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"_links": {
"type": "object",
"properties": {
"git": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"self": {
"type": "string",
@@ -225119,14 +266968,18 @@
"type": "object",
"properties": {
"git": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"self": {
"type": "string",
@@ -225189,32 +267042,42 @@
"format": "uri"
},
"git_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"download_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"_links": {
"type": "object",
"properties": {
"git": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"self": {
"type": "string",
@@ -225273,32 +267136,42 @@
"format": "uri"
},
"git_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"download_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"_links": {
"type": "object",
"properties": {
"git": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"self": {
"type": "string",
@@ -225313,11 +267186,15 @@
},
"target": {
"type": "string",
- "example": "\"actual/actual.md\""
+ "examples": [
+ "\"actual/actual.md\""
+ ]
},
"submodule_git_url": {
"type": "string",
- "example": "\"git://example.com/defunkt/dotjs.git\""
+ "examples": [
+ "\"git://example.com/defunkt/dotjs.git\""
+ ]
}
},
"required": [
@@ -225363,32 +267240,42 @@
"format": "uri"
},
"git_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"download_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"_links": {
"type": "object",
"properties": {
"git": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"self": {
"type": "string",
@@ -225445,32 +267332,42 @@
"format": "uri"
},
"git_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"download_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"_links": {
"type": "object",
"properties": {
"git": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"self": {
"type": "string",
@@ -225742,7 +267639,9 @@
},
"date": {
"type": "string",
- "example": "\"2013-01-05T13:13:22+05:00\""
+ "examples": [
+ "\"2013-01-05T13:13:22+05:00\""
+ ]
}
},
"required": [
@@ -225764,7 +267663,9 @@
},
"date": {
"type": "string",
- "example": "\"2013-01-15T17:13:22+05:00\""
+ "examples": [
+ "\"2013-01-15T17:13:22+05:00\""
+ ]
}
},
"required": [
@@ -225821,7 +267722,10 @@
],
"properties": {
"content": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"name": {
"type": "string"
@@ -225864,8 +267768,7 @@
}
}
}
- },
- "nullable": true
+ }
},
"commit": {
"type": "object",
@@ -225951,12 +267854,16 @@
"type": "string"
},
"signature": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"payload": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
}
@@ -226037,7 +267944,10 @@
],
"properties": {
"content": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"name": {
"type": "string"
@@ -226080,8 +267990,7 @@
}
}
}
- },
- "nullable": true
+ }
},
"commit": {
"type": "object",
@@ -226167,12 +268076,16 @@
"type": "string"
},
"signature": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"payload": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
}
@@ -226310,16 +268223,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -226486,7 +268405,10 @@
],
"properties": {
"content": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"name": {
"type": "string"
@@ -226529,8 +268451,7 @@
}
}
}
- },
- "nullable": true
+ }
},
"commit": {
"type": "object",
@@ -226616,12 +268537,16 @@
"type": "string"
},
"signature": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"payload": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
}
@@ -226718,16 +268643,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -226907,8 +268838,10 @@
"format": "uri"
},
"gravatar_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"url": {
"type": "string",
@@ -227146,8 +269079,10 @@
"properties": {
"name": {
"description": "The name of the secret.",
- "example": "MY_ARTIFACTORY_PASSWORD",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MY_ARTIFACTORY_PASSWORD"
+ ]
},
"created_at": {
"type": "string",
@@ -227249,12 +269184,16 @@
"key_id": {
"description": "The identifier for the key.",
"type": "string",
- "example": "1234567"
+ "examples": [
+ "1234567"
+ ]
},
"key": {
"description": "The Base64 encoded public key.",
"type": "string",
- "example": "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs="
+ "examples": [
+ "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs="
+ ]
}
},
"required": [
@@ -227333,8 +269272,10 @@
"properties": {
"name": {
"description": "The name of the secret.",
- "example": "MY_ARTIFACTORY_PASSWORD",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MY_ARTIFACTORY_PASSWORD"
+ ]
},
"created_at": {
"type": "string",
@@ -227575,9 +269516,11 @@
"in": "query",
"required": false,
"schema": {
- "type": "string",
- "default": "none",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "default": "none"
}
},
{
@@ -227614,30 +269557,42 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/1"
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/1"
+ ]
},
"id": {
"description": "Unique identifier of the deployment",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOkRlcGxveW1lbnQx"
+ "examples": [
+ "MDEwOkRlcGxveW1lbnQx"
+ ]
},
"sha": {
"type": "string",
- "example": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d"
+ "examples": [
+ "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d"
+ ]
},
"ref": {
"description": "The ref to deploy. This can be a branch, tag, or sha.",
- "example": "topic-branch",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "topic-branch"
+ ]
},
"task": {
"description": "Parameter to specify a task to execute",
- "example": "deploy",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "deploy"
+ ]
},
"payload": {
"oneOf": [
@@ -227652,283 +269607,169 @@
},
"original_environment": {
"type": "string",
- "example": "staging"
+ "examples": [
+ "staging"
+ ]
},
"environment": {
"description": "Name for the target deployment environment.",
- "example": "production",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "production"
+ ]
},
"description": {
- "type": "string",
- "example": "Deploy request from hubot",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Deploy request from hubot"
+ ]
},
"creator": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2012-07-20T01:19:13Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2012-07-20T01:19:13Z"
- },
- "statuses_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/1/statuses"
- },
- "repository_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/example"
- },
- "transient_environment": {
- "description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false.",
- "example": true,
- "type": "boolean"
- },
- "production_environment": {
- "description": "Specifies if the given environment is one that end-users directly interact with. Default: false.",
- "example": true,
- "type": "boolean"
- },
- "performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
- },
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -227950,115 +269791,383 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
+ ]
+ }
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
+ },
+ "statuses_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/1/statuses"
+ ]
+ },
+ "repository_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/example"
+ ]
+ },
+ "transient_environment": {
+ "description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false.",
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "production_environment": {
+ "description": "Specifies if the given environment is one that end-users directly interact with. Default: false.",
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "performed_via_github_app": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "issues": {
- "type": "string"
+ "id": {
+ "description": "Unique identifier of the GitHub app",
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
- "checks": {
- "type": "string"
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
- "metadata": {
- "type": "string"
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "contents": {
- "type": "string"
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
},
- "deployments": {
- "type": "string"
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
+ "type": "string",
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
+ },
+ "client_secret": {
+ "type": "string",
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
+ },
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
+ "type": "string",
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "required": [
+ "id",
+ "node_id",
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -228219,10 +270328,12 @@
"default": "production"
},
"description": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"description": "Short description of the deployment.",
- "default": "",
- "nullable": true
+ "default": ""
},
"transient_environment": {
"type": "boolean",
@@ -228277,30 +270388,42 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/1"
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/1"
+ ]
},
"id": {
"description": "Unique identifier of the deployment",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOkRlcGxveW1lbnQx"
+ "examples": [
+ "MDEwOkRlcGxveW1lbnQx"
+ ]
},
"sha": {
"type": "string",
- "example": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d"
+ "examples": [
+ "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d"
+ ]
},
"ref": {
"description": "The ref to deploy. This can be a branch, tag, or sha.",
- "example": "topic-branch",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "topic-branch"
+ ]
},
"task": {
"description": "Parameter to specify a task to execute",
- "example": "deploy",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "deploy"
+ ]
},
"payload": {
"oneOf": [
@@ -228315,283 +270438,169 @@
},
"original_environment": {
"type": "string",
- "example": "staging"
+ "examples": [
+ "staging"
+ ]
},
"environment": {
"description": "Name for the target deployment environment.",
- "example": "production",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "production"
+ ]
},
"description": {
- "type": "string",
- "example": "Deploy request from hubot",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Deploy request from hubot"
+ ]
},
"creator": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2012-07-20T01:19:13Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2012-07-20T01:19:13Z"
- },
- "statuses_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/1/statuses"
- },
- "repository_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/example"
- },
- "transient_environment": {
- "description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false.",
- "example": true,
- "type": "boolean"
- },
- "production_environment": {
- "description": "Specifies if the given environment is one that end-users directly interact with. Default: false.",
- "example": true,
- "type": "boolean"
- },
- "performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
- },
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -228613,115 +270622,383 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
+ ]
+ }
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
+ },
+ "statuses_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/1/statuses"
+ ]
+ },
+ "repository_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/example"
+ ]
+ },
+ "transient_environment": {
+ "description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false.",
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "production_environment": {
+ "description": "Specifies if the given environment is one that end-users directly interact with. Default: false.",
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "performed_via_github_app": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "issues": {
- "type": "string"
+ "id": {
+ "description": "Unique identifier of the GitHub app",
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
- "checks": {
- "type": "string"
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
- "metadata": {
- "type": "string"
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "contents": {
- "type": "string"
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
},
- "deployments": {
- "type": "string"
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
+ "type": "string",
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
+ },
+ "client_secret": {
+ "type": "string",
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
+ },
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
+ "type": "string",
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "required": [
+ "id",
+ "node_id",
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -228858,16 +271135,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -228943,30 +271226,42 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/1"
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/1"
+ ]
},
"id": {
"description": "Unique identifier of the deployment",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOkRlcGxveW1lbnQx"
+ "examples": [
+ "MDEwOkRlcGxveW1lbnQx"
+ ]
},
"sha": {
"type": "string",
- "example": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d"
+ "examples": [
+ "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d"
+ ]
},
"ref": {
"description": "The ref to deploy. This can be a branch, tag, or sha.",
- "example": "topic-branch",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "topic-branch"
+ ]
},
"task": {
"description": "Parameter to specify a task to execute",
- "example": "deploy",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "deploy"
+ ]
},
"payload": {
"oneOf": [
@@ -228981,283 +271276,169 @@
},
"original_environment": {
"type": "string",
- "example": "staging"
+ "examples": [
+ "staging"
+ ]
},
"environment": {
"description": "Name for the target deployment environment.",
- "example": "production",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "production"
+ ]
},
"description": {
- "type": "string",
- "example": "Deploy request from hubot",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Deploy request from hubot"
+ ]
},
"creator": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2012-07-20T01:19:13Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2012-07-20T01:19:13Z"
- },
- "statuses_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/1/statuses"
- },
- "repository_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/example"
- },
- "transient_environment": {
- "description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false.",
- "example": true,
- "type": "boolean"
- },
- "production_environment": {
- "description": "Specifies if the given environment is one that end-users directly interact with. Default: false.",
- "example": true,
- "type": "boolean"
- },
- "performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
- },
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -229279,115 +271460,383 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
+ ]
+ }
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
+ },
+ "statuses_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/1/statuses"
+ ]
+ },
+ "repository_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/example"
+ ]
+ },
+ "transient_environment": {
+ "description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false.",
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "production_environment": {
+ "description": "Specifies if the given environment is one that end-users directly interact with. Default: false.",
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "performed_via_github_app": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "issues": {
- "type": "string"
+ "id": {
+ "description": "Unique identifier of the GitHub app",
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
- "checks": {
- "type": "string"
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
- "metadata": {
- "type": "string"
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "contents": {
- "type": "string"
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
},
- "deployments": {
- "type": "string"
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
+ "type": "string",
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
+ },
+ "client_secret": {
+ "type": "string",
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
+ },
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
+ "type": "string",
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "required": [
+ "id",
+ "node_id",
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -229666,15 +272115,21 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/42/statuses/1"
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/42/statuses/1"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDE2OkRlcGxveW1lbnRTdGF0dXMx"
+ "examples": [
+ "MDE2OkRlcGxveW1lbnRTdGF0dXMx"
+ ]
},
"state": {
"description": "The state of the status.",
@@ -229687,298 +272142,154 @@
"queued",
"in_progress"
],
- "example": "success",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "success"
+ ]
},
"creator": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "description": {
- "description": "A short description of the status.",
- "default": "",
- "type": "string",
- "maxLength": 140,
- "example": "Deployment finished successfully."
- },
- "environment": {
- "description": "The environment of the deployment that the status is for.",
- "default": "",
- "type": "string",
- "example": "production"
- },
- "target_url": {
- "description": "Deprecated: the URL to associate with this status.",
- "default": "",
- "type": "string",
- "format": "uri",
- "example": "https://example.com/deployment/42/output"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2012-07-20T01:19:13Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2012-07-20T01:19:13Z"
- },
- "deployment_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/42"
- },
- "repository_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/example"
- },
- "environment_url": {
- "description": "The URL for accessing your environment.",
- "default": "",
- "type": "string",
- "format": "uri",
- "example": "https://staging.example.com/"
- },
- "log_url": {
- "description": "The URL to associate with this status.",
- "default": "",
- "type": "string",
- "format": "uri",
- "example": "https://example.com/deployment/42/output"
- },
- "performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
- },
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -230000,115 +272311,413 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
+ ]
+ }
+ ]
+ },
+ "description": {
+ "description": "A short description of the status.",
+ "default": "",
+ "type": "string",
+ "maxLength": 140,
+ "examples": [
+ "Deployment finished successfully."
+ ]
+ },
+ "environment": {
+ "description": "The environment of the deployment that the status is for.",
+ "default": "",
+ "type": "string",
+ "examples": [
+ "production"
+ ]
+ },
+ "target_url": {
+ "description": "Deprecated: the URL to associate with this status.",
+ "default": "",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com/deployment/42/output"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
+ },
+ "deployment_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/42"
+ ]
+ },
+ "repository_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/example"
+ ]
+ },
+ "environment_url": {
+ "description": "The URL for accessing your environment.",
+ "default": "",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://staging.example.com/"
+ ]
+ },
+ "log_url": {
+ "description": "The URL to associate with this status.",
+ "default": "",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com/deployment/42/output"
+ ]
+ },
+ "performed_via_github_app": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "issues": {
- "type": "string"
+ "id": {
+ "description": "Unique identifier of the GitHub app",
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
- "checks": {
- "type": "string"
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
- "metadata": {
- "type": "string"
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "contents": {
- "type": "string"
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
},
- "deployments": {
- "type": "string"
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
+ "type": "string",
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
+ },
+ "client_secret": {
+ "type": "string",
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
+ },
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
+ "type": "string",
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "required": [
+ "id",
+ "node_id",
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -230330,15 +272939,21 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/42/statuses/1"
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/42/statuses/1"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDE2OkRlcGxveW1lbnRTdGF0dXMx"
+ "examples": [
+ "MDE2OkRlcGxveW1lbnRTdGF0dXMx"
+ ]
},
"state": {
"description": "The state of the status.",
@@ -230351,298 +272966,154 @@
"queued",
"in_progress"
],
- "example": "success",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "success"
+ ]
},
"creator": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "description": {
- "description": "A short description of the status.",
- "default": "",
- "type": "string",
- "maxLength": 140,
- "example": "Deployment finished successfully."
- },
- "environment": {
- "description": "The environment of the deployment that the status is for.",
- "default": "",
- "type": "string",
- "example": "production"
- },
- "target_url": {
- "description": "Deprecated: the URL to associate with this status.",
- "default": "",
- "type": "string",
- "format": "uri",
- "example": "https://example.com/deployment/42/output"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2012-07-20T01:19:13Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2012-07-20T01:19:13Z"
- },
- "deployment_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/42"
- },
- "repository_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/example"
- },
- "environment_url": {
- "description": "The URL for accessing your environment.",
- "default": "",
- "type": "string",
- "format": "uri",
- "example": "https://staging.example.com/"
- },
- "log_url": {
- "description": "The URL to associate with this status.",
- "default": "",
- "type": "string",
- "format": "uri",
- "example": "https://example.com/deployment/42/output"
- },
- "performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
- },
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -230664,115 +273135,413 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
+ ]
+ }
+ ]
+ },
+ "description": {
+ "description": "A short description of the status.",
+ "default": "",
+ "type": "string",
+ "maxLength": 140,
+ "examples": [
+ "Deployment finished successfully."
+ ]
+ },
+ "environment": {
+ "description": "The environment of the deployment that the status is for.",
+ "default": "",
+ "type": "string",
+ "examples": [
+ "production"
+ ]
+ },
+ "target_url": {
+ "description": "Deprecated: the URL to associate with this status.",
+ "default": "",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com/deployment/42/output"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
+ },
+ "deployment_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/42"
+ ]
+ },
+ "repository_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/example"
+ ]
+ },
+ "environment_url": {
+ "description": "The URL for accessing your environment.",
+ "default": "",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://staging.example.com/"
+ ]
+ },
+ "log_url": {
+ "description": "The URL to associate with this status.",
+ "default": "",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com/deployment/42/output"
+ ]
+ },
+ "performed_via_github_app": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "issues": {
- "type": "string"
+ "id": {
+ "description": "Unique identifier of the GitHub app",
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
- "checks": {
- "type": "string"
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
- "metadata": {
- "type": "string"
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "contents": {
- "type": "string"
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
},
- "deployments": {
- "type": "string"
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
+ "type": "string",
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
+ },
+ "client_secret": {
+ "type": "string",
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
+ },
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
+ "type": "string",
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "required": [
+ "id",
+ "node_id",
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -230884,16 +273653,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -230977,15 +273752,21 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/42/statuses/1"
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/42/statuses/1"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDE2OkRlcGxveW1lbnRTdGF0dXMx"
+ "examples": [
+ "MDE2OkRlcGxveW1lbnRTdGF0dXMx"
+ ]
},
"state": {
"description": "The state of the status.",
@@ -230998,298 +273779,154 @@
"queued",
"in_progress"
],
- "example": "success",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "success"
+ ]
},
"creator": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "description": {
- "description": "A short description of the status.",
- "default": "",
- "type": "string",
- "maxLength": 140,
- "example": "Deployment finished successfully."
- },
- "environment": {
- "description": "The environment of the deployment that the status is for.",
- "default": "",
- "type": "string",
- "example": "production"
- },
- "target_url": {
- "description": "Deprecated: the URL to associate with this status.",
- "default": "",
- "type": "string",
- "format": "uri",
- "example": "https://example.com/deployment/42/output"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2012-07-20T01:19:13Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2012-07-20T01:19:13Z"
- },
- "deployment_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/example/deployments/42"
- },
- "repository_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/example"
- },
- "environment_url": {
- "description": "The URL for accessing your environment.",
- "default": "",
- "type": "string",
- "format": "uri",
- "example": "https://staging.example.com/"
- },
- "log_url": {
- "description": "The URL to associate with this status.",
- "default": "",
- "type": "string",
- "format": "uri",
- "example": "https://example.com/deployment/42/output"
- },
- "performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
- },
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -231311,115 +273948,413 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
+ ]
+ }
+ ]
+ },
+ "description": {
+ "description": "A short description of the status.",
+ "default": "",
+ "type": "string",
+ "maxLength": 140,
+ "examples": [
+ "Deployment finished successfully."
+ ]
+ },
+ "environment": {
+ "description": "The environment of the deployment that the status is for.",
+ "default": "",
+ "type": "string",
+ "examples": [
+ "production"
+ ]
+ },
+ "target_url": {
+ "description": "Deprecated: the URL to associate with this status.",
+ "default": "",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com/deployment/42/output"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2012-07-20T01:19:13Z"
+ ]
+ },
+ "deployment_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/example/deployments/42"
+ ]
+ },
+ "repository_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/example"
+ ]
+ },
+ "environment_url": {
+ "description": "The URL for accessing your environment.",
+ "default": "",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://staging.example.com/"
+ ]
+ },
+ "log_url": {
+ "description": "The URL to associate with this status.",
+ "default": "",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com/deployment/42/output"
+ ]
+ },
+ "performed_via_github_app": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "issues": {
- "type": "string"
+ "id": {
+ "description": "Unique identifier of the GitHub app",
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
- "checks": {
- "type": "string"
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
- "metadata": {
- "type": "string"
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "contents": {
- "type": "string"
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
},
- "deployments": {
- "type": "string"
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
+ "type": "string",
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
+ },
+ "client_secret": {
+ "type": "string",
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
+ },
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
+ "type": "string",
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "required": [
+ "id",
+ "node_id",
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -231626,16 +274561,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -231699,8 +274640,10 @@
"properties": {
"total_count": {
"description": "The number of environments in this repository",
- "example": 5,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 5
+ ]
},
"environments": {
"type": "array",
@@ -231711,37 +274654,51 @@
"properties": {
"id": {
"description": "The id of the environment.",
- "example": 56780428,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 56780428
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOkVudmlyb25tZW50NTY3ODA0Mjg="
+ "examples": [
+ "MDExOkVudmlyb25tZW50NTY3ODA0Mjg="
+ ]
},
"name": {
"description": "The name of the environment.",
- "example": "staging",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "staging"
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/environments/staging"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/environments/staging"
+ ]
},
"html_url": {
"type": "string",
- "example": "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging"
+ "examples": [
+ "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging"
+ ]
},
"created_at": {
"description": "The time that the environment was created, in ISO 8601 format.",
- "example": "2020-11-23T22:00:40Z",
"format": "date-time",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "2020-11-23T22:00:40Z"
+ ]
},
"updated_at": {
"description": "The time that the environment was last updated, in ISO 8601 format.",
- "example": "2020-11-23T22:00:40Z",
"format": "date-time",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "2020-11-23T22:00:40Z"
+ ]
},
"protection_rules": {
"type": "array",
@@ -231752,20 +274709,28 @@
"properties": {
"id": {
"type": "integer",
- "example": 3515
+ "examples": [
+ 3515
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6R2F0ZTM1MTU="
+ "examples": [
+ "MDQ6R2F0ZTM1MTU="
+ ]
},
"type": {
"type": "string",
- "example": "wait_timer"
+ "examples": [
+ "wait_timer"
+ ]
},
"wait_timer": {
"type": "integer",
- "example": 30,
- "description": "The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days)."
+ "description": "The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days).",
+ "examples": [
+ 30
+ ]
}
},
"required": [
@@ -231779,15 +274744,21 @@
"properties": {
"id": {
"type": "integer",
- "example": 3755
+ "examples": [
+ 3755
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6R2F0ZTM3NTU="
+ "examples": [
+ "MDQ6R2F0ZTM3NTU="
+ ]
},
"type": {
"type": "string",
- "example": "required_reviewers"
+ "examples": [
+ "required_reviewers"
+ ]
},
"reviewers": {
"type": "array",
@@ -231802,7 +274773,9 @@
"User",
"Team"
],
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"reviewer": {
"anyOf": [
@@ -231812,96 +274785,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -231943,8 +274958,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -231986,7 +275003,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -231996,83 +275015,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -232106,15 +275157,21 @@
"properties": {
"id": {
"type": "integer",
- "example": 3515
+ "examples": [
+ 3515
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6R2F0ZTM1MTU="
+ "examples": [
+ "MDQ6R2F0ZTM1MTU="
+ ]
},
"type": {
"type": "string",
- "example": "branch_policy"
+ "examples": [
+ "branch_policy"
+ ]
}
},
"required": [
@@ -232127,7 +275184,10 @@
}
},
"deployment_branch_policy": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"description": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.",
"properties": {
"protected_branches": {
@@ -232139,7 +275199,6 @@
"description": "Whether only branches that match the specified name patterns can deploy to this environment. If `custom_branch_policies` is `true`, `protected_branches` must be `false`; if `custom_branch_policies` is `false`, `protected_branches` must be `true`."
}
},
- "nullable": true,
"required": [
"protected_branches",
"custom_branch_policies"
@@ -232304,37 +275363,51 @@
"properties": {
"id": {
"description": "The id of the environment.",
- "example": 56780428,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 56780428
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOkVudmlyb25tZW50NTY3ODA0Mjg="
+ "examples": [
+ "MDExOkVudmlyb25tZW50NTY3ODA0Mjg="
+ ]
},
"name": {
"description": "The name of the environment.",
- "example": "staging",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "staging"
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/environments/staging"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/environments/staging"
+ ]
},
"html_url": {
"type": "string",
- "example": "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging"
+ "examples": [
+ "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging"
+ ]
},
"created_at": {
"description": "The time that the environment was created, in ISO 8601 format.",
- "example": "2020-11-23T22:00:40Z",
"format": "date-time",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "2020-11-23T22:00:40Z"
+ ]
},
"updated_at": {
"description": "The time that the environment was last updated, in ISO 8601 format.",
- "example": "2020-11-23T22:00:40Z",
"format": "date-time",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "2020-11-23T22:00:40Z"
+ ]
},
"protection_rules": {
"type": "array",
@@ -232345,20 +275418,28 @@
"properties": {
"id": {
"type": "integer",
- "example": 3515
+ "examples": [
+ 3515
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6R2F0ZTM1MTU="
+ "examples": [
+ "MDQ6R2F0ZTM1MTU="
+ ]
},
"type": {
"type": "string",
- "example": "wait_timer"
+ "examples": [
+ "wait_timer"
+ ]
},
"wait_timer": {
"type": "integer",
- "example": 30,
- "description": "The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days)."
+ "description": "The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days).",
+ "examples": [
+ 30
+ ]
}
},
"required": [
@@ -232372,15 +275453,21 @@
"properties": {
"id": {
"type": "integer",
- "example": 3755
+ "examples": [
+ 3755
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6R2F0ZTM3NTU="
+ "examples": [
+ "MDQ6R2F0ZTM3NTU="
+ ]
},
"type": {
"type": "string",
- "example": "required_reviewers"
+ "examples": [
+ "required_reviewers"
+ ]
},
"reviewers": {
"type": "array",
@@ -232395,7 +275482,9 @@
"User",
"Team"
],
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"reviewer": {
"anyOf": [
@@ -232405,96 +275494,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -232536,8 +275667,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -232579,7 +275712,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -232589,83 +275724,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -232699,15 +275866,21 @@
"properties": {
"id": {
"type": "integer",
- "example": 3515
+ "examples": [
+ 3515
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6R2F0ZTM1MTU="
+ "examples": [
+ "MDQ6R2F0ZTM1MTU="
+ ]
},
"type": {
"type": "string",
- "example": "branch_policy"
+ "examples": [
+ "branch_policy"
+ ]
}
},
"required": [
@@ -232720,7 +275893,10 @@
}
},
"deployment_branch_policy": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"description": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.",
"properties": {
"protected_branches": {
@@ -232732,7 +275908,6 @@
"description": "Whether only branches that match the specified name patterns can deploy to this environment. If `custom_branch_policies` is `true`, `protected_branches` must be `false`; if `custom_branch_policies` is `false`, `protected_branches` must be `true`."
}
},
- "nullable": true,
"required": [
"protected_branches",
"custom_branch_policies"
@@ -232880,17 +276055,23 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"wait_timer": {
"type": "integer",
- "example": 30,
- "description": "The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days)."
+ "description": "The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days).",
+ "examples": [
+ 30
+ ]
},
"reviewers": {
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"description": "The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.",
"items": {
"type": "object",
@@ -232902,18 +276083,25 @@
"User",
"Team"
],
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"id": {
"type": "integer",
"description": "The id of the user or team who can review the deployment",
- "example": 4532992
+ "examples": [
+ 4532992
+ ]
}
}
}
},
"deployment_branch_policy": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"description": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.",
"properties": {
"protected_branches": {
@@ -232925,7 +276113,6 @@
"description": "Whether only branches that match the specified name patterns can deploy to this environment. If `custom_branch_policies` is `true`, `protected_branches` must be `false`; if `custom_branch_policies` is `false`, `protected_branches` must be `true`."
}
},
- "nullable": true,
"required": [
"protected_branches",
"custom_branch_policies"
@@ -232949,37 +276136,51 @@
"properties": {
"id": {
"description": "The id of the environment.",
- "example": 56780428,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 56780428
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOkVudmlyb25tZW50NTY3ODA0Mjg="
+ "examples": [
+ "MDExOkVudmlyb25tZW50NTY3ODA0Mjg="
+ ]
},
"name": {
"description": "The name of the environment.",
- "example": "staging",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "staging"
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/repos/github/hello-world/environments/staging"
+ "examples": [
+ "https://api.github.com/repos/github/hello-world/environments/staging"
+ ]
},
"html_url": {
"type": "string",
- "example": "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging"
+ "examples": [
+ "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging"
+ ]
},
"created_at": {
"description": "The time that the environment was created, in ISO 8601 format.",
- "example": "2020-11-23T22:00:40Z",
"format": "date-time",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "2020-11-23T22:00:40Z"
+ ]
},
"updated_at": {
"description": "The time that the environment was last updated, in ISO 8601 format.",
- "example": "2020-11-23T22:00:40Z",
"format": "date-time",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "2020-11-23T22:00:40Z"
+ ]
},
"protection_rules": {
"type": "array",
@@ -232990,20 +276191,28 @@
"properties": {
"id": {
"type": "integer",
- "example": 3515
+ "examples": [
+ 3515
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6R2F0ZTM1MTU="
+ "examples": [
+ "MDQ6R2F0ZTM1MTU="
+ ]
},
"type": {
"type": "string",
- "example": "wait_timer"
+ "examples": [
+ "wait_timer"
+ ]
},
"wait_timer": {
"type": "integer",
- "example": 30,
- "description": "The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days)."
+ "description": "The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days).",
+ "examples": [
+ 30
+ ]
}
},
"required": [
@@ -233017,15 +276226,21 @@
"properties": {
"id": {
"type": "integer",
- "example": 3755
+ "examples": [
+ 3755
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6R2F0ZTM3NTU="
+ "examples": [
+ "MDQ6R2F0ZTM3NTU="
+ ]
},
"type": {
"type": "string",
- "example": "required_reviewers"
+ "examples": [
+ "required_reviewers"
+ ]
},
"reviewers": {
"type": "array",
@@ -233040,7 +276255,9 @@
"User",
"Team"
],
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"reviewer": {
"anyOf": [
@@ -233050,96 +276267,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -233181,8 +276440,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -233224,7 +276485,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -233234,83 +276497,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -233344,15 +276639,21 @@
"properties": {
"id": {
"type": "integer",
- "example": 3515
+ "examples": [
+ 3515
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6R2F0ZTM1MTU="
+ "examples": [
+ "MDQ6R2F0ZTM1MTU="
+ ]
},
"type": {
"type": "string",
- "example": "branch_policy"
+ "examples": [
+ "branch_policy"
+ ]
}
},
"required": [
@@ -233365,7 +276666,10 @@
}
},
"deployment_branch_policy": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"description": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.",
"properties": {
"protected_branches": {
@@ -233377,7 +276681,6 @@
"description": "Whether only branches that match the specified name patterns can deploy to this environment. If `custom_branch_policies` is `true`, `protected_branches` must be `false`; if `custom_branch_policies` is `false`, `protected_branches` must be `true`."
}
},
- "nullable": true,
"required": [
"protected_branches",
"custom_branch_policies"
@@ -233623,8 +276926,10 @@
"type": "string"
},
"type": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"actor": {
"title": "Actor",
@@ -233641,8 +276946,10 @@
"type": "string"
},
"gravatar_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"url": {
"type": "string",
@@ -233696,8 +277003,10 @@
"type": "string"
},
"gravatar_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"url": {
"type": "string",
@@ -233735,9 +277044,11 @@
},
"url": {
"description": "URL for the issue",
- "example": "https://api.github.com/repositories/42/issues/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/1"
+ ]
},
"repository_url": {
"type": "string",
@@ -233760,151 +277071,205 @@
},
"number": {
"description": "Number uniquely identifying the issue within its repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"state": {
"description": "State of the issue; either 'open' or 'closed'",
- "example": "open",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "open"
+ ]
},
"title": {
"description": "Title of the issue",
- "example": "Widget creation fails in Safari on OS X 10.8",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Widget creation fails in Safari on OS X 10.8"
+ ]
},
"body": {
"description": "Contents of the issue",
- "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"labels": {
"description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository",
- "example": [
- "bug",
- "registration"
- ],
"type": "array",
"items": {
"oneOf": [
@@ -233929,12 +277294,16 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"color": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"default": {
"type": "boolean"
@@ -233942,226 +277311,323 @@
}
}
]
- }
+ },
+ "examples": [
+ "bug",
+ "registration"
+ ]
},
"assignee": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"assignees": {
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -234184,158 +277650,541 @@
"type",
"url"
]
- },
- "nullable": true
+ }
},
"milestone": {
- "title": "Milestone",
- "description": "A collection of related issues and pull requests.",
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Milestone",
+ "description": "A collection of related issues and pull requests.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World/milestones/v1.0"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1002604
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDk6TWlsZXN0b25lMTAwMjYwNA=="
+ ]
+ },
+ "number": {
+ "description": "The number of the milestone.",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "state": {
+ "description": "The state of the milestone.",
+ "type": "string",
+ "enum": [
+ "open",
+ "closed"
+ ],
+ "default": "open",
+ "examples": [
+ "open"
+ ]
+ },
+ "title": {
+ "description": "The title of the milestone.",
+ "type": "string",
+ "examples": [
+ "v1.0"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Tracking milestone for version 1.0"
+ ]
+ },
+ "creator": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "open_issues": {
+ "type": "integer",
+ "examples": [
+ 4
+ ]
+ },
+ "closed_issues": {
+ "type": "integer",
+ "examples": [
+ 8
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-10T20:09:31Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2013-02-12T13:22:01Z"
+ ]
+ },
+ "due_on": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2012-10-09T23:39:01Z"
+ ]
+ }
+ },
+ "required": [
+ "closed_issues",
+ "creator",
+ "description",
+ "due_on",
+ "closed_at",
+ "id",
+ "node_id",
+ "labels_url",
+ "html_url",
+ "number",
+ "open_issues",
+ "state",
+ "title",
+ "url",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ ]
+ },
+ "locked": {
+ "type": "boolean"
+ },
+ "active_lock_reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "comments": {
+ "type": "integer"
+ },
+ "pull_request": {
"type": "object",
"properties": {
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ "merged_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "diff_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World/milestones/v1.0"
- },
- "labels_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
- },
- "id": {
- "type": "integer",
- "example": 1002604
- },
- "node_id": {
- "type": "string",
- "example": "MDk6TWlsZXN0b25lMTAwMjYwNA=="
- },
- "number": {
- "description": "The number of the milestone.",
- "type": "integer",
- "example": 42
- },
- "state": {
- "description": "The state of the milestone.",
- "example": "open",
- "type": "string",
- "enum": [
- "open",
- "closed"
+ "type": [
+ "string",
+ "null"
],
- "default": "open"
+ "format": "uri"
},
- "title": {
- "description": "The title of the milestone.",
- "example": "v1.0",
- "type": "string"
+ "patch_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
- "description": {
- "type": "string",
- "example": "Tracking milestone for version 1.0",
- "nullable": true
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
+ }
+ },
+ "required": [
+ "diff_url",
+ "html_url",
+ "patch_url",
+ "url"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "draft": {
+ "type": "boolean"
+ },
+ "closed_by": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "creator": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -234357,242 +278206,10 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
- },
- "open_issues": {
- "type": "integer",
- "example": 4
- },
- "closed_issues": {
- "type": "integer",
- "example": 8
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-10T20:09:31Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2014-03-03T18:58:10Z"
- },
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2013-02-12T13:22:01Z",
- "nullable": true
- },
- "due_on": {
- "type": "string",
- "format": "date-time",
- "example": "2012-10-09T23:39:01Z",
- "nullable": true
+ ]
}
- },
- "required": [
- "closed_issues",
- "creator",
- "description",
- "due_on",
- "closed_at",
- "id",
- "node_id",
- "labels_url",
- "html_url",
- "number",
- "open_issues",
- "state",
- "title",
- "url",
- "created_at",
- "updated_at"
- ],
- "nullable": true
- },
- "locked": {
- "type": "boolean"
- },
- "active_lock_reason": {
- "type": "string",
- "nullable": true
- },
- "comments": {
- "type": "integer"
- },
- "pull_request": {
- "type": "object",
- "properties": {
- "merged_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "diff_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "patch_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- }
- },
- "required": [
- "diff_url",
- "html_url",
- "patch_url",
- "url"
]
},
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "draft": {
- "type": "boolean"
- },
- "closed_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
"body_html": {
"type": "string"
},
@@ -234610,183 +278227,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -234822,96 +278515,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -234943,12 +278678,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -234956,228 +278697,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -235189,19 +279036,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -235210,7 +279063,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -235227,32 +279082,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -235585,25 +279456,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -235626,7 +279505,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -235706,255 +279587,340 @@
]
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -235965,6 +279931,9 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
},
"reactions": {
@@ -236048,22 +280017,28 @@
"properties": {
"id": {
"description": "Unique identifier of the issue comment",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string"
},
"url": {
"description": "URL for the issue comment",
- "example": "https://api.github.com/repositories/42/issues/comments/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/comments/1"
+ ]
},
"body": {
"description": "Contents of the issue comment",
- "example": "What version of Safari were you using when you observed this bug?",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "What version of Safari were you using when you observed this bug?"
+ ]
},
"body_text": {
"type": "string"
@@ -236076,270 +280051,148 @@
"format": "uri"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-14T16:00:49Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-14T16:00:49Z"
- },
- "issue_url": {
- "type": "string",
- "format": "uri"
- },
- "author_association": {
- "title": "author_association",
- "type": "string",
- "example": "OWNER",
- "description": "How the author is associated with the repository.",
- "enum": [
- "COLLABORATOR",
- "CONTRIBUTOR",
- "FIRST_TIMER",
- "FIRST_TIME_CONTRIBUTOR",
- "MANNEQUIN",
- "MEMBER",
- "NONE",
- "OWNER"
- ]
- },
- "performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
- },
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -236361,115 +280214,377 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
+ ]
+ }
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-14T16:00:49Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-14T16:00:49Z"
+ ]
+ },
+ "issue_url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "author_association": {
+ "title": "author_association",
+ "type": "string",
+ "description": "How the author is associated with the repository.",
+ "enum": [
+ "COLLABORATOR",
+ "CONTRIBUTOR",
+ "FIRST_TIMER",
+ "FIRST_TIME_CONTRIBUTOR",
+ "MANNEQUIN",
+ "MEMBER",
+ "NONE",
+ "OWNER"
+ ],
+ "examples": [
+ "OWNER"
+ ]
+ },
+ "performed_via_github_app": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "issues": {
- "type": "string"
+ "id": {
+ "description": "Unique identifier of the GitHub app",
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
- "checks": {
- "type": "string"
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
- "metadata": {
- "type": "string"
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "contents": {
- "type": "string"
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
},
- "deployments": {
- "type": "string"
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
+ "type": "string",
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
+ },
+ "client_secret": {
+ "type": "string",
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
+ },
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
+ "type": "string",
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "required": [
+ "id",
+ "node_id",
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"reactions": {
"title": "Reaction Rollup",
@@ -236545,8 +280660,10 @@
"type": "string"
},
"summary": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"action": {
"type": "string"
@@ -236566,9 +280683,11 @@
"type": "boolean"
},
"created_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
}
},
"required": [
@@ -236672,19 +280791,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -236692,96 +280819,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -236811,12 +280980,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -236824,129 +280999,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -236954,58 +281187,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -237059,22 +281314,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -237098,894 +281365,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -237994,77 +282187,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -238072,136 +282647,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -238222,25 +282761,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -238251,7 +282800,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -238268,20 +282820,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -238499,23 +283056,31 @@
"type": "object",
"properties": {
"message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"documentation_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"detail": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"status": {
"type": "integer"
},
"scimType": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"schemas": {
"type": "array",
@@ -238570,8 +283135,10 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"organization": {
"type": "string",
@@ -238594,19 +283161,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -238614,96 +283189,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -238733,12 +283350,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -238746,232 +283369,338 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"octocat",
"atom",
"electron",
@@ -238980,22 +283709,30 @@
},
"has_issues": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"type": "boolean"
@@ -239007,22 +283744,30 @@
"visibility": {
"description": "The repository visibility: public, private, or internal.",
"type": "string",
- "example": "public"
+ "examples": [
+ "public"
+ ]
},
"pushed_at": {
"type": "string",
"format": "date-time",
- "example": "2011-01-26T19:06:43Z"
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-01-26T19:01:12Z"
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2011-01-26T19:14:43Z"
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -239051,58 +283796,1477 @@
},
"allow_rebase_merge": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ {
+ "title": "Repository",
+ "description": "A git repository",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the repository",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
+ },
+ "name": {
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
+ },
+ "full_name": {
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
+ },
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ },
+ "private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
+ },
+ "archive_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
+ },
+ "assignees_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
+ },
+ "blobs_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
+ },
+ "branches_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
+ },
+ "collaborators_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
+ },
+ "comments_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
+ },
+ "commits_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
+ },
+ "compare_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
+ },
+ "contents_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
+ },
+ "contributors_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
+ },
+ "deployments_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
+ },
+ "downloads_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
+ },
+ "forks_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
+ },
+ "git_commits_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
+ },
+ "git_refs_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
+ },
+ "git_tags_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
+ },
+ "git_url": {
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
+ },
+ "issue_comment_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
+ },
+ "issue_events_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
+ },
+ "issues_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
+ },
+ "keys_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
+ },
+ "languages_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
+ },
+ "merges_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
+ },
+ "milestones_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
+ },
+ "notifications_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
+ },
+ "pulls_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
+ },
+ "releases_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
+ },
+ "ssh_url": {
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
+ },
+ "stargazers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
+ },
+ "statuses_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
+ },
+ "subscribers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
+ },
+ "subscription_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
+ },
+ "tags_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
+ },
+ "teams_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
+ },
+ "trees_url": {
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
+ },
+ "clone_url": {
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
+ },
+ "mirror_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
+ },
+ "hooks_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
+ },
+ "svn_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
+ },
+ "homepage": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
+ },
+ "language": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "forks_count": {
+ "type": "integer",
+ "examples": [
+ 9
+ ]
+ },
+ "stargazers_count": {
+ "type": "integer",
+ "examples": [
+ 80
+ ]
+ },
+ "watchers_count": {
+ "type": "integer",
+ "examples": [
+ 80
+ ]
+ },
+ "size": {
+ "type": "integer",
+ "examples": [
+ 108
+ ]
+ },
+ "default_branch": {
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
+ },
+ "open_issues_count": {
+ "type": "integer",
+ "examples": [
+ 0
+ ]
+ },
+ "is_template": {
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "has_projects": {
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "has_wiki": {
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
+ },
+ "visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
+ },
+ "created_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
+ },
+ "updated_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
+ },
+ "allow_rebase_merge": {
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_auto_merge": {
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
+ },
+ "delete_branch_on_merge": {
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
+ },
+ "allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
+ }
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ ]
+ },
+ "temp_clone_token": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "allow_squash_merge": {
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_auto_merge": {
+ "type": "boolean",
+ "examples": [
+ false
+ ]
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean",
+ "examples": [
+ false
+ ]
+ },
+ "allow_merge_commit": {
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "subscribers_count": {
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "network_count": {
+ "type": "integer",
+ "examples": [
+ 0
+ ]
+ },
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
+ {
"title": "License Simple",
"description": "License Simple",
"type": "object",
"properties": {
"key": {
"type": "string",
- "example": "mit"
+ "examples": [
+ "mit"
+ ]
},
"name": {
"type": "string",
- "example": "MIT License"
+ "examples": [
+ "MIT License"
+ ]
},
"url": {
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://api.github.com/licenses/mit"
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
},
"spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
},
"html_url": {
"type": "string",
@@ -239115,1240 +285279,177 @@
"url",
"spdx_id",
"node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "full_name": {
- "type": "string"
- },
- "owner": {
- "type": "object",
- "properties": {
- "login": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "avatar_url": {
- "type": "string"
- },
- "gravatar_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "followers_url": {
- "type": "string"
- },
- "following_url": {
- "type": "string"
- },
- "gists_url": {
- "type": "string"
- },
- "starred_url": {
- "type": "string"
- },
- "subscriptions_url": {
- "type": "string"
- },
- "organizations_url": {
- "type": "string"
- },
- "repos_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "received_events_url": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "site_admin": {
- "type": "boolean"
- }
- }
- },
- "private": {
- "type": "boolean"
- },
- "html_url": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string"
- },
- "archive_url": {
- "type": "string"
- },
- "assignees_url": {
- "type": "string"
- },
- "blobs_url": {
- "type": "string"
- },
- "branches_url": {
- "type": "string"
- },
- "collaborators_url": {
- "type": "string"
- },
- "comments_url": {
- "type": "string"
- },
- "commits_url": {
- "type": "string"
- },
- "compare_url": {
- "type": "string"
- },
- "contents_url": {
- "type": "string"
- },
- "contributors_url": {
- "type": "string"
- },
- "deployments_url": {
- "type": "string"
- },
- "downloads_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "forks_url": {
- "type": "string"
- },
- "git_commits_url": {
- "type": "string"
- },
- "git_refs_url": {
- "type": "string"
- },
- "git_tags_url": {
- "type": "string"
- },
- "git_url": {
- "type": "string"
- },
- "issue_comment_url": {
- "type": "string"
- },
- "issue_events_url": {
- "type": "string"
- },
- "issues_url": {
- "type": "string"
- },
- "keys_url": {
- "type": "string"
- },
- "labels_url": {
- "type": "string"
- },
- "languages_url": {
- "type": "string"
- },
- "merges_url": {
- "type": "string"
- },
- "milestones_url": {
- "type": "string"
- },
- "notifications_url": {
- "type": "string"
- },
- "pulls_url": {
- "type": "string"
- },
- "releases_url": {
- "type": "string"
- },
- "ssh_url": {
- "type": "string"
- },
- "stargazers_url": {
- "type": "string"
- },
- "statuses_url": {
- "type": "string"
- },
- "subscribers_url": {
- "type": "string"
- },
- "subscription_url": {
- "type": "string"
- },
- "tags_url": {
- "type": "string"
- },
- "teams_url": {
- "type": "string"
- },
- "trees_url": {
- "type": "string"
- },
- "clone_url": {
- "type": "string"
- },
- "mirror_url": {
- "type": "string"
- },
- "hooks_url": {
- "type": "string"
- },
- "svn_url": {
- "type": "string"
- },
- "homepage": {
- "type": "string"
- },
- "language": {
- "type": "string"
- },
- "forks_count": {
- "type": "integer"
- },
- "stargazers_count": {
- "type": "integer"
- },
- "watchers_count": {
- "type": "integer"
- },
- "size": {
- "type": "integer"
- },
- "default_branch": {
- "type": "string"
- },
- "open_issues_count": {
- "type": "integer"
- },
- "is_template": {
- "type": "boolean"
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "type": "boolean"
- },
- "has_projects": {
- "type": "boolean"
- },
- "has_wiki": {
- "type": "boolean"
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "type": "boolean"
- },
- "archived": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean"
- },
- "visibility": {
- "type": "string"
- },
- "pushed_at": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
- },
- "allow_rebase_merge": {
- "type": "boolean"
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "type": "boolean"
- },
- "allow_auto_merge": {
- "type": "boolean"
- },
- "delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
- },
- "allow_merge_commit": {
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- }
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
- },
- "temp_clone_token": {
- "type": "string",
- "nullable": true
- },
- "allow_squash_merge": {
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "type": "boolean",
- "example": true
- },
- "subscribers_count": {
- "type": "integer",
- "example": 42
- },
- "network_count": {
- "type": "integer",
- "example": 0
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"parent": {
"title": "Repository",
@@ -240357,183 +285458,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -240569,96 +285746,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -240690,12 +285909,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -240703,228 +285928,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -240936,19 +286267,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -240957,7 +286294,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -240974,32 +286313,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -241332,25 +286687,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -241373,7 +286736,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -241459,183 +286824,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -241671,96 +287112,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -241792,12 +287275,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -241805,228 +287294,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -242038,19 +287633,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -242059,7 +287660,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -242076,32 +287679,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -242434,25 +288053,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -242475,7 +288102,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -242579,21 +288208,31 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/github/docs/community/code_of_conduct"
+ "examples": [
+ "https://api.github.com/repos/github/docs/community/code_of_conduct"
+ ]
},
"key": {
"type": "string",
- "example": "citizen_code_of_conduct"
+ "examples": [
+ "citizen_code_of_conduct"
+ ]
},
"name": {
"type": "string",
- "example": "Citizen Code of Conduct"
+ "examples": [
+ "Citizen Code of Conduct"
+ ]
},
"html_url": {
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md"
+ "examples": [
+ "https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md"
+ ]
}
},
"required": [
@@ -242604,8 +288243,10 @@
]
},
"security_and_analysis": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"advanced_security": {
"type": "object",
@@ -243271,23 +288912,31 @@
"type": "object",
"properties": {
"message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"documentation_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"detail": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"status": {
"type": "integer"
},
"scimType": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"schemas": {
"type": "array",
@@ -243345,16 +288994,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -243652,16 +289307,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -243747,8 +289408,10 @@
"type": "string"
},
"size": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"node_id": {
"type": "string"
@@ -243852,16 +289515,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -244043,8 +289712,10 @@
"properties": {
"sha": {
"description": "SHA for the commit",
- "example": "7638417db6d59f3c431d3e1f261cc637155684cd",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"node_id": {
"type": "string"
@@ -244059,19 +289730,25 @@
"properties": {
"date": {
"description": "Timestamp of the commit",
- "example": "2014-08-09T08:02:04+12:00",
"format": "date-time",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "2014-08-09T08:02:04+12:00"
+ ]
},
"email": {
"type": "string",
"description": "Git email address of the user",
- "example": "monalisa.octocat@example.com"
+ "examples": [
+ "monalisa.octocat@example.com"
+ ]
},
"name": {
"description": "Name of the git user",
- "example": "Monalisa Octocat",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Monalisa Octocat"
+ ]
}
},
"required": [
@@ -244086,19 +289763,25 @@
"properties": {
"date": {
"description": "Timestamp of the commit",
- "example": "2014-08-09T08:02:04+12:00",
"format": "date-time",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "2014-08-09T08:02:04+12:00"
+ ]
},
"email": {
"type": "string",
"description": "Git email address of the user",
- "example": "monalisa.octocat@example.com"
+ "examples": [
+ "monalisa.octocat@example.com"
+ ]
},
"name": {
"description": "Name of the git user",
- "example": "Monalisa Octocat",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Monalisa Octocat"
+ ]
}
},
"required": [
@@ -244109,16 +289792,20 @@
},
"message": {
"description": "Message describing the purpose of the commit",
- "example": "Fix #42",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Fix #42"
+ ]
},
"tree": {
"type": "object",
"properties": {
"sha": {
"description": "SHA for the commit",
- "example": "7638417db6d59f3c431d3e1f261cc637155684cd",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"url": {
"type": "string",
@@ -244137,8 +289824,10 @@
"properties": {
"sha": {
"description": "SHA for the commit",
- "example": "7638417db6d59f3c431d3e1f261cc637155684cd",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"url": {
"type": "string",
@@ -244166,12 +289855,16 @@
"type": "string"
},
"signature": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"payload": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -244293,16 +289986,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -244404,8 +290103,10 @@
"properties": {
"sha": {
"description": "SHA for the commit",
- "example": "7638417db6d59f3c431d3e1f261cc637155684cd",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"node_id": {
"type": "string"
@@ -244420,19 +290121,25 @@
"properties": {
"date": {
"description": "Timestamp of the commit",
- "example": "2014-08-09T08:02:04+12:00",
"format": "date-time",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "2014-08-09T08:02:04+12:00"
+ ]
},
"email": {
"type": "string",
"description": "Git email address of the user",
- "example": "monalisa.octocat@example.com"
+ "examples": [
+ "monalisa.octocat@example.com"
+ ]
},
"name": {
"description": "Name of the git user",
- "example": "Monalisa Octocat",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Monalisa Octocat"
+ ]
}
},
"required": [
@@ -244447,19 +290154,25 @@
"properties": {
"date": {
"description": "Timestamp of the commit",
- "example": "2014-08-09T08:02:04+12:00",
"format": "date-time",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "2014-08-09T08:02:04+12:00"
+ ]
},
"email": {
"type": "string",
"description": "Git email address of the user",
- "example": "monalisa.octocat@example.com"
+ "examples": [
+ "monalisa.octocat@example.com"
+ ]
},
"name": {
"description": "Name of the git user",
- "example": "Monalisa Octocat",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Monalisa Octocat"
+ ]
}
},
"required": [
@@ -244470,16 +290183,20 @@
},
"message": {
"description": "Message describing the purpose of the commit",
- "example": "Fix #42",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Fix #42"
+ ]
},
"tree": {
"type": "object",
"properties": {
"sha": {
"description": "SHA for the commit",
- "example": "7638417db6d59f3c431d3e1f261cc637155684cd",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"url": {
"type": "string",
@@ -244498,8 +290215,10 @@
"properties": {
"sha": {
"description": "SHA for the commit",
- "example": "7638417db6d59f3c431d3e1f261cc637155684cd",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"url": {
"type": "string",
@@ -244527,12 +290246,16 @@
"type": "string"
},
"signature": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"payload": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -244724,10 +290447,12 @@
},
"sha": {
"description": "SHA for the reference",
- "example": "7638417db6d59f3c431d3e1f261cc637155684cd",
"type": "string",
"minLength": 40,
- "maxLength": 40
+ "maxLength": 40,
+ "examples": [
+ "7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"url": {
"type": "string",
@@ -244863,10 +290588,12 @@
},
"sha": {
"description": "SHA for the reference",
- "example": "7638417db6d59f3c431d3e1f261cc637155684cd",
"type": "string",
"minLength": 40,
- "maxLength": 40
+ "maxLength": 40,
+ "examples": [
+ "7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"url": {
"type": "string",
@@ -244986,7 +290713,9 @@
},
"key": {
"type": "string",
- "example": "\"refs/heads/newbranch\""
+ "examples": [
+ "\"refs/heads/newbranch\""
+ ]
}
},
"required": [
@@ -245029,10 +290758,12 @@
},
"sha": {
"description": "SHA for the reference",
- "example": "7638417db6d59f3c431d3e1f261cc637155684cd",
"type": "string",
"minLength": 40,
- "maxLength": 40
+ "maxLength": 40,
+ "examples": [
+ "7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"url": {
"type": "string",
@@ -245123,16 +290854,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -245252,10 +290989,12 @@
},
"sha": {
"description": "SHA for the reference",
- "example": "7638417db6d59f3c431d3e1f261cc637155684cd",
"type": "string",
"minLength": 40,
- "maxLength": 40
+ "maxLength": 40,
+ "examples": [
+ "7638417db6d59f3c431d3e1f261cc637155684cd"
+ ]
},
"url": {
"type": "string",
@@ -245338,16 +291077,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -245458,16 +291203,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -245606,27 +291357,37 @@
"properties": {
"node_id": {
"type": "string",
- "example": "MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw=="
+ "examples": [
+ "MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw=="
+ ]
},
"tag": {
"description": "Name of the tag",
- "example": "v0.0.1",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "v0.0.1"
+ ]
},
"sha": {
"type": "string",
- "example": "940bd336248efae0f9ee5bc7b2d5c985887b16ac"
+ "examples": [
+ "940bd336248efae0f9ee5bc7b2d5c985887b16ac"
+ ]
},
"url": {
"description": "URL for the tag",
- "example": "https://api.github.com/repositories/42/git/tags/940bd336248efae0f9ee5bc7b2d5c985887b16ac",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/git/tags/940bd336248efae0f9ee5bc7b2d5c985887b16ac"
+ ]
},
"message": {
"description": "Message describing the purpose of the tag",
- "example": "Initial public release",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Initial public release"
+ ]
},
"tagger": {
"type": "object",
@@ -245678,12 +291439,16 @@
"type": "string"
},
"payload": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"signature": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -245787,16 +291552,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -245870,27 +291641,37 @@
"properties": {
"node_id": {
"type": "string",
- "example": "MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw=="
+ "examples": [
+ "MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw=="
+ ]
},
"tag": {
"description": "Name of the tag",
- "example": "v0.0.1",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "v0.0.1"
+ ]
},
"sha": {
"type": "string",
- "example": "940bd336248efae0f9ee5bc7b2d5c985887b16ac"
+ "examples": [
+ "940bd336248efae0f9ee5bc7b2d5c985887b16ac"
+ ]
},
"url": {
"description": "URL for the tag",
- "example": "https://api.github.com/repositories/42/git/tags/940bd336248efae0f9ee5bc7b2d5c985887b16ac",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/git/tags/940bd336248efae0f9ee5bc7b2d5c985887b16ac"
+ ]
},
"message": {
"description": "Message describing the purpose of the tag",
- "example": "Initial public release",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Initial public release"
+ ]
},
"tagger": {
"type": "object",
@@ -245942,12 +291723,16 @@
"type": "string"
},
"payload": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"signature": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -246101,9 +291886,11 @@
]
},
"sha": {
- "type": "string",
- "description": "The SHA1 checksum ID of the object in the tree. Also called `tree.sha`. If the value is `null` then the file will be deleted. \n \n**Note:** Use either `tree.sha` or `content` to specify the contents of the entry. Using both `tree.sha` and `content` will return an error.",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "description": "The SHA1 checksum ID of the object in the tree. Also called `tree.sha`. If the value is `null` then the file will be deleted. \n \n**Note:** Use either `tree.sha` or `content` to specify the contents of the entry. Using both `tree.sha` and `content` will return an error."
},
"content": {
"type": "string",
@@ -246163,31 +291950,43 @@
"properties": {
"path": {
"type": "string",
- "example": "test/file.rb"
+ "examples": [
+ "test/file.rb"
+ ]
},
"mode": {
"type": "string",
- "example": "040000"
+ "examples": [
+ "040000"
+ ]
},
"type": {
"type": "string",
- "example": "tree"
+ "examples": [
+ "tree"
+ ]
},
"sha": {
"type": "string",
- "example": "23f6827669e43831def8a7ad935069c8bd418261"
+ "examples": [
+ "23f6827669e43831def8a7ad935069c8bd418261"
+ ]
},
"size": {
"type": "integer",
- "example": 12
+ "examples": [
+ 12
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/repos/owner-482f3203ecf01f67e9deb18e/BBB_Private_Repo/git/blobs/23f6827669e43831def8a7ad935069c8bd418261"
+ "examples": [
+ "https://api.github.com/repos/owner-482f3203ecf01f67e9deb18e/BBB_Private_Repo/git/blobs/23f6827669e43831def8a7ad935069c8bd418261"
+ ]
}
}
},
- "example": [
+ "examples": [
{
"path": "file.rb",
"mode": "100644",
@@ -246309,16 +292108,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -246470,31 +292275,43 @@
"properties": {
"path": {
"type": "string",
- "example": "test/file.rb"
+ "examples": [
+ "test/file.rb"
+ ]
},
"mode": {
"type": "string",
- "example": "040000"
+ "examples": [
+ "040000"
+ ]
},
"type": {
"type": "string",
- "example": "tree"
+ "examples": [
+ "tree"
+ ]
},
"sha": {
"type": "string",
- "example": "23f6827669e43831def8a7ad935069c8bd418261"
+ "examples": [
+ "23f6827669e43831def8a7ad935069c8bd418261"
+ ]
},
"size": {
"type": "integer",
- "example": 12
+ "examples": [
+ 12
+ ]
},
"url": {
"type": "string",
- "example": "https://api.github.com/repos/owner-482f3203ecf01f67e9deb18e/BBB_Private_Repo/git/blobs/23f6827669e43831def8a7ad935069c8bd418261"
+ "examples": [
+ "https://api.github.com/repos/owner-482f3203ecf01f67e9deb18e/BBB_Private_Repo/git/blobs/23f6827669e43831def8a7ad935069c8bd418261"
+ ]
}
}
},
- "example": [
+ "examples": [
{
"path": "file.rb",
"mode": "100644",
@@ -246642,16 +292459,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -246766,18 +292589,24 @@
},
"id": {
"description": "Unique identifier of the webhook.",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"name": {
"description": "The name of a valid service, use 'web' for a webhook.",
- "example": "web",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "web"
+ ]
},
"active": {
"description": "Determines whether the hook is actually triggered on pushes.",
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"events": {
"description": "Determines what events the hook is triggered for. Default: ['push'].",
@@ -246785,7 +292614,7 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"push",
"pull_request"
]
@@ -246795,32 +292624,44 @@
"properties": {
"email": {
"type": "string",
- "example": "\"foo@bar.com\""
+ "examples": [
+ "\"foo@bar.com\""
+ ]
},
"password": {
"type": "string",
- "example": "\"foo\""
+ "examples": [
+ "\"foo\""
+ ]
},
"room": {
"type": "string",
- "example": "\"roomer\""
+ "examples": [
+ "\"roomer\""
+ ]
},
"subdomain": {
"type": "string",
- "example": "\"foo\""
+ "examples": [
+ "\"foo\""
+ ]
},
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.",
- "example": "https://example.com/webhook",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ]
},
"insecure_ssl": {
"oneOf": [
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -246830,68 +292671,94 @@
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.",
- "example": "\"json\""
+ "examples": [
+ "\"json\""
+ ]
},
"digest": {
"type": "string",
- "example": "\"sha256\""
+ "examples": [
+ "\"sha256\""
+ ]
},
"secret": {
"type": "string",
"description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers).",
- "example": "\"********\""
+ "examples": [
+ "\"********\""
+ ]
},
"token": {
"type": "string",
- "example": "\"abc\""
+ "examples": [
+ "\"abc\""
+ ]
}
}
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2011-09-06T20:39:23Z"
+ "examples": [
+ "2011-09-06T20:39:23Z"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-09-06T17:26:27Z"
+ "examples": [
+ "2011-09-06T17:26:27Z"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/hooks/1"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/hooks/1"
+ ]
},
"test_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/test"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/hooks/1/test"
+ ]
},
"ping_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
+ ]
},
"deliveries_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
+ ]
},
"last_response": {
"title": "Hook Response",
"type": "object",
"properties": {
"code": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"status": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -247028,8 +292895,10 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"name": {
"type": "string",
@@ -247042,25 +292911,33 @@
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.",
- "example": "https://example.com/webhook",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ]
},
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.",
- "example": "\"json\""
+ "examples": [
+ "\"json\""
+ ]
},
"secret": {
"type": "string",
"description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers).",
- "example": "\"********\""
+ "examples": [
+ "\"********\""
+ ]
},
"insecure_ssl": {
"oneOf": [
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -247069,11 +292946,15 @@
},
"token": {
"type": "string",
- "example": "\"abc\""
+ "examples": [
+ "\"abc\""
+ ]
},
"digest": {
"type": "string",
- "example": "\"sha256\""
+ "examples": [
+ "\"sha256\""
+ ]
}
}
},
@@ -247126,18 +293007,24 @@
},
"id": {
"description": "Unique identifier of the webhook.",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"name": {
"description": "The name of a valid service, use 'web' for a webhook.",
- "example": "web",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "web"
+ ]
},
"active": {
"description": "Determines whether the hook is actually triggered on pushes.",
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"events": {
"description": "Determines what events the hook is triggered for. Default: ['push'].",
@@ -247145,7 +293032,7 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"push",
"pull_request"
]
@@ -247155,32 +293042,44 @@
"properties": {
"email": {
"type": "string",
- "example": "\"foo@bar.com\""
+ "examples": [
+ "\"foo@bar.com\""
+ ]
},
"password": {
"type": "string",
- "example": "\"foo\""
+ "examples": [
+ "\"foo\""
+ ]
},
"room": {
"type": "string",
- "example": "\"roomer\""
+ "examples": [
+ "\"roomer\""
+ ]
},
"subdomain": {
"type": "string",
- "example": "\"foo\""
+ "examples": [
+ "\"foo\""
+ ]
},
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.",
- "example": "https://example.com/webhook",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ]
},
"insecure_ssl": {
"oneOf": [
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -247190,68 +293089,94 @@
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.",
- "example": "\"json\""
+ "examples": [
+ "\"json\""
+ ]
},
"digest": {
"type": "string",
- "example": "\"sha256\""
+ "examples": [
+ "\"sha256\""
+ ]
},
"secret": {
"type": "string",
"description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers).",
- "example": "\"********\""
+ "examples": [
+ "\"********\""
+ ]
},
"token": {
"type": "string",
- "example": "\"abc\""
+ "examples": [
+ "\"abc\""
+ ]
}
}
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2011-09-06T20:39:23Z"
+ "examples": [
+ "2011-09-06T20:39:23Z"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-09-06T17:26:27Z"
+ "examples": [
+ "2011-09-06T17:26:27Z"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/hooks/1"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/hooks/1"
+ ]
},
"test_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/test"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/hooks/1/test"
+ ]
},
"ping_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
+ ]
},
"deliveries_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
+ ]
},
"last_response": {
"title": "Hook Response",
"type": "object",
"properties": {
"code": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"status": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -247388,16 +293313,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -247500,18 +293431,24 @@
},
"id": {
"description": "Unique identifier of the webhook.",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"name": {
"description": "The name of a valid service, use 'web' for a webhook.",
- "example": "web",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "web"
+ ]
},
"active": {
"description": "Determines whether the hook is actually triggered on pushes.",
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"events": {
"description": "Determines what events the hook is triggered for. Default: ['push'].",
@@ -247519,7 +293456,7 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"push",
"pull_request"
]
@@ -247529,32 +293466,44 @@
"properties": {
"email": {
"type": "string",
- "example": "\"foo@bar.com\""
+ "examples": [
+ "\"foo@bar.com\""
+ ]
},
"password": {
"type": "string",
- "example": "\"foo\""
+ "examples": [
+ "\"foo\""
+ ]
},
"room": {
"type": "string",
- "example": "\"roomer\""
+ "examples": [
+ "\"roomer\""
+ ]
},
"subdomain": {
"type": "string",
- "example": "\"foo\""
+ "examples": [
+ "\"foo\""
+ ]
},
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.",
- "example": "https://example.com/webhook",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ]
},
"insecure_ssl": {
"oneOf": [
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -247564,68 +293513,94 @@
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.",
- "example": "\"json\""
+ "examples": [
+ "\"json\""
+ ]
},
"digest": {
"type": "string",
- "example": "\"sha256\""
+ "examples": [
+ "\"sha256\""
+ ]
},
"secret": {
"type": "string",
"description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers).",
- "example": "\"********\""
+ "examples": [
+ "\"********\""
+ ]
},
"token": {
"type": "string",
- "example": "\"abc\""
+ "examples": [
+ "\"abc\""
+ ]
}
}
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2011-09-06T20:39:23Z"
+ "examples": [
+ "2011-09-06T20:39:23Z"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-09-06T17:26:27Z"
+ "examples": [
+ "2011-09-06T17:26:27Z"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/hooks/1"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/hooks/1"
+ ]
},
"test_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/test"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/hooks/1/test"
+ ]
},
"ping_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
+ ]
},
"deliveries_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
+ ]
},
"last_response": {
"title": "Hook Response",
"type": "object",
"properties": {
"code": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"status": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -247768,25 +293743,33 @@
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.",
- "example": "https://example.com/webhook",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ]
},
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.",
- "example": "\"json\""
+ "examples": [
+ "\"json\""
+ ]
},
"secret": {
"type": "string",
"description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers).",
- "example": "\"********\""
+ "examples": [
+ "\"********\""
+ ]
},
"insecure_ssl": {
"oneOf": [
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -247795,11 +293778,15 @@
},
"address": {
"type": "string",
- "example": "\"bar@example.com\""
+ "examples": [
+ "\"bar@example.com\""
+ ]
},
"room": {
"type": "string",
- "example": "\"The Serious Room\""
+ "examples": [
+ "\"The Serious Room\""
+ ]
}
},
"required": [
@@ -247861,18 +293848,24 @@
},
"id": {
"description": "Unique identifier of the webhook.",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"name": {
"description": "The name of a valid service, use 'web' for a webhook.",
- "example": "web",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "web"
+ ]
},
"active": {
"description": "Determines whether the hook is actually triggered on pushes.",
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"events": {
"description": "Determines what events the hook is triggered for. Default: ['push'].",
@@ -247880,7 +293873,7 @@
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"push",
"pull_request"
]
@@ -247890,32 +293883,44 @@
"properties": {
"email": {
"type": "string",
- "example": "\"foo@bar.com\""
+ "examples": [
+ "\"foo@bar.com\""
+ ]
},
"password": {
"type": "string",
- "example": "\"foo\""
+ "examples": [
+ "\"foo\""
+ ]
},
"room": {
"type": "string",
- "example": "\"roomer\""
+ "examples": [
+ "\"roomer\""
+ ]
},
"subdomain": {
"type": "string",
- "example": "\"foo\""
+ "examples": [
+ "\"foo\""
+ ]
},
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.",
- "example": "https://example.com/webhook",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ]
},
"insecure_ssl": {
"oneOf": [
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -247925,68 +293930,94 @@
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.",
- "example": "\"json\""
+ "examples": [
+ "\"json\""
+ ]
},
"digest": {
"type": "string",
- "example": "\"sha256\""
+ "examples": [
+ "\"sha256\""
+ ]
},
"secret": {
"type": "string",
"description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers).",
- "example": "\"********\""
+ "examples": [
+ "\"********\""
+ ]
},
"token": {
"type": "string",
- "example": "\"abc\""
+ "examples": [
+ "\"abc\""
+ ]
}
}
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2011-09-06T20:39:23Z"
+ "examples": [
+ "2011-09-06T20:39:23Z"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-09-06T17:26:27Z"
+ "examples": [
+ "2011-09-06T17:26:27Z"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/hooks/1"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/hooks/1"
+ ]
},
"test_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/test"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/hooks/1/test"
+ ]
},
"ping_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings"
+ ]
},
"deliveries_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries"
+ ]
},
"last_response": {
"title": "Hook Response",
"type": "object",
"properties": {
"code": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"status": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -248089,16 +294120,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -248274,25 +294311,33 @@
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.",
- "example": "https://example.com/webhook",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ]
},
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.",
- "example": "\"json\""
+ "examples": [
+ "\"json\""
+ ]
},
"secret": {
"type": "string",
"description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers).",
- "example": "\"********\""
+ "examples": [
+ "\"********\""
+ ]
},
"insecure_ssl": {
"oneOf": [
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -248370,25 +294415,33 @@
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.",
- "example": "https://example.com/webhook",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ]
},
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.",
- "example": "\"json\""
+ "examples": [
+ "\"json\""
+ ]
},
"secret": {
"type": "string",
"description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers).",
- "example": "\"********\""
+ "examples": [
+ "\"********\""
+ ]
},
"insecure_ssl": {
"oneOf": [
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -248419,25 +294472,33 @@
"url": {
"type": "string",
"description": "The URL to which the payloads will be delivered.",
- "example": "https://example.com/webhook",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://example.com/webhook"
+ ]
},
"content_type": {
"type": "string",
"description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.",
- "example": "\"json\""
+ "examples": [
+ "\"json\""
+ ]
},
"secret": {
"type": "string",
"description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers).",
- "example": "\"********\""
+ "examples": [
+ "\"********\""
+ ]
},
"insecure_ssl": {
"oneOf": [
{
"type": "string",
"description": "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": "\"0\""
+ "examples": [
+ "\"0\""
+ ]
},
{
"type": "number"
@@ -248539,61 +294600,89 @@
"id": {
"description": "Unique identifier of the webhook delivery.",
"type": "integer",
- "example": 42
+ "examples": [
+ 42
+ ]
},
"guid": {
"description": "Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event).",
"type": "string",
- "example": "58474f00-b361-11eb-836d-0e4f3503ccbe"
+ "examples": [
+ "58474f00-b361-11eb-836d-0e4f3503ccbe"
+ ]
},
"delivered_at": {
"description": "Time when the webhook delivery occurred.",
"type": "string",
"format": "date-time",
- "example": "2021-05-12T20:33:44Z"
+ "examples": [
+ "2021-05-12T20:33:44Z"
+ ]
},
"redelivery": {
"description": "Whether the webhook delivery is a redelivery.",
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"duration": {
"description": "Time spent delivering.",
"type": "number",
- "example": 0.03
+ "examples": [
+ 0.03
+ ]
},
"status": {
"description": "Describes the response returned after attempting the delivery.",
"type": "string",
- "example": "failed to connect"
+ "examples": [
+ "failed to connect"
+ ]
},
"status_code": {
"description": "Status code received when delivery was made.",
"type": "integer",
- "example": 502
+ "examples": [
+ 502
+ ]
},
"event": {
"description": "The event that triggered the delivery.",
"type": "string",
- "example": "issues"
+ "examples": [
+ "issues"
+ ]
},
"action": {
"description": "The type of activity for the event that triggered the delivery.",
- "type": "string",
- "example": "opened",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "opened"
+ ]
},
"installation_id": {
"description": "The id of the GitHub App installation associated with this event.",
- "type": "integer",
- "example": 123,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 123
+ ]
},
"repository_id": {
"description": "The id of the repository associated with this event.",
- "type": "integer",
- "example": 123,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 123
+ ]
}
},
"required": [
@@ -248677,23 +294766,31 @@
"type": "object",
"properties": {
"message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"documentation_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"detail": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"status": {
"type": "integer"
},
"scimType": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"schemas": {
"type": "array",
@@ -248751,16 +294848,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -248843,80 +294946,114 @@
"id": {
"description": "Unique identifier of the delivery.",
"type": "integer",
- "example": 42
+ "examples": [
+ 42
+ ]
},
"guid": {
"description": "Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event).",
"type": "string",
- "example": "58474f00-b361-11eb-836d-0e4f3503ccbe"
+ "examples": [
+ "58474f00-b361-11eb-836d-0e4f3503ccbe"
+ ]
},
"delivered_at": {
"description": "Time when the delivery was delivered.",
"type": "string",
"format": "date-time",
- "example": "2021-05-12T20:33:44Z"
+ "examples": [
+ "2021-05-12T20:33:44Z"
+ ]
},
"redelivery": {
"description": "Whether the delivery is a redelivery.",
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"duration": {
"description": "Time spent delivering.",
"type": "number",
- "example": 0.03
+ "examples": [
+ 0.03
+ ]
},
"status": {
"description": "Description of the status of the attempted delivery",
"type": "string",
- "example": "failed to connect"
+ "examples": [
+ "failed to connect"
+ ]
},
"status_code": {
"description": "Status code received when delivery was made.",
"type": "integer",
- "example": 502
+ "examples": [
+ 502
+ ]
},
"event": {
"description": "The event that triggered the delivery.",
"type": "string",
- "example": "issues"
+ "examples": [
+ "issues"
+ ]
},
"action": {
"description": "The type of activity for the event that triggered the delivery.",
- "type": "string",
- "example": "opened",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "opened"
+ ]
},
"installation_id": {
"description": "The id of the GitHub App installation associated with this event.",
- "type": "integer",
- "example": 123,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 123
+ ]
},
"repository_id": {
"description": "The id of the repository associated with this event.",
- "type": "integer",
- "example": 123,
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ],
+ "examples": [
+ 123
+ ]
},
"url": {
"description": "The URL target of the delivery.",
"type": "string",
- "example": "https://www.example.com"
+ "examples": [
+ "https://www.example.com"
+ ]
},
"request": {
"type": "object",
"properties": {
"headers": {
"description": "The request headers sent with the webhook delivery.",
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"additionalProperties": true
},
"payload": {
"description": "The webhook payload.",
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"additionalProperties": true
}
},
@@ -248930,14 +295067,18 @@
"properties": {
"headers": {
"description": "The response headers received when the delivery was made.",
- "type": "object",
- "nullable": true,
+ "type": [
+ "object",
+ "null"
+ ],
"additionalProperties": true
},
"payload": {
"description": "The response payload received.",
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"additionalProperties": true
}
},
@@ -249044,23 +295185,31 @@
"type": "object",
"properties": {
"message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"documentation_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"detail": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"status": {
"type": "integer"
},
"scimType": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"schemas": {
"type": "array",
@@ -249118,16 +295267,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -249239,23 +295394,31 @@
"type": "object",
"properties": {
"message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"documentation_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"detail": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"status": {
"type": "integer"
},
"scimType": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"schemas": {
"type": "array",
@@ -249313,16 +295476,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -249541,8 +295710,10 @@
"type": "object",
"properties": {
"vcs": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"use_lfs": {
"type": "boolean"
@@ -249579,28 +295750,40 @@
]
},
"status_text": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"failed_step": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"error_message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"import_percent": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"commit_count": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"push_percent": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"has_large_files": {
"type": "boolean"
@@ -249632,8 +295815,10 @@
"type": "string"
},
"authors_count": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"url": {
"type": "string",
@@ -249808,8 +295993,10 @@
"type": "object",
"properties": {
"vcs": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"use_lfs": {
"type": "boolean"
@@ -249846,28 +296033,40 @@
]
},
"status_text": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"failed_step": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"error_message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"import_percent": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"commit_count": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"push_percent": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"has_large_files": {
"type": "boolean"
@@ -249899,8 +296098,10 @@
"type": "string"
},
"authors_count": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"url": {
"type": "string",
@@ -250008,16 +296209,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -250100,7 +296307,10 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"vcs_username": {
"type": "string",
@@ -250119,15 +296329,18 @@
"git",
"mercurial"
],
- "example": "\"git\""
+ "examples": [
+ "\"git\""
+ ]
},
"tfvc_project": {
"type": "string",
"description": "For a tfvc import, the name of the project that is being imported.",
- "example": "\"project1\""
+ "examples": [
+ "\"project1\""
+ ]
}
- },
- "nullable": true
+ }
},
"examples": {
"example-1": {
@@ -250163,8 +296376,10 @@
"type": "object",
"properties": {
"vcs": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"use_lfs": {
"type": "boolean"
@@ -250201,28 +296416,40 @@
]
},
"status_text": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"failed_step": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"error_message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"import_percent": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"commit_count": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"push_percent": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"has_large_files": {
"type": "boolean"
@@ -250254,8 +296481,10 @@
"type": "string"
},
"authors_count": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"url": {
"type": "string",
@@ -250719,16 +296948,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -250944,8 +297179,10 @@
"type": "object",
"properties": {
"vcs": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"use_lfs": {
"type": "boolean"
@@ -250982,28 +297219,40 @@
]
},
"status_text": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"failed_step": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"error_message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"import_percent": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"commit_count": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"push_percent": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"has_large_files": {
"type": "boolean"
@@ -251035,8 +297284,10 @@
"type": "string"
},
"authors_count": {
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
"url": {
"type": "string",
@@ -251135,16 +297386,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -251211,10 +297468,11 @@
"id": {
"description": "The ID of the installation.",
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"account": {
- "nullable": true,
"anyOf": [
{
"title": "Simple User",
@@ -251222,96 +297480,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -251342,50 +297642,72 @@
"properties": {
"description": {
"description": "A short description of the enterprise.",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/enterprises/octo-business"
+ "examples": [
+ "https://github.com/enterprises/octo-business"
+ ]
},
"website_url": {
"description": "The enterprise's website URL.",
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri"
},
"id": {
"description": "Unique identifier of the enterprise",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the enterprise.",
"type": "string",
- "example": "Octo Business"
+ "examples": [
+ "Octo Business"
+ ]
},
"slug": {
"description": "The slug url identifier for the enterprise.",
"type": "string",
- "example": "octo-business"
+ "examples": [
+ "octo-business"
+ ]
},
"created_at": {
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2019-01-26T19:01:12Z"
+ "examples": [
+ "2019-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2019-01-26T19:14:43Z"
+ "examples": [
+ "2019-01-26T19:14:43Z"
+ ]
},
"avatar_url": {
"type": "string",
@@ -251403,6 +297725,10 @@
"avatar_url"
]
}
+ ],
+ "type": [
+ "null",
+ "object"
]
},
"repository_selection": {
@@ -251416,21 +297742,29 @@
"access_tokens_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/installations/1/access_tokens"
+ "examples": [
+ "https://api.github.com/installations/1/access_tokens"
+ ]
},
"repositories_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/installation/repositories"
+ "examples": [
+ "https://api.github.com/installation/repositories"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/organizations/github/settings/installations/1"
+ "examples": [
+ "https://github.com/organizations/github/settings/installations/1"
+ ]
},
"app_id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"target_id": {
"description": "The ID of the user or organization this token is being scoped to.",
@@ -251438,7 +297772,9 @@
},
"target_type": {
"type": "string",
- "example": "Organization"
+ "examples": [
+ "Organization"
+ ]
},
"permissions": {
"title": "App Permissions",
@@ -251708,157 +298044,219 @@
"format": "date-time"
},
"single_file_name": {
- "type": "string",
- "example": "config.yaml",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "config.yaml"
+ ]
},
"has_multiple_single_files": {
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"single_file_paths": {
"type": "array",
"items": {
"type": "string"
},
- "example": [
+ "examples": [
"config.yml",
".github/issue_TEMPLATE.md"
]
},
"app_slug": {
"type": "string",
- "example": "github-actions"
+ "examples": [
+ "github-actions"
+ ]
},
"suspended_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"suspended_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"contact_email": {
- "type": "string",
- "example": "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\""
+ ]
}
},
"required": [
@@ -252044,21 +298442,27 @@
"limit": {
"type": "string",
"description": "The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect. Can be one of: `existing_users`, `contributors_only`, `collaborators_only`.",
- "example": "collaborators_only",
"enum": [
"existing_users",
"contributors_only",
"collaborators_only"
+ ],
+ "examples": [
+ "collaborators_only"
]
},
"origin": {
"type": "string",
- "example": "repository"
+ "examples": [
+ "repository"
+ ]
},
"expires_at": {
"type": "string",
"format": "date-time",
- "example": "2018-08-17T04:18:39Z"
+ "examples": [
+ "2018-08-17T04:18:39Z"
+ ]
}
},
"required": [
@@ -252136,23 +298540,27 @@
"limit": {
"type": "string",
"description": "The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect. Can be one of: `existing_users`, `contributors_only`, `collaborators_only`.",
- "example": "collaborators_only",
"enum": [
"existing_users",
"contributors_only",
"collaborators_only"
+ ],
+ "examples": [
+ "collaborators_only"
]
},
"expiry": {
"type": "string",
"description": "The duration of the interaction restriction. Can be one of: `one_day`, `three_days`, `one_week`, `one_month`, `six_months`. Default: `one_day`.",
- "example": "one_month",
"enum": [
"one_day",
"three_days",
"one_week",
"one_month",
"six_months"
+ ],
+ "examples": [
+ "one_month"
]
}
},
@@ -252176,21 +298584,27 @@
"limit": {
"type": "string",
"description": "The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit is in effect. Can be one of: `existing_users`, `contributors_only`, `collaborators_only`.",
- "example": "collaborators_only",
"enum": [
"existing_users",
"contributors_only",
"collaborators_only"
+ ],
+ "examples": [
+ "collaborators_only"
]
},
"origin": {
"type": "string",
- "example": "repository"
+ "examples": [
+ "repository"
+ ]
},
"expires_at": {
"type": "string",
"format": "date-time",
- "example": "2018-08-17T04:18:39Z"
+ "examples": [
+ "2018-08-17T04:18:39Z"
+ ]
}
},
"required": [
@@ -252329,8 +298743,10 @@
"properties": {
"id": {
"description": "Unique identifier of the repository invitation.",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"repository": {
"title": "Minimal Repository",
@@ -252339,19 +298755,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -252359,96 +298783,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -252478,12 +298944,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -252491,129 +298963,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -252621,58 +299151,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -252726,22 +299278,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -252765,894 +299329,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -253661,77 +300151,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -253739,136 +300611,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -253889,25 +300725,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -253918,7 +300764,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -253935,20 +300784,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -254004,248 +300858,343 @@
]
},
"invitee": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"inviter": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"permissions": {
"description": "The permission associated with the invitation.",
- "example": "read",
"type": "string",
"enum": [
"read",
@@ -254253,12 +301202,17 @@
"admin",
"triage",
"maintain"
+ ],
+ "examples": [
+ "read"
]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-06-13T14:52:50-05:00"
+ "examples": [
+ "2016-06-13T14:52:50-05:00"
+ ]
},
"expired": {
"description": "Whether or not the invitation has expired",
@@ -254266,12 +301220,16 @@
},
"url": {
"description": "URL for the repository invitation",
- "example": "https://api.github.com/user/repository-invitations/1",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/user/repository-invitations/1"
+ ]
},
"html_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World/invitations"
+ "examples": [
+ "https://github.com/octocat/Hello-World/invitations"
+ ]
},
"node_id": {
"type": "string"
@@ -254507,8 +301465,10 @@
"properties": {
"id": {
"description": "Unique identifier of the repository invitation.",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"repository": {
"title": "Minimal Repository",
@@ -254517,19 +301477,27 @@
"properties": {
"id": {
"type": "integer",
- "example": 1296269
+ "examples": [
+ 1296269
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"type": "string",
- "example": "Hello-World"
+ "examples": [
+ "Hello-World"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"owner": {
"title": "Simple User",
@@ -254537,96 +301505,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -254656,12 +301666,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -254669,129 +301685,187 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string"
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string"
@@ -254799,58 +301873,80 @@
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string"
},
"mirror_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string"
},
"homepage": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer"
@@ -254904,22 +302000,34 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"permissions": {
"type": "object",
@@ -254943,894 +302051,820 @@
},
"role_name": {
"type": "string",
- "example": "admin"
+ "examples": [
+ "admin"
+ ]
},
"template_repository": {
- "title": "Repository",
- "description": "A git repository",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "example": "Team Environment"
- },
- "full_name": {
- "type": "string",
- "example": "octocat/Hello-World"
- },
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ {
+ "title": "Repository",
+ "description": "A git repository",
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
- },
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the repository",
"type": "integer",
- "example": 1
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
- "type": "string"
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
- "owner": {
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
"type": "object",
"properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -255839,77 +302873,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -255917,136 +303333,100 @@
},
"network_count": {
"type": "integer"
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
+ "type": "string"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ },
+ "required": [
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
+ "events_url",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
+ "html_url",
+ "id",
+ "node_id",
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
}
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"temp_clone_token": {
"type": "string"
@@ -256067,25 +303447,35 @@
"properties": {
"key": {
"type": "string",
- "example": "contributor_covenant"
+ "examples": [
+ "contributor_covenant"
+ ]
},
"name": {
"type": "string",
- "example": "Contributor Covenant"
+ "examples": [
+ "Contributor Covenant"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
+ "examples": [
+ "https://api.github.com/codes_of_conduct/contributor_covenant"
+ ]
},
"body": {
"type": "string",
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ "examples": [
+ "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
+ ]
},
"html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
}
},
"required": [
@@ -256096,7 +303486,10 @@
]
},
"license": {
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"key": {
"type": "string"
@@ -256113,20 +303506,25 @@
"node_id": {
"type": "string"
}
- },
- "nullable": true
+ }
},
"forks": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"open_issues": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"watchers": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"allow_forking": {
"type": "boolean"
@@ -256182,248 +303580,343 @@
]
},
"invitee": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"inviter": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"permissions": {
"description": "The permission associated with the invitation.",
- "example": "read",
"type": "string",
"enum": [
"read",
@@ -256431,12 +303924,17 @@
"admin",
"triage",
"maintain"
+ ],
+ "examples": [
+ "read"
]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-06-13T14:52:50-05:00"
+ "examples": [
+ "2016-06-13T14:52:50-05:00"
+ ]
},
"expired": {
"description": "Whether or not the invitation has expired",
@@ -256444,12 +303942,16 @@
},
"url": {
"description": "URL for the repository invitation",
- "example": "https://api.github.com/user/repository-invitations/1",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/user/repository-invitations/1"
+ ]
},
"html_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World/invitations"
+ "examples": [
+ "https://github.com/octocat/Hello-World/invitations"
+ ]
},
"node_id": {
"type": "string"
@@ -256818,9 +304320,11 @@
},
"url": {
"description": "URL for the issue",
- "example": "https://api.github.com/repositories/42/issues/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/1"
+ ]
},
"repository_url": {
"type": "string",
@@ -256843,151 +304347,205 @@
},
"number": {
"description": "Number uniquely identifying the issue within its repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"state": {
"description": "State of the issue; either 'open' or 'closed'",
- "example": "open",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "open"
+ ]
},
"title": {
"description": "Title of the issue",
- "example": "Widget creation fails in Safari on OS X 10.8",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Widget creation fails in Safari on OS X 10.8"
+ ]
},
"body": {
"description": "Contents of the issue",
- "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"labels": {
"description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository",
- "example": [
- "bug",
- "registration"
- ],
"type": "array",
"items": {
"oneOf": [
@@ -257012,12 +304570,16 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"color": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"default": {
"type": "boolean"
@@ -257025,226 +304587,323 @@
}
}
]
- }
+ },
+ "examples": [
+ "bug",
+ "registration"
+ ]
},
"assignee": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"assignees": {
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -257267,158 +304926,541 @@
"type",
"url"
]
- },
- "nullable": true
+ }
},
"milestone": {
- "title": "Milestone",
- "description": "A collection of related issues and pull requests.",
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Milestone",
+ "description": "A collection of related issues and pull requests.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World/milestones/v1.0"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1002604
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDk6TWlsZXN0b25lMTAwMjYwNA=="
+ ]
+ },
+ "number": {
+ "description": "The number of the milestone.",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "state": {
+ "description": "The state of the milestone.",
+ "type": "string",
+ "enum": [
+ "open",
+ "closed"
+ ],
+ "default": "open",
+ "examples": [
+ "open"
+ ]
+ },
+ "title": {
+ "description": "The title of the milestone.",
+ "type": "string",
+ "examples": [
+ "v1.0"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Tracking milestone for version 1.0"
+ ]
+ },
+ "creator": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "open_issues": {
+ "type": "integer",
+ "examples": [
+ 4
+ ]
+ },
+ "closed_issues": {
+ "type": "integer",
+ "examples": [
+ 8
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-10T20:09:31Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2013-02-12T13:22:01Z"
+ ]
+ },
+ "due_on": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2012-10-09T23:39:01Z"
+ ]
+ }
+ },
+ "required": [
+ "closed_issues",
+ "creator",
+ "description",
+ "due_on",
+ "closed_at",
+ "id",
+ "node_id",
+ "labels_url",
+ "html_url",
+ "number",
+ "open_issues",
+ "state",
+ "title",
+ "url",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ ]
+ },
+ "locked": {
+ "type": "boolean"
+ },
+ "active_lock_reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "comments": {
+ "type": "integer"
+ },
+ "pull_request": {
"type": "object",
"properties": {
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ "merged_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "diff_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World/milestones/v1.0"
- },
- "labels_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
- },
- "id": {
- "type": "integer",
- "example": 1002604
- },
- "node_id": {
- "type": "string",
- "example": "MDk6TWlsZXN0b25lMTAwMjYwNA=="
- },
- "number": {
- "description": "The number of the milestone.",
- "type": "integer",
- "example": 42
- },
- "state": {
- "description": "The state of the milestone.",
- "example": "open",
- "type": "string",
- "enum": [
- "open",
- "closed"
+ "type": [
+ "string",
+ "null"
],
- "default": "open"
+ "format": "uri"
},
- "title": {
- "description": "The title of the milestone.",
- "example": "v1.0",
- "type": "string"
+ "patch_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
- "description": {
- "type": "string",
- "example": "Tracking milestone for version 1.0",
- "nullable": true
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
+ }
+ },
+ "required": [
+ "diff_url",
+ "html_url",
+ "patch_url",
+ "url"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "draft": {
+ "type": "boolean"
+ },
+ "closed_by": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "creator": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -257440,242 +305482,10 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
- },
- "open_issues": {
- "type": "integer",
- "example": 4
- },
- "closed_issues": {
- "type": "integer",
- "example": 8
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-10T20:09:31Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2014-03-03T18:58:10Z"
- },
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2013-02-12T13:22:01Z",
- "nullable": true
- },
- "due_on": {
- "type": "string",
- "format": "date-time",
- "example": "2012-10-09T23:39:01Z",
- "nullable": true
+ ]
}
- },
- "required": [
- "closed_issues",
- "creator",
- "description",
- "due_on",
- "closed_at",
- "id",
- "node_id",
- "labels_url",
- "html_url",
- "number",
- "open_issues",
- "state",
- "title",
- "url",
- "created_at",
- "updated_at"
- ],
- "nullable": true
- },
- "locked": {
- "type": "boolean"
- },
- "active_lock_reason": {
- "type": "string",
- "nullable": true
- },
- "comments": {
- "type": "integer"
- },
- "pull_request": {
- "type": "object",
- "properties": {
- "merged_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "diff_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "patch_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- }
- },
- "required": [
- "diff_url",
- "html_url",
- "patch_url",
- "url"
]
},
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "draft": {
- "type": "boolean"
- },
- "closed_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
"body_html": {
"type": "string"
},
@@ -257693,183 +305503,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -257905,96 +305791,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -258026,12 +305954,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -258039,228 +305973,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -258272,19 +306312,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -258293,7 +306339,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -258310,32 +306358,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -258668,25 +306732,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -258709,7 +306781,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -258789,255 +306863,340 @@
]
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -259048,6 +307207,9 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
},
"reactions": {
@@ -259370,16 +307532,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -259480,9 +307648,11 @@
"description": "The contents of the issue."
},
"assignee": {
- "type": "string",
- "description": "Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "description": "Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_"
},
"milestone": {
"oneOf": [
@@ -259494,7 +307664,11 @@
"description": "The `number` of the milestone to associate this issue with. _NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise._"
}
],
- "nullable": true
+ "type": [
+ "null",
+ "string",
+ "integer"
+ ]
},
"labels": {
"type": "array",
@@ -259514,12 +307688,16 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"color": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
}
@@ -259570,9 +307748,11 @@
},
"url": {
"description": "URL for the issue",
- "example": "https://api.github.com/repositories/42/issues/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/1"
+ ]
},
"repository_url": {
"type": "string",
@@ -259595,151 +307775,205 @@
},
"number": {
"description": "Number uniquely identifying the issue within its repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"state": {
"description": "State of the issue; either 'open' or 'closed'",
- "example": "open",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "open"
+ ]
},
"title": {
"description": "Title of the issue",
- "example": "Widget creation fails in Safari on OS X 10.8",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Widget creation fails in Safari on OS X 10.8"
+ ]
},
"body": {
"description": "Contents of the issue",
- "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"labels": {
"description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository",
- "example": [
- "bug",
- "registration"
- ],
"type": "array",
"items": {
"oneOf": [
@@ -259764,12 +307998,16 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"color": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"default": {
"type": "boolean"
@@ -259777,226 +308015,323 @@
}
}
]
- }
+ },
+ "examples": [
+ "bug",
+ "registration"
+ ]
},
"assignee": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"assignees": {
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -260019,158 +308354,541 @@
"type",
"url"
]
- },
- "nullable": true
+ }
},
"milestone": {
- "title": "Milestone",
- "description": "A collection of related issues and pull requests.",
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Milestone",
+ "description": "A collection of related issues and pull requests.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World/milestones/v1.0"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1002604
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDk6TWlsZXN0b25lMTAwMjYwNA=="
+ ]
+ },
+ "number": {
+ "description": "The number of the milestone.",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "state": {
+ "description": "The state of the milestone.",
+ "type": "string",
+ "enum": [
+ "open",
+ "closed"
+ ],
+ "default": "open",
+ "examples": [
+ "open"
+ ]
+ },
+ "title": {
+ "description": "The title of the milestone.",
+ "type": "string",
+ "examples": [
+ "v1.0"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Tracking milestone for version 1.0"
+ ]
+ },
+ "creator": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "open_issues": {
+ "type": "integer",
+ "examples": [
+ 4
+ ]
+ },
+ "closed_issues": {
+ "type": "integer",
+ "examples": [
+ 8
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-10T20:09:31Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2013-02-12T13:22:01Z"
+ ]
+ },
+ "due_on": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2012-10-09T23:39:01Z"
+ ]
+ }
+ },
+ "required": [
+ "closed_issues",
+ "creator",
+ "description",
+ "due_on",
+ "closed_at",
+ "id",
+ "node_id",
+ "labels_url",
+ "html_url",
+ "number",
+ "open_issues",
+ "state",
+ "title",
+ "url",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ ]
+ },
+ "locked": {
+ "type": "boolean"
+ },
+ "active_lock_reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "comments": {
+ "type": "integer"
+ },
+ "pull_request": {
"type": "object",
"properties": {
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ "merged_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "diff_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World/milestones/v1.0"
- },
- "labels_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
- },
- "id": {
- "type": "integer",
- "example": 1002604
- },
- "node_id": {
- "type": "string",
- "example": "MDk6TWlsZXN0b25lMTAwMjYwNA=="
- },
- "number": {
- "description": "The number of the milestone.",
- "type": "integer",
- "example": 42
- },
- "state": {
- "description": "The state of the milestone.",
- "example": "open",
- "type": "string",
- "enum": [
- "open",
- "closed"
+ "type": [
+ "string",
+ "null"
],
- "default": "open"
+ "format": "uri"
},
- "title": {
- "description": "The title of the milestone.",
- "example": "v1.0",
- "type": "string"
+ "patch_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
- "description": {
- "type": "string",
- "example": "Tracking milestone for version 1.0",
- "nullable": true
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
+ }
+ },
+ "required": [
+ "diff_url",
+ "html_url",
+ "patch_url",
+ "url"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "draft": {
+ "type": "boolean"
+ },
+ "closed_by": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "creator": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -260192,242 +308910,10 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
- },
- "open_issues": {
- "type": "integer",
- "example": 4
- },
- "closed_issues": {
- "type": "integer",
- "example": 8
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-10T20:09:31Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2014-03-03T18:58:10Z"
- },
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2013-02-12T13:22:01Z",
- "nullable": true
- },
- "due_on": {
- "type": "string",
- "format": "date-time",
- "example": "2012-10-09T23:39:01Z",
- "nullable": true
+ ]
}
- },
- "required": [
- "closed_issues",
- "creator",
- "description",
- "due_on",
- "closed_at",
- "id",
- "node_id",
- "labels_url",
- "html_url",
- "number",
- "open_issues",
- "state",
- "title",
- "url",
- "created_at",
- "updated_at"
- ],
- "nullable": true
- },
- "locked": {
- "type": "boolean"
- },
- "active_lock_reason": {
- "type": "string",
- "nullable": true
- },
- "comments": {
- "type": "integer"
- },
- "pull_request": {
- "type": "object",
- "properties": {
- "merged_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "diff_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "patch_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- }
- },
- "required": [
- "diff_url",
- "html_url",
- "patch_url",
- "url"
]
},
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "draft": {
- "type": "boolean"
- },
- "closed_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
"body_html": {
"type": "string"
},
@@ -260445,183 +308931,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -260657,96 +309219,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -260778,12 +309382,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -260791,228 +309401,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -261024,19 +309740,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -261045,7 +309767,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -261062,32 +309786,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -261420,25 +310160,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -261461,7 +310209,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -261541,255 +310291,340 @@
]
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -261800,6 +310635,9 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
},
"reactions": {
@@ -262119,16 +310957,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -262325,22 +311169,28 @@
"properties": {
"id": {
"description": "Unique identifier of the issue comment",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string"
},
"url": {
"description": "URL for the issue comment",
- "example": "https://api.github.com/repositories/42/issues/comments/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/comments/1"
+ ]
},
"body": {
"description": "Contents of the issue comment",
- "example": "What version of Safari were you using when you observed this bug?",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "What version of Safari were you using when you observed this bug?"
+ ]
},
"body_text": {
"type": "string"
@@ -262353,270 +311203,148 @@
"format": "uri"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-14T16:00:49Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-14T16:00:49Z"
- },
- "issue_url": {
- "type": "string",
- "format": "uri"
- },
- "author_association": {
- "title": "author_association",
- "type": "string",
- "example": "OWNER",
- "description": "How the author is associated with the repository.",
- "enum": [
- "COLLABORATOR",
- "CONTRIBUTOR",
- "FIRST_TIMER",
- "FIRST_TIME_CONTRIBUTOR",
- "MANNEQUIN",
- "MEMBER",
- "NONE",
- "OWNER"
- ]
- },
- "performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
- },
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -262638,115 +311366,377 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
+ ]
+ }
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-14T16:00:49Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-14T16:00:49Z"
+ ]
+ },
+ "issue_url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "author_association": {
+ "title": "author_association",
+ "type": "string",
+ "description": "How the author is associated with the repository.",
+ "enum": [
+ "COLLABORATOR",
+ "CONTRIBUTOR",
+ "FIRST_TIMER",
+ "FIRST_TIME_CONTRIBUTOR",
+ "MANNEQUIN",
+ "MEMBER",
+ "NONE",
+ "OWNER"
+ ],
+ "examples": [
+ "OWNER"
+ ]
+ },
+ "performed_via_github_app": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "issues": {
- "type": "string"
+ "id": {
+ "description": "Unique identifier of the GitHub app",
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
- "checks": {
- "type": "string"
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
- "metadata": {
- "type": "string"
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "contents": {
- "type": "string"
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
},
- "deployments": {
- "type": "string"
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
+ "type": "string",
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
+ },
+ "client_secret": {
+ "type": "string",
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
+ },
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
+ "type": "string",
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "required": [
+ "id",
+ "node_id",
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"reactions": {
"title": "Reaction Rollup",
@@ -262904,16 +311894,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -263014,22 +312010,28 @@
"properties": {
"id": {
"description": "Unique identifier of the issue comment",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string"
},
"url": {
"description": "URL for the issue comment",
- "example": "https://api.github.com/repositories/42/issues/comments/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/comments/1"
+ ]
},
"body": {
"description": "Contents of the issue comment",
- "example": "What version of Safari were you using when you observed this bug?",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "What version of Safari were you using when you observed this bug?"
+ ]
},
"body_text": {
"type": "string"
@@ -263042,270 +312044,148 @@
"format": "uri"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-14T16:00:49Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-14T16:00:49Z"
- },
- "issue_url": {
- "type": "string",
- "format": "uri"
- },
- "author_association": {
- "title": "author_association",
- "type": "string",
- "example": "OWNER",
- "description": "How the author is associated with the repository.",
- "enum": [
- "COLLABORATOR",
- "CONTRIBUTOR",
- "FIRST_TIMER",
- "FIRST_TIME_CONTRIBUTOR",
- "MANNEQUIN",
- "MEMBER",
- "NONE",
- "OWNER"
- ]
- },
- "performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
- },
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -263327,115 +312207,377 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
+ ]
+ }
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-14T16:00:49Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-14T16:00:49Z"
+ ]
+ },
+ "issue_url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "author_association": {
+ "title": "author_association",
+ "type": "string",
+ "description": "How the author is associated with the repository.",
+ "enum": [
+ "COLLABORATOR",
+ "CONTRIBUTOR",
+ "FIRST_TIMER",
+ "FIRST_TIME_CONTRIBUTOR",
+ "MANNEQUIN",
+ "MEMBER",
+ "NONE",
+ "OWNER"
+ ],
+ "examples": [
+ "OWNER"
+ ]
+ },
+ "performed_via_github_app": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "issues": {
- "type": "string"
+ "id": {
+ "description": "Unique identifier of the GitHub app",
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
- "checks": {
- "type": "string"
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
- "metadata": {
- "type": "string"
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "contents": {
- "type": "string"
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
},
- "deployments": {
- "type": "string"
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
+ "type": "string",
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
+ },
+ "client_secret": {
+ "type": "string",
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
+ },
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
+ "type": "string",
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "required": [
+ "id",
+ "node_id",
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"reactions": {
"title": "Reaction Rollup",
@@ -263643,22 +312785,28 @@
"properties": {
"id": {
"description": "Unique identifier of the issue comment",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string"
},
"url": {
"description": "URL for the issue comment",
- "example": "https://api.github.com/repositories/42/issues/comments/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/comments/1"
+ ]
},
"body": {
"description": "Contents of the issue comment",
- "example": "What version of Safari were you using when you observed this bug?",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "What version of Safari were you using when you observed this bug?"
+ ]
},
"body_text": {
"type": "string"
@@ -263671,270 +312819,148 @@
"format": "uri"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-14T16:00:49Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-14T16:00:49Z"
- },
- "issue_url": {
- "type": "string",
- "format": "uri"
- },
- "author_association": {
- "title": "author_association",
- "type": "string",
- "example": "OWNER",
- "description": "How the author is associated with the repository.",
- "enum": [
- "COLLABORATOR",
- "CONTRIBUTOR",
- "FIRST_TIMER",
- "FIRST_TIME_CONTRIBUTOR",
- "MANNEQUIN",
- "MEMBER",
- "NONE",
- "OWNER"
- ]
- },
- "performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
- },
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -263956,115 +312982,377 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
+ ]
+ }
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-14T16:00:49Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-14T16:00:49Z"
+ ]
+ },
+ "issue_url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "author_association": {
+ "title": "author_association",
+ "type": "string",
+ "description": "How the author is associated with the repository.",
+ "enum": [
+ "COLLABORATOR",
+ "CONTRIBUTOR",
+ "FIRST_TIMER",
+ "FIRST_TIME_CONTRIBUTOR",
+ "MANNEQUIN",
+ "MEMBER",
+ "NONE",
+ "OWNER"
+ ],
+ "examples": [
+ "OWNER"
+ ]
+ },
+ "performed_via_github_app": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "issues": {
- "type": "string"
+ "id": {
+ "description": "Unique identifier of the GitHub app",
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
- "checks": {
- "type": "string"
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
- "metadata": {
- "type": "string"
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "contents": {
- "type": "string"
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
},
- "deployments": {
- "type": "string"
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
+ "type": "string",
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
+ },
+ "client_secret": {
+ "type": "string",
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
+ },
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
+ "type": "string",
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "required": [
+ "id",
+ "node_id",
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"reactions": {
"title": "Reaction Rollup",
@@ -264211,16 +313499,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -264384,135 +313678,186 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6UmVhY3Rpb24x"
+ "examples": [
+ "MDg6UmVhY3Rpb24x"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"content": {
"description": "The reaction to use",
- "example": "heart",
"type": "string",
"enum": [
"+1",
@@ -264523,12 +313868,17 @@
"hooray",
"rocket",
"eyes"
+ ],
+ "examples": [
+ "heart"
]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-05-20T20:09:31Z"
+ "examples": [
+ "2016-05-20T20:09:31Z"
+ ]
}
},
"required": [
@@ -264703,135 +314053,186 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6UmVhY3Rpb24x"
+ "examples": [
+ "MDg6UmVhY3Rpb24x"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"content": {
"description": "The reaction to use",
- "example": "heart",
"type": "string",
"enum": [
"+1",
@@ -264842,12 +314243,17 @@
"hooray",
"rocket",
"eyes"
+ ],
+ "examples": [
+ "heart"
]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-05-20T20:09:31Z"
+ "examples": [
+ "2016-05-20T20:09:31Z"
+ ]
}
},
"required": [
@@ -264902,135 +314308,186 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDg6UmVhY3Rpb24x"
+ "examples": [
+ "MDg6UmVhY3Rpb24x"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"content": {
"description": "The reaction to use",
- "example": "heart",
"type": "string",
"enum": [
"+1",
@@ -265041,12 +314498,17 @@
"hooray",
"rocket",
"eyes"
+ ],
+ "examples": [
+ "heart"
]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2016-05-20T20:09:31Z"
+ "examples": [
+ "2016-05-20T20:09:31Z"
+ ]
}
},
"required": [
@@ -265135,16 +314597,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -265290,1923 +314758,2221 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOklzc3VlRXZlbnQx"
+ "examples": [
+ "MDEwOklzc3VlRXZlbnQx"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/issues/events/1"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/issues/events/1"
+ ]
},
"actor": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"event": {
"type": "string",
- "example": "closed"
+ "examples": [
+ "closed"
+ ]
},
"commit_id": {
- "type": "string",
- "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"commit_url": {
- "type": "string",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-04-14T16:00:49Z"
+ "examples": [
+ "2011-04-14T16:00:49Z"
+ ]
},
"issue": {
- "title": "Issue",
- "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.",
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string"
- },
- "url": {
- "description": "URL for the issue",
- "example": "https://api.github.com/repositories/42/issues/1",
- "type": "string",
- "format": "uri"
- },
- "repository_url": {
- "type": "string",
- "format": "uri"
- },
- "labels_url": {
- "type": "string"
- },
- "comments_url": {
- "type": "string",
- "format": "uri"
- },
- "events_url": {
- "type": "string",
- "format": "uri"
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- },
- "number": {
- "description": "Number uniquely identifying the issue within its repository",
- "example": 42,
- "type": "integer"
- },
- "state": {
- "description": "State of the issue; either 'open' or 'closed'",
- "example": "open",
- "type": "string"
- },
- "title": {
- "description": "Title of the issue",
- "example": "Widget creation fails in Safari on OS X 10.8",
- "type": "string"
- },
- "body": {
- "description": "Contents of the issue",
- "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?",
- "type": "string",
- "nullable": true
- },
- "user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "labels": {
- "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository",
- "example": [
- "bug",
- "registration"
- ],
- "type": "array",
- "items": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer",
- "format": "int64"
- },
- "node_id": {
- "type": "string"
- },
- "url": {
- "type": "string",
- "format": "uri"
- },
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string",
- "nullable": true
- },
- "color": {
- "type": "string",
- "nullable": true
- },
- "default": {
- "type": "boolean"
- }
- }
- }
- ]
- }
- },
- "assignee": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "assignees": {
- "type": "array",
- "items": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "nullable": true
- },
- "milestone": {
- "title": "Milestone",
- "description": "A collection of related issues and pull requests.",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World/milestones/v1.0"
- },
- "labels_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
- },
- "id": {
- "type": "integer",
- "example": 1002604
- },
- "node_id": {
- "type": "string",
- "example": "MDk6TWlsZXN0b25lMTAwMjYwNA=="
- },
- "number": {
- "description": "The number of the milestone.",
- "type": "integer",
- "example": 42
- },
- "state": {
- "description": "The state of the milestone.",
- "example": "open",
- "type": "string",
- "enum": [
- "open",
- "closed"
- ],
- "default": "open"
- },
- "title": {
- "description": "The title of the milestone.",
- "example": "v1.0",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "Tracking milestone for version 1.0",
- "nullable": true
- },
- "creator": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "open_issues": {
- "type": "integer",
- "example": 4
- },
- "closed_issues": {
- "type": "integer",
- "example": 8
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-10T20:09:31Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2014-03-03T18:58:10Z"
- },
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2013-02-12T13:22:01Z",
- "nullable": true
- },
- "due_on": {
- "type": "string",
- "format": "date-time",
- "example": "2012-10-09T23:39:01Z",
- "nullable": true
- }
- },
- "required": [
- "closed_issues",
- "creator",
- "description",
- "due_on",
- "closed_at",
- "id",
- "node_id",
- "labels_url",
- "html_url",
- "number",
- "open_issues",
- "state",
- "title",
- "url",
- "created_at",
- "updated_at"
- ],
- "nullable": true
- },
- "locked": {
- "type": "boolean"
- },
- "active_lock_reason": {
- "type": "string",
- "nullable": true
- },
- "comments": {
- "type": "integer"
- },
- "pull_request": {
- "type": "object",
- "properties": {
- "merged_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "diff_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "patch_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- }
- },
- "required": [
- "diff_url",
- "html_url",
- "patch_url",
- "url"
- ]
- },
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "draft": {
- "type": "boolean"
- },
- "closed_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "body_html": {
- "type": "string"
- },
- "body_text": {
- "type": "string"
- },
- "timeline_url": {
- "type": "string",
- "format": "uri"
- },
- "repository": {
- "title": "Repository",
- "description": "A git repository",
+ {
+ "title": "Issue",
+ "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.",
"type": "object",
"properties": {
"id": {
- "description": "Unique identifier of the repository",
- "example": 42,
"type": "integer"
},
"node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "type": "string"
},
- "name": {
- "description": "The name of the repository.",
+ "url": {
+ "description": "URL for the issue",
"type": "string",
- "example": "Team Environment"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/1"
+ ]
},
- "full_name": {
+ "repository_url": {
"type": "string",
- "example": "octocat/Hello-World"
+ "format": "uri"
},
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ "labels_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "events_url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "number": {
+ "description": "Number uniquely identifying the issue within its repository",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "state": {
+ "description": "State of the issue; either 'open' or 'closed'",
+ "type": "string",
+ "examples": [
+ "open"
+ ]
+ },
+ "title": {
+ "description": "Title of the issue",
+ "type": "string",
+ "examples": [
+ "Widget creation fails in Safari on OS X 10.8"
+ ]
+ },
+ "body": {
+ "description": "Contents of the issue",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?"
+ ]
+ },
+ "user": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "labels": {
+ "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository",
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer",
+ "format": "int64"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "color": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "default": {
+ "type": "boolean"
+ }
+ }
+ }
+ ]
+ },
+ "examples": [
+ "bug",
+ "registration"
+ ]
+ },
+ "assignee": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "assignees": {
+ "type": [
+ "array",
+ "null"
+ ],
+ "items": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ },
+ "milestone": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Milestone",
+ "description": "A collection of related issues and pull requests.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World/milestones/v1.0"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1002604
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDk6TWlsZXN0b25lMTAwMjYwNA=="
+ ]
+ },
+ "number": {
+ "description": "The number of the milestone.",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "state": {
+ "description": "The state of the milestone.",
+ "type": "string",
+ "enum": [
+ "open",
+ "closed"
+ ],
+ "default": "open",
+ "examples": [
+ "open"
+ ]
+ },
+ "title": {
+ "description": "The title of the milestone.",
+ "type": "string",
+ "examples": [
+ "v1.0"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Tracking milestone for version 1.0"
+ ]
+ },
+ "creator": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "open_issues": {
+ "type": "integer",
+ "examples": [
+ 4
+ ]
+ },
+ "closed_issues": {
+ "type": "integer",
+ "examples": [
+ 8
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-10T20:09:31Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2013-02-12T13:22:01Z"
+ ]
+ },
+ "due_on": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2012-10-09T23:39:01Z"
+ ]
+ }
+ },
+ "required": [
+ "closed_issues",
+ "creator",
+ "description",
+ "due_on",
+ "closed_at",
+ "id",
+ "node_id",
+ "labels_url",
+ "html_url",
+ "number",
+ "open_issues",
+ "state",
+ "title",
+ "url",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ ]
+ },
+ "locked": {
+ "type": "boolean"
+ },
+ "active_lock_reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "comments": {
+ "type": "integer"
+ },
+ "pull_request": {
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "merged_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
+ "diff_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
+ },
+ "patch_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri"
}
},
"required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
+ "diff_url",
"html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
+ "patch_url",
"url"
]
},
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"created_at": {
"type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "format": "date-time"
},
"updated_at": {
"type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "format": "date-time"
},
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
+ "draft": {
+ "type": "boolean"
},
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
+ "closed_by": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "full_name": {
- "type": "string"
- },
- "owner": {
+ {
+ "title": "Simple User",
+ "description": "Simple User",
"type": "object",
"properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "body_html": {
+ "type": "string"
+ },
+ "body_text": {
+ "type": "string"
+ },
+ "timeline_url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "repository": {
+ "title": "Repository",
+ "description": "A git repository",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the repository",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
+ },
+ "name": {
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
+ },
+ "full_name": {
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
+ },
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -267215,77 +316981,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -267293,472 +317441,524 @@
},
"network_count": {
"type": "integer"
- }
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
- }
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ]
- },
- "performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
- },
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
"type": "string"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
- "avatar_url",
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
"events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
"html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
+ },
+ "performed_via_github_app": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the GitHub app",
+ "type": "integer",
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
+ },
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
+ "type": "string",
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
+ },
+ "client_secret": {
+ "type": "string",
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
+ },
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
+ "type": "string",
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
+ }
+ ]
+ },
+ "author_association": {
+ "title": "author_association",
+ "type": "string",
+ "description": "How the author is associated with the repository.",
+ "enum": [
+ "COLLABORATOR",
+ "CONTRIBUTOR",
+ "FIRST_TIMER",
+ "FIRST_TIME_CONTRIBUTOR",
+ "MANNEQUIN",
+ "MEMBER",
+ "NONE",
+ "OWNER"
],
- "nullable": true
+ "examples": [
+ "OWNER"
+ ]
},
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
+ "reactions": {
+ "title": "Reaction Rollup",
"type": "object",
"properties": {
- "issues": {
- "type": "string"
+ "url": {
+ "type": "string",
+ "format": "uri"
},
- "checks": {
- "type": "string"
+ "total_count": {
+ "type": "integer"
},
- "metadata": {
- "type": "string"
+ "+1": {
+ "type": "integer"
},
- "contents": {
- "type": "string"
+ "-1": {
+ "type": "integer"
},
- "deployments": {
- "type": "string"
+ "laugh": {
+ "type": "integer"
+ },
+ "confused": {
+ "type": "integer"
+ },
+ "heart": {
+ "type": "integer"
+ },
+ "hooray": {
+ "type": "integer"
+ },
+ "eyes": {
+ "type": "integer"
+ },
+ "rocket": {
+ "type": "integer"
}
},
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "required": [
+ "url",
+ "total_count",
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "eyes",
+ "rocket"
+ ]
}
},
"required": [
+ "assignee",
+ "closed_at",
+ "comments",
+ "comments_url",
+ "events_url",
+ "html_url",
"id",
"node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
- },
- "author_association": {
- "title": "author_association",
- "type": "string",
- "example": "OWNER",
- "description": "How the author is associated with the repository.",
- "enum": [
- "COLLABORATOR",
- "CONTRIBUTOR",
- "FIRST_TIMER",
- "FIRST_TIME_CONTRIBUTOR",
- "MANNEQUIN",
- "MEMBER",
- "NONE",
- "OWNER"
- ]
- },
- "reactions": {
- "title": "Reaction Rollup",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "format": "uri"
- },
- "total_count": {
- "type": "integer"
- },
- "+1": {
- "type": "integer"
- },
- "-1": {
- "type": "integer"
- },
- "laugh": {
- "type": "integer"
- },
- "confused": {
- "type": "integer"
- },
- "heart": {
- "type": "integer"
- },
- "hooray": {
- "type": "integer"
- },
- "eyes": {
- "type": "integer"
- },
- "rocket": {
- "type": "integer"
- }
- },
- "required": [
+ "labels",
+ "labels_url",
+ "milestone",
+ "number",
+ "repository_url",
+ "state",
+ "locked",
+ "title",
"url",
- "total_count",
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "eyes",
- "rocket"
+ "user",
+ "author_association",
+ "created_at",
+ "updated_at"
]
}
- },
- "required": [
- "assignee",
- "closed_at",
- "comments",
- "comments_url",
- "events_url",
- "html_url",
- "id",
- "node_id",
- "labels",
- "labels_url",
- "milestone",
- "number",
- "repository_url",
- "state",
- "locked",
- "title",
- "url",
- "user",
- "author_association",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"label": {
"title": "Issue Event Label",
@@ -267766,12 +317966,16 @@
"type": "object",
"properties": {
"name": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"color": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -267780,484 +317984,676 @@
]
},
"assignee": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"assigner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"review_requester": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"requested_reviewer": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"requested_team": {
"title": "Team",
@@ -268277,8 +318673,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -268320,7 +318718,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -268330,83 +318730,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -268434,12 +318866,16 @@
"type": "integer"
},
"dismissal_message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"dismissal_commit_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -268515,7 +318951,6 @@
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -268526,257 +318961,348 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
},
"lock_reason": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -269019,16 +319545,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -269102,1923 +319634,2221 @@
"properties": {
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOklzc3VlRXZlbnQx"
+ "examples": [
+ "MDEwOklzc3VlRXZlbnQx"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/issues/events/1"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/issues/events/1"
+ ]
},
"actor": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"event": {
"type": "string",
- "example": "closed"
+ "examples": [
+ "closed"
+ ]
},
"commit_id": {
- "type": "string",
- "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"commit_url": {
- "type": "string",
- "example": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2011-04-14T16:00:49Z"
+ "examples": [
+ "2011-04-14T16:00:49Z"
+ ]
},
"issue": {
- "title": "Issue",
- "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.",
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string"
- },
- "url": {
- "description": "URL for the issue",
- "example": "https://api.github.com/repositories/42/issues/1",
- "type": "string",
- "format": "uri"
- },
- "repository_url": {
- "type": "string",
- "format": "uri"
- },
- "labels_url": {
- "type": "string"
- },
- "comments_url": {
- "type": "string",
- "format": "uri"
- },
- "events_url": {
- "type": "string",
- "format": "uri"
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- },
- "number": {
- "description": "Number uniquely identifying the issue within its repository",
- "example": 42,
- "type": "integer"
- },
- "state": {
- "description": "State of the issue; either 'open' or 'closed'",
- "example": "open",
- "type": "string"
- },
- "title": {
- "description": "Title of the issue",
- "example": "Widget creation fails in Safari on OS X 10.8",
- "type": "string"
- },
- "body": {
- "description": "Contents of the issue",
- "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?",
- "type": "string",
- "nullable": true
- },
- "user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "labels": {
- "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository",
- "example": [
- "bug",
- "registration"
- ],
- "type": "array",
- "items": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer",
- "format": "int64"
- },
- "node_id": {
- "type": "string"
- },
- "url": {
- "type": "string",
- "format": "uri"
- },
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string",
- "nullable": true
- },
- "color": {
- "type": "string",
- "nullable": true
- },
- "default": {
- "type": "boolean"
- }
- }
- }
- ]
- }
- },
- "assignee": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "assignees": {
- "type": "array",
- "items": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "nullable": true
- },
- "milestone": {
- "title": "Milestone",
- "description": "A collection of related issues and pull requests.",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World/milestones/v1.0"
- },
- "labels_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
- },
- "id": {
- "type": "integer",
- "example": 1002604
- },
- "node_id": {
- "type": "string",
- "example": "MDk6TWlsZXN0b25lMTAwMjYwNA=="
- },
- "number": {
- "description": "The number of the milestone.",
- "type": "integer",
- "example": 42
- },
- "state": {
- "description": "The state of the milestone.",
- "example": "open",
- "type": "string",
- "enum": [
- "open",
- "closed"
- ],
- "default": "open"
- },
- "title": {
- "description": "The title of the milestone.",
- "example": "v1.0",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "Tracking milestone for version 1.0",
- "nullable": true
- },
- "creator": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "open_issues": {
- "type": "integer",
- "example": 4
- },
- "closed_issues": {
- "type": "integer",
- "example": 8
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-10T20:09:31Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2014-03-03T18:58:10Z"
- },
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2013-02-12T13:22:01Z",
- "nullable": true
- },
- "due_on": {
- "type": "string",
- "format": "date-time",
- "example": "2012-10-09T23:39:01Z",
- "nullable": true
- }
- },
- "required": [
- "closed_issues",
- "creator",
- "description",
- "due_on",
- "closed_at",
- "id",
- "node_id",
- "labels_url",
- "html_url",
- "number",
- "open_issues",
- "state",
- "title",
- "url",
- "created_at",
- "updated_at"
- ],
- "nullable": true
- },
- "locked": {
- "type": "boolean"
- },
- "active_lock_reason": {
- "type": "string",
- "nullable": true
- },
- "comments": {
- "type": "integer"
- },
- "pull_request": {
- "type": "object",
- "properties": {
- "merged_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "diff_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "patch_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- }
- },
- "required": [
- "diff_url",
- "html_url",
- "patch_url",
- "url"
- ]
- },
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "draft": {
- "type": "boolean"
- },
- "closed_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "body_html": {
- "type": "string"
- },
- "body_text": {
- "type": "string"
- },
- "timeline_url": {
- "type": "string",
- "format": "uri"
- },
- "repository": {
- "title": "Repository",
- "description": "A git repository",
+ {
+ "title": "Issue",
+ "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.",
"type": "object",
"properties": {
"id": {
- "description": "Unique identifier of the repository",
- "example": 42,
"type": "integer"
},
"node_id": {
- "type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "type": "string"
},
- "name": {
- "description": "The name of the repository.",
+ "url": {
+ "description": "URL for the issue",
"type": "string",
- "example": "Team Environment"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/1"
+ ]
},
- "full_name": {
+ "repository_url": {
"type": "string",
- "example": "octocat/Hello-World"
+ "format": "uri"
},
- "license": {
- "title": "License Simple",
- "description": "License Simple",
+ "labels_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "events_url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "number": {
+ "description": "Number uniquely identifying the issue within its repository",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "state": {
+ "description": "State of the issue; either 'open' or 'closed'",
+ "type": "string",
+ "examples": [
+ "open"
+ ]
+ },
+ "title": {
+ "description": "Title of the issue",
+ "type": "string",
+ "examples": [
+ "Widget creation fails in Safari on OS X 10.8"
+ ]
+ },
+ "body": {
+ "description": "Contents of the issue",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?"
+ ]
+ },
+ "user": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "labels": {
+ "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository",
+ "type": "array",
+ "items": {
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer",
+ "format": "int64"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "color": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "default": {
+ "type": "boolean"
+ }
+ }
+ }
+ ]
+ },
+ "examples": [
+ "bug",
+ "registration"
+ ]
+ },
+ "assignee": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "assignees": {
+ "type": [
+ "array",
+ "null"
+ ],
+ "items": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ },
+ "milestone": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Milestone",
+ "description": "A collection of related issues and pull requests.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World/milestones/v1.0"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1002604
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDk6TWlsZXN0b25lMTAwMjYwNA=="
+ ]
+ },
+ "number": {
+ "description": "The number of the milestone.",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "state": {
+ "description": "The state of the milestone.",
+ "type": "string",
+ "enum": [
+ "open",
+ "closed"
+ ],
+ "default": "open",
+ "examples": [
+ "open"
+ ]
+ },
+ "title": {
+ "description": "The title of the milestone.",
+ "type": "string",
+ "examples": [
+ "v1.0"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Tracking milestone for version 1.0"
+ ]
+ },
+ "creator": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "open_issues": {
+ "type": "integer",
+ "examples": [
+ 4
+ ]
+ },
+ "closed_issues": {
+ "type": "integer",
+ "examples": [
+ 8
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-10T20:09:31Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2013-02-12T13:22:01Z"
+ ]
+ },
+ "due_on": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2012-10-09T23:39:01Z"
+ ]
+ }
+ },
+ "required": [
+ "closed_issues",
+ "creator",
+ "description",
+ "due_on",
+ "closed_at",
+ "id",
+ "node_id",
+ "labels_url",
+ "html_url",
+ "number",
+ "open_issues",
+ "state",
+ "title",
+ "url",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ ]
+ },
+ "locked": {
+ "type": "boolean"
+ },
+ "active_lock_reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "comments": {
+ "type": "integer"
+ },
+ "pull_request": {
"type": "object",
"properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "merged_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
+ "diff_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
+ },
+ "patch_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri"
}
},
"required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
- },
- "organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
+ "diff_url",
"html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
+ "patch_url",
"url"
]
},
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World"
- },
- "description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
- },
- "archive_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- },
- "assignees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- },
- "blobs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- },
- "branches_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- },
- "collaborators_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- },
- "comments_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- },
- "commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- },
- "compare_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- },
- "contents_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
- },
- "git_commits_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- },
- "git_refs_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- },
- "git_tags_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- },
- "git_url": {
- "type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
- },
- "issue_comment_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- },
- "issue_events_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- },
- "issues_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- },
- "keys_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- },
- "labels_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
- },
- "milestones_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- },
- "notifications_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- },
- "pulls_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- },
- "releases_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- },
- "ssh_url": {
- "type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
- },
- "statuses_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
- },
- "trees_url": {
- "type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- },
- "clone_url": {
- "type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
- },
- "mirror_url": {
- "type": "string",
- "format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
- },
- "homepage": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com",
- "nullable": true
- },
- "language": {
- "type": "string",
- "nullable": true
- },
- "forks_count": {
- "type": "integer",
- "example": 9
- },
- "stargazers_count": {
- "type": "integer",
- "example": 80
- },
- "watchers_count": {
- "type": "integer",
- "example": 80
- },
- "size": {
- "type": "integer",
- "example": 108
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "example": "master"
- },
- "open_issues_count": {
- "type": "integer",
- "example": 0
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "example": true
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
},
"created_at": {
"type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "format": "date-time"
},
"updated_at": {
"type": "string",
- "format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "format": "date-time"
},
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
+ "draft": {
+ "type": "boolean"
},
- "template_repository": {
- "nullable": true,
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
+ "closed_by": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "full_name": {
- "type": "string"
- },
- "owner": {
+ {
+ "title": "Simple User",
+ "description": "Simple User",
"type": "object",
"properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
"login": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
},
"id": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 1
+ ]
},
"node_id": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
- }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "body_html": {
+ "type": "string"
+ },
+ "body_text": {
+ "type": "string"
+ },
+ "timeline_url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "repository": {
+ "title": "Repository",
+ "description": "A git repository",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the repository",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
+ },
+ "name": {
+ "description": "The name of the repository.",
+ "type": "string",
+ "examples": [
+ "Team Environment"
+ ]
+ },
+ "full_name": {
+ "type": "string",
+ "examples": [
+ "octocat/Hello-World"
+ ]
+ },
+ "license": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
+ }
+ ]
+ },
+ "organization": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "forks": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "admin",
+ "pull",
+ "push"
+ ]
+ },
+ "owner": {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
},
"private": {
+ "description": "Whether the repository is private or public.",
+ "default": false,
"type": "boolean"
},
"html_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
},
"url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
- "type": "string"
+ "type": "string",
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
- "type": "string"
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 80
+ ]
},
"size": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 108
+ ]
},
"default_branch": {
- "type": "string"
+ "description": "The default branch of the repository.",
+ "type": "string",
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 0
+ ]
},
"is_template": {
- "type": "boolean"
+ "description": "Whether this repository acts as a template that can be used to generate new repositories.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -271027,77 +321857,459 @@
}
},
"has_issues": {
- "type": "boolean"
+ "description": "Whether issues are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_projects": {
- "type": "boolean"
+ "description": "Whether projects are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_wiki": {
- "type": "boolean"
+ "description": "Whether the wiki is enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
},
"has_downloads": {
- "type": "boolean"
+ "description": "Whether downloads are enabled.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"archived": {
+ "description": "Whether the repository is archived.",
+ "default": false,
"type": "boolean"
},
"disabled": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Returns whether or not this repository disabled."
},
"visibility": {
+ "description": "The repository visibility: public, private, or internal.",
+ "default": "public",
"type": "string"
},
"pushed_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
- "type": "boolean"
+ "description": "Whether to allow rebase merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "template_repository": {
+ "type": [
+ "object",
+ "null"
+ ],
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "full_name": {
+ "type": "string"
+ },
+ "owner": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "node_id": {
+ "type": "string"
+ },
+ "avatar_url": {
+ "type": "string"
+ },
+ "gravatar_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "followers_url": {
+ "type": "string"
+ },
+ "following_url": {
+ "type": "string"
+ },
+ "gists_url": {
+ "type": "string"
+ },
+ "starred_url": {
+ "type": "string"
+ },
+ "subscriptions_url": {
+ "type": "string"
+ },
+ "organizations_url": {
+ "type": "string"
+ },
+ "repos_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "received_events_url": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "site_admin": {
+ "type": "boolean"
+ }
+ }
+ },
+ "private": {
+ "type": "boolean"
+ },
+ "html_url": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "fork": {
+ "type": "boolean"
+ },
+ "url": {
+ "type": "string"
+ },
+ "archive_url": {
+ "type": "string"
+ },
+ "assignees_url": {
+ "type": "string"
+ },
+ "blobs_url": {
+ "type": "string"
+ },
+ "branches_url": {
+ "type": "string"
+ },
+ "collaborators_url": {
+ "type": "string"
+ },
+ "comments_url": {
+ "type": "string"
+ },
+ "commits_url": {
+ "type": "string"
+ },
+ "compare_url": {
+ "type": "string"
+ },
+ "contents_url": {
+ "type": "string"
+ },
+ "contributors_url": {
+ "type": "string"
+ },
+ "deployments_url": {
+ "type": "string"
+ },
+ "downloads_url": {
+ "type": "string"
+ },
+ "events_url": {
+ "type": "string"
+ },
+ "forks_url": {
+ "type": "string"
+ },
+ "git_commits_url": {
+ "type": "string"
+ },
+ "git_refs_url": {
+ "type": "string"
+ },
+ "git_tags_url": {
+ "type": "string"
+ },
+ "git_url": {
+ "type": "string"
+ },
+ "issue_comment_url": {
+ "type": "string"
+ },
+ "issue_events_url": {
+ "type": "string"
+ },
+ "issues_url": {
+ "type": "string"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "labels_url": {
+ "type": "string"
+ },
+ "languages_url": {
+ "type": "string"
+ },
+ "merges_url": {
+ "type": "string"
+ },
+ "milestones_url": {
+ "type": "string"
+ },
+ "notifications_url": {
+ "type": "string"
+ },
+ "pulls_url": {
+ "type": "string"
+ },
+ "releases_url": {
+ "type": "string"
+ },
+ "ssh_url": {
+ "type": "string"
+ },
+ "stargazers_url": {
+ "type": "string"
+ },
+ "statuses_url": {
+ "type": "string"
+ },
+ "subscribers_url": {
+ "type": "string"
+ },
+ "subscription_url": {
+ "type": "string"
+ },
+ "tags_url": {
+ "type": "string"
+ },
+ "teams_url": {
+ "type": "string"
+ },
+ "trees_url": {
+ "type": "string"
+ },
+ "clone_url": {
+ "type": "string"
+ },
+ "mirror_url": {
+ "type": "string"
+ },
+ "hooks_url": {
+ "type": "string"
+ },
+ "svn_url": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "forks_count": {
+ "type": "integer"
+ },
+ "stargazers_count": {
+ "type": "integer"
+ },
+ "watchers_count": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "default_branch": {
+ "type": "string"
+ },
+ "open_issues_count": {
+ "type": "integer"
+ },
+ "is_template": {
+ "type": "boolean"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "has_issues": {
+ "type": "boolean"
+ },
+ "has_projects": {
+ "type": "boolean"
+ },
+ "has_wiki": {
+ "type": "boolean"
+ },
+ "has_pages": {
+ "type": "boolean"
+ },
+ "has_downloads": {
+ "type": "boolean"
+ },
+ "archived": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean"
+ },
+ "visibility": {
+ "type": "string"
+ },
+ "pushed_at": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "object",
+ "properties": {
+ "admin": {
+ "type": "boolean"
+ },
+ "maintain": {
+ "type": "boolean"
+ },
+ "push": {
+ "type": "boolean"
+ },
+ "triage": {
+ "type": "boolean"
+ },
+ "pull": {
+ "type": "boolean"
+ }
+ }
+ },
+ "allow_rebase_merge": {
+ "type": "boolean"
+ },
+ "temp_clone_token": {
+ "type": "string"
+ },
+ "allow_squash_merge": {
+ "type": "boolean"
+ },
+ "allow_auto_merge": {
+ "type": "boolean"
+ },
+ "delete_branch_on_merge": {
+ "type": "boolean"
+ },
+ "allow_update_branch": {
+ "type": "boolean"
+ },
+ "allow_merge_commit": {
+ "type": "boolean"
+ },
+ "subscribers_count": {
+ "type": "integer"
+ },
+ "network_count": {
+ "type": "integer"
+ }
+ }
},
"temp_clone_token": {
"type": "string"
},
"allow_squash_merge": {
- "type": "boolean"
+ "description": "Whether to allow squash merges for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
- "type": "boolean"
+ "description": "Whether to allow Auto-merge to be used on pull requests.",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
+ "description": "Whether to delete head branches when pull requests are merged",
+ "default": false,
+ "type": "boolean",
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
+ "description": "Whether to allow merge commits for pull requests.",
+ "default": true,
+ "type": "boolean",
+ "examples": [
+ true
+ ]
+ },
+ "allow_forking": {
+ "description": "Whether to allow forking this repo",
"type": "boolean"
},
"subscribers_count": {
@@ -271105,472 +322317,524 @@
},
"network_count": {
"type": "integer"
- }
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "example": false
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "example": true
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
- }
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ]
- },
- "performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
- },
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
+ },
+ "open_issues": {
+ "type": "integer"
+ },
+ "watchers": {
+ "type": "integer"
+ },
+ "master_branch": {
"type": "string"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
- "avatar_url",
+ "archive_url",
+ "assignees_url",
+ "blobs_url",
+ "branches_url",
+ "collaborators_url",
+ "comments_url",
+ "commits_url",
+ "compare_url",
+ "contents_url",
+ "contributors_url",
+ "deployments_url",
+ "description",
+ "downloads_url",
"events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
+ "fork",
+ "forks_url",
+ "full_name",
+ "git_commits_url",
+ "git_refs_url",
+ "git_tags_url",
+ "hooks_url",
"html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
+ "issue_comment_url",
+ "issue_events_url",
+ "issues_url",
+ "keys_url",
+ "labels_url",
+ "languages_url",
+ "merges_url",
+ "milestones_url",
+ "name",
+ "notifications_url",
+ "owner",
+ "private",
+ "pulls_url",
+ "releases_url",
+ "stargazers_url",
+ "statuses_url",
+ "subscribers_url",
+ "subscription_url",
+ "tags_url",
+ "teams_url",
+ "trees_url",
+ "url",
+ "clone_url",
+ "default_branch",
+ "forks",
+ "forks_count",
+ "git_url",
+ "has_downloads",
+ "has_issues",
+ "has_projects",
+ "has_wiki",
+ "has_pages",
+ "homepage",
+ "language",
+ "archived",
+ "disabled",
+ "mirror_url",
+ "open_issues",
+ "open_issues_count",
+ "license",
+ "pushed_at",
+ "size",
+ "ssh_url",
+ "stargazers_count",
+ "svn_url",
+ "watchers",
+ "watchers_count",
+ "created_at",
+ "updated_at"
+ ]
+ },
+ "performed_via_github_app": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the GitHub app",
+ "type": "integer",
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
+ },
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
+ "type": "string",
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
+ },
+ "client_secret": {
+ "type": "string",
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
+ },
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
+ "type": "string",
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
+ }
+ ]
+ },
+ "author_association": {
+ "title": "author_association",
+ "type": "string",
+ "description": "How the author is associated with the repository.",
+ "enum": [
+ "COLLABORATOR",
+ "CONTRIBUTOR",
+ "FIRST_TIMER",
+ "FIRST_TIME_CONTRIBUTOR",
+ "MANNEQUIN",
+ "MEMBER",
+ "NONE",
+ "OWNER"
],
- "nullable": true
+ "examples": [
+ "OWNER"
+ ]
},
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
+ "reactions": {
+ "title": "Reaction Rollup",
"type": "object",
"properties": {
- "issues": {
- "type": "string"
+ "url": {
+ "type": "string",
+ "format": "uri"
},
- "checks": {
- "type": "string"
+ "total_count": {
+ "type": "integer"
},
- "metadata": {
- "type": "string"
+ "+1": {
+ "type": "integer"
},
- "contents": {
- "type": "string"
+ "-1": {
+ "type": "integer"
},
- "deployments": {
- "type": "string"
+ "laugh": {
+ "type": "integer"
+ },
+ "confused": {
+ "type": "integer"
+ },
+ "heart": {
+ "type": "integer"
+ },
+ "hooray": {
+ "type": "integer"
+ },
+ "eyes": {
+ "type": "integer"
+ },
+ "rocket": {
+ "type": "integer"
}
},
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "required": [
+ "url",
+ "total_count",
+ "+1",
+ "-1",
+ "laugh",
+ "confused",
+ "heart",
+ "hooray",
+ "eyes",
+ "rocket"
+ ]
}
},
"required": [
+ "assignee",
+ "closed_at",
+ "comments",
+ "comments_url",
+ "events_url",
+ "html_url",
"id",
"node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
- },
- "author_association": {
- "title": "author_association",
- "type": "string",
- "example": "OWNER",
- "description": "How the author is associated with the repository.",
- "enum": [
- "COLLABORATOR",
- "CONTRIBUTOR",
- "FIRST_TIMER",
- "FIRST_TIME_CONTRIBUTOR",
- "MANNEQUIN",
- "MEMBER",
- "NONE",
- "OWNER"
- ]
- },
- "reactions": {
- "title": "Reaction Rollup",
- "type": "object",
- "properties": {
- "url": {
- "type": "string",
- "format": "uri"
- },
- "total_count": {
- "type": "integer"
- },
- "+1": {
- "type": "integer"
- },
- "-1": {
- "type": "integer"
- },
- "laugh": {
- "type": "integer"
- },
- "confused": {
- "type": "integer"
- },
- "heart": {
- "type": "integer"
- },
- "hooray": {
- "type": "integer"
- },
- "eyes": {
- "type": "integer"
- },
- "rocket": {
- "type": "integer"
- }
- },
- "required": [
+ "labels",
+ "labels_url",
+ "milestone",
+ "number",
+ "repository_url",
+ "state",
+ "locked",
+ "title",
"url",
- "total_count",
- "+1",
- "-1",
- "laugh",
- "confused",
- "heart",
- "hooray",
- "eyes",
- "rocket"
+ "user",
+ "author_association",
+ "created_at",
+ "updated_at"
]
}
- },
- "required": [
- "assignee",
- "closed_at",
- "comments",
- "comments_url",
- "events_url",
- "html_url",
- "id",
- "node_id",
- "labels",
- "labels_url",
- "milestone",
- "number",
- "repository_url",
- "state",
- "locked",
- "title",
- "url",
- "user",
- "author_association",
- "created_at",
- "updated_at"
- ],
- "nullable": true
+ ]
},
"label": {
"title": "Issue Event Label",
@@ -271578,12 +322842,16 @@
"type": "object",
"properties": {
"name": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"color": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -271592,484 +322860,676 @@
]
},
"assignee": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"assigner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"review_requester": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"requested_reviewer": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"requested_team": {
"title": "Team",
@@ -272089,8 +323549,10 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"privacy": {
"type": "string"
@@ -272132,7 +323594,9 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
},
"members_url": {
"type": "string"
@@ -272142,83 +323606,115 @@
"format": "uri"
},
"parent": {
- "title": "Team Simple",
- "description": "Groups of organization members that gives permissions on specified repositories.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the team",
- "type": "integer",
- "example": 1
+ "anyOf": [
+ {
+ "type": "null"
},
- "node_id": {
- "type": "string",
- "example": "MDQ6VGVhbTE="
- },
- "url": {
- "description": "URL for the team",
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1"
- },
- "members_url": {
- "type": "string",
- "example": "https://api.github.com/organizations/1/team/1/members{/member}"
- },
- "name": {
- "description": "Name of the team",
- "type": "string",
- "example": "Justice League"
- },
- "description": {
- "description": "Description of the team",
- "type": "string",
- "nullable": true,
- "example": "A great team."
- },
- "permission": {
- "description": "Permission that the team will have for its repositories",
- "type": "string",
- "example": "admin"
- },
- "privacy": {
- "description": "The level of privacy this team should have",
- "type": "string",
- "example": "closed"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/orgs/rails/teams/core"
- },
- "repositories_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/organizations/1/team/1/repos"
- },
- "slug": {
- "type": "string",
- "example": "justice-league"
- },
- "ldap_dn": {
- "description": "Distinguished Name (DN) that team maps to within LDAP environment",
- "example": "uid=example,ou=users,dc=github,dc=com",
- "type": "string"
+ {
+ "title": "Team Simple",
+ "description": "Groups of organization members that gives permissions on specified repositories.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the team",
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VGVhbTE="
+ ]
+ },
+ "url": {
+ "description": "URL for the team",
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1"
+ ]
+ },
+ "members_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/members{/member}"
+ ]
+ },
+ "name": {
+ "description": "Name of the team",
+ "type": "string",
+ "examples": [
+ "Justice League"
+ ]
+ },
+ "description": {
+ "description": "Description of the team",
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "A great team."
+ ]
+ },
+ "permission": {
+ "description": "Permission that the team will have for its repositories",
+ "type": "string",
+ "examples": [
+ "admin"
+ ]
+ },
+ "privacy": {
+ "description": "The level of privacy this team should have",
+ "type": "string",
+ "examples": [
+ "closed"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/orgs/rails/teams/core"
+ ]
+ },
+ "repositories_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/organizations/1/team/1/repos"
+ ]
+ },
+ "slug": {
+ "type": "string",
+ "examples": [
+ "justice-league"
+ ]
+ },
+ "ldap_dn": {
+ "description": "Distinguished Name (DN) that team maps to within LDAP environment",
+ "type": "string",
+ "examples": [
+ "uid=example,ou=users,dc=github,dc=com"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "node_id",
+ "url",
+ "members_url",
+ "name",
+ "description",
+ "permission",
+ "html_url",
+ "repositories_url",
+ "slug"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "url",
- "members_url",
- "name",
- "description",
- "permission",
- "html_url",
- "repositories_url",
- "slug"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -272246,12 +323742,16 @@
"type": "integer"
},
"dismissal_message": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"dismissal_commit_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
},
"required": [
@@ -272327,7 +323827,6 @@
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -272338,257 +323837,348 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
},
"lock_reason": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
}
},
"required": [
@@ -272959,9 +324549,11 @@
},
"url": {
"description": "URL for the issue",
- "example": "https://api.github.com/repositories/42/issues/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/1"
+ ]
},
"repository_url": {
"type": "string",
@@ -272984,151 +324576,205 @@
},
"number": {
"description": "Number uniquely identifying the issue within its repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"state": {
"description": "State of the issue; either 'open' or 'closed'",
- "example": "open",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "open"
+ ]
},
"title": {
"description": "Title of the issue",
- "example": "Widget creation fails in Safari on OS X 10.8",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Widget creation fails in Safari on OS X 10.8"
+ ]
},
"body": {
"description": "Contents of the issue",
- "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"labels": {
"description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository",
- "example": [
- "bug",
- "registration"
- ],
"type": "array",
"items": {
"oneOf": [
@@ -273153,12 +324799,16 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"color": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"default": {
"type": "boolean"
@@ -273166,226 +324816,323 @@
}
}
]
- }
+ },
+ "examples": [
+ "bug",
+ "registration"
+ ]
},
"assignee": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"assignees": {
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -273408,158 +325155,541 @@
"type",
"url"
]
- },
- "nullable": true
+ }
},
"milestone": {
- "title": "Milestone",
- "description": "A collection of related issues and pull requests.",
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Milestone",
+ "description": "A collection of related issues and pull requests.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World/milestones/v1.0"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1002604
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDk6TWlsZXN0b25lMTAwMjYwNA=="
+ ]
+ },
+ "number": {
+ "description": "The number of the milestone.",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "state": {
+ "description": "The state of the milestone.",
+ "type": "string",
+ "enum": [
+ "open",
+ "closed"
+ ],
+ "default": "open",
+ "examples": [
+ "open"
+ ]
+ },
+ "title": {
+ "description": "The title of the milestone.",
+ "type": "string",
+ "examples": [
+ "v1.0"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Tracking milestone for version 1.0"
+ ]
+ },
+ "creator": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "open_issues": {
+ "type": "integer",
+ "examples": [
+ 4
+ ]
+ },
+ "closed_issues": {
+ "type": "integer",
+ "examples": [
+ 8
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-10T20:09:31Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2013-02-12T13:22:01Z"
+ ]
+ },
+ "due_on": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2012-10-09T23:39:01Z"
+ ]
+ }
+ },
+ "required": [
+ "closed_issues",
+ "creator",
+ "description",
+ "due_on",
+ "closed_at",
+ "id",
+ "node_id",
+ "labels_url",
+ "html_url",
+ "number",
+ "open_issues",
+ "state",
+ "title",
+ "url",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ ]
+ },
+ "locked": {
+ "type": "boolean"
+ },
+ "active_lock_reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "comments": {
+ "type": "integer"
+ },
+ "pull_request": {
"type": "object",
"properties": {
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ "merged_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "diff_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World/milestones/v1.0"
- },
- "labels_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
- },
- "id": {
- "type": "integer",
- "example": 1002604
- },
- "node_id": {
- "type": "string",
- "example": "MDk6TWlsZXN0b25lMTAwMjYwNA=="
- },
- "number": {
- "description": "The number of the milestone.",
- "type": "integer",
- "example": 42
- },
- "state": {
- "description": "The state of the milestone.",
- "example": "open",
- "type": "string",
- "enum": [
- "open",
- "closed"
+ "type": [
+ "string",
+ "null"
],
- "default": "open"
+ "format": "uri"
},
- "title": {
- "description": "The title of the milestone.",
- "example": "v1.0",
- "type": "string"
+ "patch_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
- "description": {
- "type": "string",
- "example": "Tracking milestone for version 1.0",
- "nullable": true
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
+ }
+ },
+ "required": [
+ "diff_url",
+ "html_url",
+ "patch_url",
+ "url"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "draft": {
+ "type": "boolean"
+ },
+ "closed_by": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "creator": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -273581,242 +325711,10 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
- },
- "open_issues": {
- "type": "integer",
- "example": 4
- },
- "closed_issues": {
- "type": "integer",
- "example": 8
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-10T20:09:31Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2014-03-03T18:58:10Z"
- },
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2013-02-12T13:22:01Z",
- "nullable": true
- },
- "due_on": {
- "type": "string",
- "format": "date-time",
- "example": "2012-10-09T23:39:01Z",
- "nullable": true
+ ]
}
- },
- "required": [
- "closed_issues",
- "creator",
- "description",
- "due_on",
- "closed_at",
- "id",
- "node_id",
- "labels_url",
- "html_url",
- "number",
- "open_issues",
- "state",
- "title",
- "url",
- "created_at",
- "updated_at"
- ],
- "nullable": true
- },
- "locked": {
- "type": "boolean"
- },
- "active_lock_reason": {
- "type": "string",
- "nullable": true
- },
- "comments": {
- "type": "integer"
- },
- "pull_request": {
- "type": "object",
- "properties": {
- "merged_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "diff_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "patch_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- }
- },
- "required": [
- "diff_url",
- "html_url",
- "patch_url",
- "url"
]
},
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "draft": {
- "type": "boolean"
- },
- "closed_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
"body_html": {
"type": "string"
},
@@ -273834,183 +325732,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -274046,96 +326020,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -274167,12 +326183,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -274180,228 +326202,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -274413,19 +326541,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -274434,7 +326568,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -274451,32 +326587,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -274809,25 +326961,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -274850,7 +327010,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -274930,255 +327092,340 @@
]
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -275189,6 +327436,9 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
},
"reactions": {
@@ -275573,16 +327823,24 @@
}
],
"description": "The title of the issue.",
- "nullable": true
+ "type": [
+ "null",
+ "string",
+ "integer"
+ ]
},
"body": {
- "type": "string",
- "description": "The contents of the issue.",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "description": "The contents of the issue."
},
"assignee": {
- "type": "string",
- "nullable": true,
+ "type": [
+ "string",
+ "null"
+ ],
"description": "Login for the user that this issue should be assigned to. **This field is deprecated.**"
},
"state": {
@@ -275603,7 +327861,11 @@
"description": "The `number` of the milestone to associate this issue with or `null` to remove current. _NOTE: Only users with push access can set the milestone for issues. The milestone is silently dropped otherwise._"
}
],
- "nullable": true
+ "type": [
+ "null",
+ "string",
+ "integer"
+ ]
},
"labels": {
"type": "array",
@@ -275623,12 +327885,16 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"color": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
}
}
}
@@ -275677,9 +327943,11 @@
},
"url": {
"description": "URL for the issue",
- "example": "https://api.github.com/repositories/42/issues/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/1"
+ ]
},
"repository_url": {
"type": "string",
@@ -275702,151 +327970,205 @@
},
"number": {
"description": "Number uniquely identifying the issue within its repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"state": {
"description": "State of the issue; either 'open' or 'closed'",
- "example": "open",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "open"
+ ]
},
"title": {
"description": "Title of the issue",
- "example": "Widget creation fails in Safari on OS X 10.8",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Widget creation fails in Safari on OS X 10.8"
+ ]
},
"body": {
"description": "Contents of the issue",
- "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"labels": {
"description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository",
- "example": [
- "bug",
- "registration"
- ],
"type": "array",
"items": {
"oneOf": [
@@ -275871,12 +328193,16 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"color": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"default": {
"type": "boolean"
@@ -275884,226 +328210,323 @@
}
}
]
- }
+ },
+ "examples": [
+ "bug",
+ "registration"
+ ]
},
"assignee": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"assignees": {
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -276126,158 +328549,541 @@
"type",
"url"
]
- },
- "nullable": true
+ }
},
"milestone": {
- "title": "Milestone",
- "description": "A collection of related issues and pull requests.",
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Milestone",
+ "description": "A collection of related issues and pull requests.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World/milestones/v1.0"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1002604
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDk6TWlsZXN0b25lMTAwMjYwNA=="
+ ]
+ },
+ "number": {
+ "description": "The number of the milestone.",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "state": {
+ "description": "The state of the milestone.",
+ "type": "string",
+ "enum": [
+ "open",
+ "closed"
+ ],
+ "default": "open",
+ "examples": [
+ "open"
+ ]
+ },
+ "title": {
+ "description": "The title of the milestone.",
+ "type": "string",
+ "examples": [
+ "v1.0"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Tracking milestone for version 1.0"
+ ]
+ },
+ "creator": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "open_issues": {
+ "type": "integer",
+ "examples": [
+ 4
+ ]
+ },
+ "closed_issues": {
+ "type": "integer",
+ "examples": [
+ 8
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-10T20:09:31Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2013-02-12T13:22:01Z"
+ ]
+ },
+ "due_on": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2012-10-09T23:39:01Z"
+ ]
+ }
+ },
+ "required": [
+ "closed_issues",
+ "creator",
+ "description",
+ "due_on",
+ "closed_at",
+ "id",
+ "node_id",
+ "labels_url",
+ "html_url",
+ "number",
+ "open_issues",
+ "state",
+ "title",
+ "url",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ ]
+ },
+ "locked": {
+ "type": "boolean"
+ },
+ "active_lock_reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "comments": {
+ "type": "integer"
+ },
+ "pull_request": {
"type": "object",
"properties": {
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ "merged_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "diff_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World/milestones/v1.0"
- },
- "labels_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
- },
- "id": {
- "type": "integer",
- "example": 1002604
- },
- "node_id": {
- "type": "string",
- "example": "MDk6TWlsZXN0b25lMTAwMjYwNA=="
- },
- "number": {
- "description": "The number of the milestone.",
- "type": "integer",
- "example": 42
- },
- "state": {
- "description": "The state of the milestone.",
- "example": "open",
- "type": "string",
- "enum": [
- "open",
- "closed"
+ "type": [
+ "string",
+ "null"
],
- "default": "open"
+ "format": "uri"
},
- "title": {
- "description": "The title of the milestone.",
- "example": "v1.0",
- "type": "string"
+ "patch_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
- "description": {
- "type": "string",
- "example": "Tracking milestone for version 1.0",
- "nullable": true
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
+ }
+ },
+ "required": [
+ "diff_url",
+ "html_url",
+ "patch_url",
+ "url"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "draft": {
+ "type": "boolean"
+ },
+ "closed_by": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "creator": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -276299,242 +329105,10 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
- },
- "open_issues": {
- "type": "integer",
- "example": 4
- },
- "closed_issues": {
- "type": "integer",
- "example": 8
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-10T20:09:31Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2014-03-03T18:58:10Z"
- },
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2013-02-12T13:22:01Z",
- "nullable": true
- },
- "due_on": {
- "type": "string",
- "format": "date-time",
- "example": "2012-10-09T23:39:01Z",
- "nullable": true
+ ]
}
- },
- "required": [
- "closed_issues",
- "creator",
- "description",
- "due_on",
- "closed_at",
- "id",
- "node_id",
- "labels_url",
- "html_url",
- "number",
- "open_issues",
- "state",
- "title",
- "url",
- "created_at",
- "updated_at"
- ],
- "nullable": true
- },
- "locked": {
- "type": "boolean"
- },
- "active_lock_reason": {
- "type": "string",
- "nullable": true
- },
- "comments": {
- "type": "integer"
- },
- "pull_request": {
- "type": "object",
- "properties": {
- "merged_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "diff_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "patch_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- }
- },
- "required": [
- "diff_url",
- "html_url",
- "patch_url",
- "url"
]
},
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "draft": {
- "type": "boolean"
- },
- "closed_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
"body_html": {
"type": "string"
},
@@ -276552,183 +329126,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -276764,96 +329414,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -276885,12 +329577,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -276898,228 +329596,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -277131,19 +329935,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -277152,7 +329962,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -277169,32 +329981,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -277527,25 +330355,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -277568,7 +330404,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -277648,255 +330486,340 @@
]
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -277907,6 +330830,9 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
},
"reactions": {
@@ -278192,16 +331118,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -278432,9 +331364,11 @@
},
"url": {
"description": "URL for the issue",
- "example": "https://api.github.com/repositories/42/issues/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/1"
+ ]
},
"repository_url": {
"type": "string",
@@ -278457,151 +331391,205 @@
},
"number": {
"description": "Number uniquely identifying the issue within its repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"state": {
"description": "State of the issue; either 'open' or 'closed'",
- "example": "open",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "open"
+ ]
},
"title": {
"description": "Title of the issue",
- "example": "Widget creation fails in Safari on OS X 10.8",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Widget creation fails in Safari on OS X 10.8"
+ ]
},
"body": {
"description": "Contents of the issue",
- "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"labels": {
"description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository",
- "example": [
- "bug",
- "registration"
- ],
"type": "array",
"items": {
"oneOf": [
@@ -278626,12 +331614,16 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"color": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"default": {
"type": "boolean"
@@ -278639,226 +331631,323 @@
}
}
]
- }
+ },
+ "examples": [
+ "bug",
+ "registration"
+ ]
},
"assignee": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"assignees": {
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -278881,158 +331970,541 @@
"type",
"url"
]
- },
- "nullable": true
+ }
},
"milestone": {
- "title": "Milestone",
- "description": "A collection of related issues and pull requests.",
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Milestone",
+ "description": "A collection of related issues and pull requests.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World/milestones/v1.0"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1002604
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDk6TWlsZXN0b25lMTAwMjYwNA=="
+ ]
+ },
+ "number": {
+ "description": "The number of the milestone.",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "state": {
+ "description": "The state of the milestone.",
+ "type": "string",
+ "enum": [
+ "open",
+ "closed"
+ ],
+ "default": "open",
+ "examples": [
+ "open"
+ ]
+ },
+ "title": {
+ "description": "The title of the milestone.",
+ "type": "string",
+ "examples": [
+ "v1.0"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Tracking milestone for version 1.0"
+ ]
+ },
+ "creator": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "open_issues": {
+ "type": "integer",
+ "examples": [
+ 4
+ ]
+ },
+ "closed_issues": {
+ "type": "integer",
+ "examples": [
+ 8
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-10T20:09:31Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2013-02-12T13:22:01Z"
+ ]
+ },
+ "due_on": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2012-10-09T23:39:01Z"
+ ]
+ }
+ },
+ "required": [
+ "closed_issues",
+ "creator",
+ "description",
+ "due_on",
+ "closed_at",
+ "id",
+ "node_id",
+ "labels_url",
+ "html_url",
+ "number",
+ "open_issues",
+ "state",
+ "title",
+ "url",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ ]
+ },
+ "locked": {
+ "type": "boolean"
+ },
+ "active_lock_reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "comments": {
+ "type": "integer"
+ },
+ "pull_request": {
"type": "object",
"properties": {
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ "merged_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "diff_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World/milestones/v1.0"
- },
- "labels_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
- },
- "id": {
- "type": "integer",
- "example": 1002604
- },
- "node_id": {
- "type": "string",
- "example": "MDk6TWlsZXN0b25lMTAwMjYwNA=="
- },
- "number": {
- "description": "The number of the milestone.",
- "type": "integer",
- "example": 42
- },
- "state": {
- "description": "The state of the milestone.",
- "example": "open",
- "type": "string",
- "enum": [
- "open",
- "closed"
+ "type": [
+ "string",
+ "null"
],
- "default": "open"
+ "format": "uri"
},
- "title": {
- "description": "The title of the milestone.",
- "example": "v1.0",
- "type": "string"
+ "patch_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
- "description": {
- "type": "string",
- "example": "Tracking milestone for version 1.0",
- "nullable": true
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
+ }
+ },
+ "required": [
+ "diff_url",
+ "html_url",
+ "patch_url",
+ "url"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "draft": {
+ "type": "boolean"
+ },
+ "closed_by": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "creator": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -279054,242 +332526,10 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
- },
- "open_issues": {
- "type": "integer",
- "example": 4
- },
- "closed_issues": {
- "type": "integer",
- "example": 8
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-10T20:09:31Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2014-03-03T18:58:10Z"
- },
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2013-02-12T13:22:01Z",
- "nullable": true
- },
- "due_on": {
- "type": "string",
- "format": "date-time",
- "example": "2012-10-09T23:39:01Z",
- "nullable": true
+ ]
}
- },
- "required": [
- "closed_issues",
- "creator",
- "description",
- "due_on",
- "closed_at",
- "id",
- "node_id",
- "labels_url",
- "html_url",
- "number",
- "open_issues",
- "state",
- "title",
- "url",
- "created_at",
- "updated_at"
- ],
- "nullable": true
- },
- "locked": {
- "type": "boolean"
- },
- "active_lock_reason": {
- "type": "string",
- "nullable": true
- },
- "comments": {
- "type": "integer"
- },
- "pull_request": {
- "type": "object",
- "properties": {
- "merged_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "diff_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "patch_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- }
- },
- "required": [
- "diff_url",
- "html_url",
- "patch_url",
- "url"
]
},
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "draft": {
- "type": "boolean"
- },
- "closed_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
"body_html": {
"type": "string"
},
@@ -279307,183 +332547,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -279519,96 +332835,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -279640,12 +332998,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -279653,228 +333017,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -279886,19 +333356,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -279907,7 +333383,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -279924,32 +333402,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -280282,25 +333776,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -280323,7 +333825,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -280403,255 +333907,340 @@
]
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -280662,6 +334251,9 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
},
"reactions": {
@@ -280990,9 +334582,11 @@
},
"url": {
"description": "URL for the issue",
- "example": "https://api.github.com/repositories/42/issues/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/1"
+ ]
},
"repository_url": {
"type": "string",
@@ -281015,151 +334609,205 @@
},
"number": {
"description": "Number uniquely identifying the issue within its repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"state": {
"description": "State of the issue; either 'open' or 'closed'",
- "example": "open",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "open"
+ ]
},
"title": {
"description": "Title of the issue",
- "example": "Widget creation fails in Safari on OS X 10.8",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Widget creation fails in Safari on OS X 10.8"
+ ]
},
"body": {
"description": "Contents of the issue",
- "example": "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?",
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?"
+ ]
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"labels": {
"description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository",
- "example": [
- "bug",
- "registration"
- ],
"type": "array",
"items": {
"oneOf": [
@@ -281184,12 +334832,16 @@
"type": "string"
},
"description": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"color": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"default": {
"type": "boolean"
@@ -281197,226 +334849,323 @@
}
}
]
- }
+ },
+ "examples": [
+ "bug",
+ "registration"
+ ]
},
"assignee": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"assignees": {
- "type": "array",
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -281439,158 +335188,541 @@
"type",
"url"
]
- },
- "nullable": true
+ }
},
"milestone": {
- "title": "Milestone",
- "description": "A collection of related issues and pull requests.",
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Milestone",
+ "description": "A collection of related issues and pull requests.",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat/Hello-World/milestones/v1.0"
+ ]
+ },
+ "labels_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1002604
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDk6TWlsZXN0b25lMTAwMjYwNA=="
+ ]
+ },
+ "number": {
+ "description": "The number of the milestone.",
+ "type": "integer",
+ "examples": [
+ 42
+ ]
+ },
+ "state": {
+ "description": "The state of the milestone.",
+ "type": "string",
+ "enum": [
+ "open",
+ "closed"
+ ],
+ "default": "open",
+ "examples": [
+ "open"
+ ]
+ },
+ "title": {
+ "description": "The title of the milestone.",
+ "type": "string",
+ "examples": [
+ "v1.0"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "Tracking milestone for version 1.0"
+ ]
+ },
+ "creator": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "open_issues": {
+ "type": "integer",
+ "examples": [
+ 4
+ ]
+ },
+ "closed_issues": {
+ "type": "integer",
+ "examples": [
+ 8
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-10T20:09:31Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2014-03-03T18:58:10Z"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2013-02-12T13:22:01Z"
+ ]
+ },
+ "due_on": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time",
+ "examples": [
+ "2012-10-09T23:39:01Z"
+ ]
+ }
+ },
+ "required": [
+ "closed_issues",
+ "creator",
+ "description",
+ "due_on",
+ "closed_at",
+ "id",
+ "node_id",
+ "labels_url",
+ "html_url",
+ "number",
+ "open_issues",
+ "state",
+ "title",
+ "url",
+ "created_at",
+ "updated_at"
+ ]
+ }
+ ]
+ },
+ "locked": {
+ "type": "boolean"
+ },
+ "active_lock_reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "comments": {
+ "type": "integer"
+ },
+ "pull_request": {
"type": "object",
"properties": {
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1"
+ "merged_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "diff_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
"html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat/Hello-World/milestones/v1.0"
- },
- "labels_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
- },
- "id": {
- "type": "integer",
- "example": 1002604
- },
- "node_id": {
- "type": "string",
- "example": "MDk6TWlsZXN0b25lMTAwMjYwNA=="
- },
- "number": {
- "description": "The number of the milestone.",
- "type": "integer",
- "example": 42
- },
- "state": {
- "description": "The state of the milestone.",
- "example": "open",
- "type": "string",
- "enum": [
- "open",
- "closed"
+ "type": [
+ "string",
+ "null"
],
- "default": "open"
+ "format": "uri"
},
- "title": {
- "description": "The title of the milestone.",
- "example": "v1.0",
- "type": "string"
+ "patch_url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
},
- "description": {
- "type": "string",
- "example": "Tracking milestone for version 1.0",
- "nullable": true
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri"
+ }
+ },
+ "required": [
+ "diff_url",
+ "html_url",
+ "patch_url",
+ "url"
+ ]
+ },
+ "closed_at": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "date-time"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "draft": {
+ "type": "boolean"
+ },
+ "closed_by": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "creator": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -281612,242 +335744,10 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
- },
- "open_issues": {
- "type": "integer",
- "example": 4
- },
- "closed_issues": {
- "type": "integer",
- "example": 8
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-10T20:09:31Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2014-03-03T18:58:10Z"
- },
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "example": "2013-02-12T13:22:01Z",
- "nullable": true
- },
- "due_on": {
- "type": "string",
- "format": "date-time",
- "example": "2012-10-09T23:39:01Z",
- "nullable": true
+ ]
}
- },
- "required": [
- "closed_issues",
- "creator",
- "description",
- "due_on",
- "closed_at",
- "id",
- "node_id",
- "labels_url",
- "html_url",
- "number",
- "open_issues",
- "state",
- "title",
- "url",
- "created_at",
- "updated_at"
- ],
- "nullable": true
- },
- "locked": {
- "type": "boolean"
- },
- "active_lock_reason": {
- "type": "string",
- "nullable": true
- },
- "comments": {
- "type": "integer"
- },
- "pull_request": {
- "type": "object",
- "properties": {
- "merged_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "diff_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "patch_url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "nullable": true
- }
- },
- "required": [
- "diff_url",
- "html_url",
- "patch_url",
- "url"
]
},
- "closed_at": {
- "type": "string",
- "format": "date-time",
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "draft": {
- "type": "boolean"
- },
- "closed_by": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
"body_html": {
"type": "string"
},
@@ -281865,183 +335765,259 @@
"properties": {
"id": {
"description": "Unique identifier of the repository",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string",
- "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ "examples": [
+ "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
+ ]
},
"name": {
"description": "The name of the repository.",
"type": "string",
- "example": "Team Environment"
+ "examples": [
+ "Team Environment"
+ ]
},
"full_name": {
"type": "string",
- "example": "octocat/Hello-World"
+ "examples": [
+ "octocat/Hello-World"
+ ]
},
"license": {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "example": "mit"
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "type": "string",
- "example": "MIT License"
- },
- "url": {
- "type": "string",
- "nullable": true,
- "format": "uri",
- "example": "https://api.github.com/licenses/mit"
- },
- "spdx_id": {
- "type": "string",
- "nullable": true,
- "example": "MIT"
- },
- "node_id": {
- "type": "string",
- "example": "MDc6TGljZW5zZW1pdA=="
- },
- "html_url": {
- "type": "string",
- "format": "uri"
+ {
+ "title": "License Simple",
+ "description": "License Simple",
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "examples": [
+ "mit"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "examples": [
+ "MIT License"
+ ]
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/licenses/mit"
+ ]
+ },
+ "spdx_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "MIT"
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDc6TGljZW5zZW1pdA=="
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "url",
+ "spdx_id",
+ "node_id"
+ ]
}
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ],
- "nullable": true
+ ]
},
"organization": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"forks": {
"type": "integer"
@@ -282077,96 +336053,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -282198,12 +336216,18 @@
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat/Hello-World"
+ "examples": [
+ "https://github.com/octocat/Hello-World"
+ ]
},
"description": {
- "type": "string",
- "example": "This your first repo!",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "This your first repo!"
+ ]
},
"fork": {
"type": "boolean"
@@ -282211,228 +336235,334 @@
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/repos/octocat/Hello-World"
+ "examples": [
+ "https://api.github.com/repos/octocat/Hello-World"
+ ]
},
"archive_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
+ ]
},
"assignees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
+ ]
},
"blobs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
+ ]
},
"branches_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
+ ]
},
"collaborators_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
+ ]
},
"comments_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
+ ]
},
"commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
+ ]
},
"compare_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
+ ]
},
"contents_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
+ ]
},
"contributors_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/contributors"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/contributors"
+ ]
},
"deployments_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/deployments"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/deployments"
+ ]
},
"downloads_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/downloads"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/downloads"
+ ]
},
"events_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/events"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/events"
+ ]
},
"forks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/forks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/forks"
+ ]
},
"git_commits_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
+ ]
},
"git_refs_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
+ ]
},
"git_tags_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
+ ]
},
"git_url": {
"type": "string",
- "example": "git:github.com/octocat/Hello-World.git"
+ "examples": [
+ "git:github.com/octocat/Hello-World.git"
+ ]
},
"issue_comment_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
+ ]
},
"issue_events_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
+ ]
},
"issues_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
+ ]
},
"keys_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
+ ]
},
"labels_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
+ ]
},
"languages_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/languages"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/languages"
+ ]
},
"merges_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/merges"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/merges"
+ ]
},
"milestones_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
+ ]
},
"notifications_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
+ ]
},
"pulls_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
+ ]
},
"releases_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
+ ]
},
"ssh_url": {
"type": "string",
- "example": "git@github.com:octocat/Hello-World.git"
+ "examples": [
+ "git@github.com:octocat/Hello-World.git"
+ ]
},
"stargazers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/stargazers"
+ ]
},
"statuses_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
+ ]
},
"subscribers_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscribers"
+ ]
},
"subscription_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/subscription"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/subscription"
+ ]
},
"tags_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/tags"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/tags"
+ ]
},
"teams_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/teams"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/teams"
+ ]
},
"trees_url": {
"type": "string",
- "example": "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
+ ]
},
"clone_url": {
"type": "string",
- "example": "https://github.com/octocat/Hello-World.git"
+ "examples": [
+ "https://github.com/octocat/Hello-World.git"
+ ]
},
"mirror_url": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "git:git.example.com/octocat/Hello-World",
- "nullable": true
+ "examples": [
+ "git:git.example.com/octocat/Hello-World"
+ ]
},
"hooks_url": {
"type": "string",
"format": "uri",
- "example": "http://api.github.com/repos/octocat/Hello-World/hooks"
+ "examples": [
+ "http://api.github.com/repos/octocat/Hello-World/hooks"
+ ]
},
"svn_url": {
"type": "string",
"format": "uri",
- "example": "https://svn.github.com/octocat/Hello-World"
+ "examples": [
+ "https://svn.github.com/octocat/Hello-World"
+ ]
},
"homepage": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "uri",
- "example": "https://github.com",
- "nullable": true
+ "examples": [
+ "https://github.com"
+ ]
},
"language": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"forks_count": {
"type": "integer",
- "example": 9
+ "examples": [
+ 9
+ ]
},
"stargazers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"watchers_count": {
"type": "integer",
- "example": 80
+ "examples": [
+ 80
+ ]
},
"size": {
"type": "integer",
- "example": 108
+ "examples": [
+ 108
+ ]
},
"default_branch": {
"description": "The default branch of the repository.",
"type": "string",
- "example": "master"
+ "examples": [
+ "master"
+ ]
},
"open_issues_count": {
"type": "integer",
- "example": 0
+ "examples": [
+ 0
+ ]
},
"is_template": {
"description": "Whether this repository acts as a template that can be used to generate new repositories.",
"default": false,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"topics": {
"type": "array",
@@ -282444,19 +336574,25 @@
"description": "Whether issues are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_projects": {
"description": "Whether projects are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_wiki": {
"description": "Whether the wiki is enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"has_pages": {
"type": "boolean"
@@ -282465,7 +336601,9 @@
"description": "Whether downloads are enabled.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"archived": {
"description": "Whether the repository is archived.",
@@ -282482,32 +336620,48 @@
"type": "string"
},
"pushed_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:06:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:06:43Z"
+ ]
},
"created_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:01:12Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:01:12Z"
+ ]
},
"updated_at": {
- "type": "string",
+ "type": [
+ "string",
+ "null"
+ ],
"format": "date-time",
- "example": "2011-01-26T19:14:43Z",
- "nullable": true
+ "examples": [
+ "2011-01-26T19:14:43Z"
+ ]
},
"allow_rebase_merge": {
"description": "Whether to allow rebase merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"template_repository": {
- "nullable": true,
- "type": "object",
+ "type": [
+ "object",
+ "null"
+ ],
"properties": {
"id": {
"type": "integer"
@@ -282840,25 +336994,33 @@
"description": "Whether to allow squash merges for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_auto_merge": {
"description": "Whether to allow Auto-merge to be used on pull requests.",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"delete_branch_on_merge": {
"description": "Whether to delete head branches when pull requests are merged",
"default": false,
"type": "boolean",
- "example": false
+ "examples": [
+ false
+ ]
},
"allow_merge_commit": {
"description": "Whether to allow merge commits for pull requests.",
"default": true,
"type": "boolean",
- "example": true
+ "examples": [
+ true
+ ]
},
"allow_forking": {
"description": "Whether to allow forking this repo",
@@ -282881,7 +337043,9 @@
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:42Z\""
+ "examples": [
+ "\"2020-07-09T00:17:42Z\""
+ ]
}
},
"required": [
@@ -282961,255 +337125,340 @@
]
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"author_association": {
"title": "author_association",
"type": "string",
- "example": "OWNER",
"description": "How the author is associated with the repository.",
"enum": [
"COLLABORATOR",
@@ -283220,6 +337469,9 @@
"MEMBER",
"NONE",
"OWNER"
+ ],
+ "examples": [
+ "OWNER"
]
},
"reactions": {
@@ -283550,22 +337802,28 @@
"properties": {
"id": {
"description": "Unique identifier of the issue comment",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string"
},
"url": {
"description": "URL for the issue comment",
- "example": "https://api.github.com/repositories/42/issues/comments/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/comments/1"
+ ]
},
"body": {
"description": "Contents of the issue comment",
- "example": "What version of Safari were you using when you observed this bug?",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "What version of Safari were you using when you observed this bug?"
+ ]
},
"body_text": {
"type": "string"
@@ -283578,270 +337836,148 @@
"format": "uri"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-14T16:00:49Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-14T16:00:49Z"
- },
- "issue_url": {
- "type": "string",
- "format": "uri"
- },
- "author_association": {
- "title": "author_association",
- "type": "string",
- "example": "OWNER",
- "description": "How the author is associated with the repository.",
- "enum": [
- "COLLABORATOR",
- "CONTRIBUTOR",
- "FIRST_TIMER",
- "FIRST_TIME_CONTRIBUTOR",
- "MANNEQUIN",
- "MEMBER",
- "NONE",
- "OWNER"
- ]
- },
- "performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
- },
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -283863,115 +337999,377 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
+ ]
+ }
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-14T16:00:49Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-14T16:00:49Z"
+ ]
+ },
+ "issue_url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "author_association": {
+ "title": "author_association",
+ "type": "string",
+ "description": "How the author is associated with the repository.",
+ "enum": [
+ "COLLABORATOR",
+ "CONTRIBUTOR",
+ "FIRST_TIMER",
+ "FIRST_TIME_CONTRIBUTOR",
+ "MANNEQUIN",
+ "MEMBER",
+ "NONE",
+ "OWNER"
+ ],
+ "examples": [
+ "OWNER"
+ ]
+ },
+ "performed_via_github_app": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "issues": {
- "type": "string"
+ "id": {
+ "description": "Unique identifier of the GitHub app",
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
- "checks": {
- "type": "string"
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
- "metadata": {
- "type": "string"
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "contents": {
- "type": "string"
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
},
- "deployments": {
- "type": "string"
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
+ "type": "string",
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
+ },
+ "client_secret": {
+ "type": "string",
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
+ },
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
+ "type": "string",
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "required": [
+ "id",
+ "node_id",
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"reactions": {
"title": "Reaction Rollup",
@@ -284216,22 +338614,28 @@
"properties": {
"id": {
"description": "Unique identifier of the issue comment",
- "example": 42,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 42
+ ]
},
"node_id": {
"type": "string"
},
"url": {
"description": "URL for the issue comment",
- "example": "https://api.github.com/repositories/42/issues/comments/1",
"type": "string",
- "format": "uri"
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/repositories/42/issues/comments/1"
+ ]
},
"body": {
"description": "Contents of the issue comment",
- "example": "What version of Safari were you using when you observed this bug?",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "What version of Safari were you using when you observed this bug?"
+ ]
},
"body_text": {
"type": "string"
@@ -284244,270 +338648,148 @@
"format": "uri"
},
"user": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-14T16:00:49Z"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2011-04-14T16:00:49Z"
- },
- "issue_url": {
- "type": "string",
- "format": "uri"
- },
- "author_association": {
- "title": "author_association",
- "type": "string",
- "example": "OWNER",
- "description": "How the author is associated with the repository.",
- "enum": [
- "COLLABORATOR",
- "CONTRIBUTOR",
- "FIRST_TIMER",
- "FIRST_TIME_CONTRIBUTOR",
- "MANNEQUIN",
- "MEMBER",
- "NONE",
- "OWNER"
- ]
- },
- "performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
- },
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
+ {
"title": "Simple User",
"description": "Simple User",
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -284529,115 +338811,377 @@
"subscriptions_url",
"type",
"url"
- ],
- "nullable": true
+ ]
+ }
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-14T16:00:49Z"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2011-04-14T16:00:49Z"
+ ]
+ },
+ "issue_url": {
+ "type": "string",
+ "format": "uri"
+ },
+ "author_association": {
+ "title": "author_association",
+ "type": "string",
+ "description": "How the author is associated with the repository.",
+ "enum": [
+ "COLLABORATOR",
+ "CONTRIBUTOR",
+ "FIRST_TIMER",
+ "FIRST_TIME_CONTRIBUTOR",
+ "MANNEQUIN",
+ "MEMBER",
+ "NONE",
+ "OWNER"
+ ],
+ "examples": [
+ "OWNER"
+ ]
+ },
+ "performed_via_github_app": {
+ "anyOf": [
+ {
+ "type": "null"
},
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "issues": {
- "type": "string"
+ "id": {
+ "description": "Unique identifier of the GitHub app",
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
- "checks": {
- "type": "string"
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
- "metadata": {
- "type": "string"
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "contents": {
- "type": "string"
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
},
- "deployments": {
- "type": "string"
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://example.com"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
+ },
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
+ "type": "string",
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
+ },
+ "client_secret": {
+ "type": "string",
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
+ },
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
+ "type": "string",
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "required": [
+ "id",
+ "node_id",
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"reactions": {
"title": "Reaction Rollup",
@@ -284844,16 +339388,22 @@
"value": {
"oneOf": [
{
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
{
- "type": "integer",
- "nullable": true
+ "type": [
+ "integer",
+ "null"
+ ]
},
{
- "type": "array",
- "nullable": true,
+ "type": [
+ "array",
+ "null"
+ ],
"items": {
"type": "string"
}
@@ -284992,96 +339542,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -285109,261 +339701,351 @@
"type": "string"
},
"commit_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"commit_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"created_at": {
"type": "string"
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"label": {
"type": "object",
@@ -285414,96 +340096,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -285531,261 +340255,351 @@
"type": "string"
},
"commit_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"commit_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"created_at": {
"type": "string"
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"label": {
"type": "object",
@@ -285836,96 +340650,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -285953,12 +340809,16 @@
"type": "string"
},
"commit_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"commit_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"created_at": {
"type": "string"
@@ -285970,167 +340830,235 @@
"properties": {
"id": {
"description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 37
+ ]
},
"slug": {
"description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
"owner": {
- "title": "Simple User",
- "description": "Simple User",
- "type": "object",
- "properties": {
- "name": {
- "nullable": true,
- "type": "string"
+ "anyOf": [
+ {
+ "type": "null"
},
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
- "id": {
- "type": "integer",
- "example": 1
- },
- "node_id": {
- "type": "string",
- "example": "MDQ6VXNlcjE="
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/octocat"
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
- },
- "following_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
- },
- "gists_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
- },
- "starred_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
}
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
+ ]
},
"name": {
"description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
},
"description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
},
"external_url": {
"type": "string",
"format": "uri",
- "example": "https://example.com"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/apps/super-ci"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
"created_at": {
"type": "string",
"format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
"updated_at": {
"type": "string",
"format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
"permissions": {
"description": "The set of permissions for the GitHub app",
@@ -286162,36 +341090,48 @@
},
"events": {
"description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
"type": "array",
"items": {
"type": "string"
- }
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
},
"installations_count": {
"description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
+ "type": "integer",
+ "examples": [
+ 5
+ ]
},
"client_id": {
"type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
"client_secret": {
"type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
"webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
},
"pem": {
"type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
@@ -286214,96 +341154,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -286333,96 +341315,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -286481,96 +341505,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -286598,261 +341664,351 @@
"type": "string"
},
"commit_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"commit_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"created_at": {
"type": "string"
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"assignee": {
"title": "Simple User",
@@ -286860,96 +342016,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -286979,96 +342177,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -287127,96 +342367,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -287244,261 +342526,351 @@
"type": "string"
},
"commit_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"commit_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"created_at": {
"type": "string"
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"milestone": {
"type": "object",
@@ -287545,96 +342917,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -287662,261 +343076,351 @@
"type": "string"
},
"commit_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"commit_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"created_at": {
"type": "string"
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"milestone": {
"type": "object",
@@ -287963,96 +343467,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -288080,261 +343626,351 @@
"type": "string"
},
"commit_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"commit_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"created_at": {
"type": "string"
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ ]
}
},
"required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
"id",
"node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ],
- "nullable": true
- },
- "name": {
- "description": "The name of the GitHub app",
- "example": "Probot Owners",
- "type": "string"
- },
- "description": {
- "type": "string",
- "example": "The description of the app.",
- "nullable": true
- },
- "external_url": {
- "type": "string",
- "format": "uri",
- "example": "https://example.com"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "example": "https://github.com/apps/super-ci"
- },
- "created_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time",
- "example": "2017-07-08T16:18:44-04:00"
- },
- "permissions": {
- "description": "The set of permissions for the GitHub app",
- "type": "object",
- "properties": {
- "issues": {
- "type": "string"
- },
- "checks": {
- "type": "string"
- },
- "metadata": {
- "type": "string"
- },
- "contents": {
- "type": "string"
- },
- "deployments": {
- "type": "string"
- }
- },
- "additionalProperties": {
- "type": "string"
- },
- "example": {
- "issues": "read",
- "deployments": "write"
- }
- },
- "events": {
- "description": "The list of events for the GitHub app",
- "example": [
- "label",
- "deployment"
- ],
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "installations_count": {
- "description": "The number of installations associated with the GitHub app",
- "example": 5,
- "type": "integer"
- },
- "client_id": {
- "type": "string",
- "example": "\"Iv1.25b5d1e65ffc4022\""
- },
- "client_secret": {
- "type": "string",
- "example": "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
- },
- "webhook_secret": {
- "type": "string",
- "example": "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\"",
- "nullable": true
- },
- "pem": {
- "type": "string",
- "example": "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\\n-----END RSA PRIVATE KEY-----\\n\""
+ "owner",
+ "name",
+ "description",
+ "external_url",
+ "html_url",
+ "created_at",
+ "updated_at",
+ "permissions",
+ "events"
+ ]
}
- },
- "required": [
- "id",
- "node_id",
- "owner",
- "name",
- "description",
- "external_url",
- "html_url",
- "created_at",
- "updated_at",
- "permissions",
- "events"
- ],
- "nullable": true
+ ]
},
"rename": {
"type": "object",
@@ -288385,96 +344021,138 @@
"type": "object",
"properties": {
"name": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"email": {
- "nullable": true,
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"login": {
"type": "string",
- "example": "octocat"
+ "examples": [
+ "octocat"
+ ]
},
"id": {
"type": "integer",
- "example": 1
+ "examples": [
+ 1
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
},
"avatar_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
},
"gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
},
"url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/octocat"
+ ]
},
"followers_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
},
"following_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
},
"gists_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
},
"starred_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
},
"subscriptions_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
},
"organizations_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
},
"repos_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
},
"events_url": {
"type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
},
"received_events_url": {
"type": "string",
"format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
},
"type": {
"type": "string",
- "example": "User"
+ "examples": [
+ "User"
+ ]
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
}
},
"required": [
@@ -288502,261 +344180,351 @@
"type": "string"
},
"commit_id": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"commit_url": {
- "type": "string",
- "nullable": true
+ "type": [
+ "string",
+ "null"
+ ]
},
"created_at": {
"type": "string"
},
"performed_via_github_app": {
- "title": "GitHub app",
- "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the GitHub app",
- "example": 37,
- "type": "integer"
+ "anyOf": [
+ {
+ "type": "null"
},
- "slug": {
- "description": "The slug name of the GitHub app",
- "example": "probot-owners",
- "type": "string"
- },
- "node_id": {
- "type": "string",
- "example": "MDExOkludGVncmF0aW9uMQ=="
- },
- "owner": {
- "title": "Simple User",
- "description": "Simple User",
+ {
+ "title": "GitHub app",
+ "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.",
"type": "object",
"properties": {
- "name": {
- "nullable": true,
- "type": "string"
- },
- "email": {
- "nullable": true,
- "type": "string"
- },
- "login": {
- "type": "string",
- "example": "octocat"
- },
"id": {
+ "description": "Unique identifier of the GitHub app",
"type": "integer",
- "example": 1
+ "examples": [
+ 37
+ ]
+ },
+ "slug": {
+ "description": "The slug name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "probot-owners"
+ ]
},
"node_id": {
"type": "string",
- "example": "MDQ6VXNlcjE="
+ "examples": [
+ "MDExOkludGVncmF0aW9uMQ=="
+ ]
},
- "avatar_url": {
+ "owner": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "title": "Simple User",
+ "description": "Simple User",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "login": {
+ "type": "string",
+ "examples": [
+ "octocat"
+ ]
+ },
+ "id": {
+ "type": "integer",
+ "examples": [
+ 1
+ ]
+ },
+ "node_id": {
+ "type": "string",
+ "examples": [
+ "MDQ6VXNlcjE="
+ ]
+ },
+ "avatar_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/images/error/octocat_happy.gif"
+ ]
+ },
+ "gravatar_id": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "41d064eb2195891e12d0413f63227ea7"
+ ]
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat"
+ ]
+ },
+ "html_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://github.com/octocat"
+ ]
+ },
+ "followers_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/followers"
+ ]
+ },
+ "following_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/following{/other_user}"
+ ]
+ },
+ "gists_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/gists{/gist_id}"
+ ]
+ },
+ "starred_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ ]
+ },
+ "subscriptions_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/subscriptions"
+ ]
+ },
+ "organizations_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/orgs"
+ ]
+ },
+ "repos_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/repos"
+ ]
+ },
+ "events_url": {
+ "type": "string",
+ "examples": [
+ "https://api.github.com/users/octocat/events{/privacy}"
+ ]
+ },
+ "received_events_url": {
+ "type": "string",
+ "format": "uri",
+ "examples": [
+ "https://api.github.com/users/octocat/received_events"
+ ]
+ },
+ "type": {
+ "type": "string",
+ "examples": [
+ "User"
+ ]
+ },
+ "site_admin": {
+ "type": "boolean"
+ },
+ "starred_at": {
+ "type": "string",
+ "examples": [
+ "\"2020-07-09T00:17:55Z\""
+ ]
+ }
+ },
+ "required": [
+ "avatar_url",
+ "events_url",
+ "followers_url",
+ "following_url",
+ "gists_url",
+ "gravatar_id",
+ "html_url",
+ "id",
+ "node_id",
+ "login",
+ "organizations_url",
+ "received_events_url",
+ "repos_url",
+ "site_admin",
+ "starred_url",
+ "subscriptions_url",
+ "type",
+ "url"
+ ]
+ }
+ ]
+ },
+ "name": {
+ "description": "The name of the GitHub app",
+ "type": "string",
+ "examples": [
+ "Probot Owners"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "The description of the app."
+ ]
+ },
+ "external_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/images/error/octocat_happy.gif"
- },
- "gravatar_id": {
- "type": "string",
- "example": "41d064eb2195891e12d0413f63227ea7",
- "nullable": true
- },
- "url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat"
+ "examples": [
+ "https://example.com"
+ ]
},
"html_url": {
"type": "string",
"format": "uri",
- "example": "https://github.com/octocat"
+ "examples": [
+ "https://github.com/apps/super-ci"
+ ]
},
- "followers_url": {
+ "created_at": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/followers"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "following_url": {
+ "updated_at": {
"type": "string",
- "example": "https://api.github.com/users/octocat/following{/other_user}"
+ "format": "date-time",
+ "examples": [
+ "2017-07-08T16:18:44-04:00"
+ ]
},
- "gists_url": {
+ "permissions": {
+ "description": "The set of permissions for the GitHub app",
+ "type": "object",
+ "properties": {
+ "issues": {
+ "type": "string"
+ },
+ "checks": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "string"
+ },
+ "contents": {
+ "type": "string"
+ },
+ "deployments": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": {
+ "type": "string"
+ },
+ "example": {
+ "issues": "read",
+ "deployments": "write"
+ }
+ },
+ "events": {
+ "description": "The list of events for the GitHub app",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "examples": [
+ "label",
+ "deployment"
+ ]
+ },
+ "installations_count": {
+ "description": "The number of installations associated with the GitHub app",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "client_id": {
"type": "string",
- "example": "https://api.github.com/users/octocat/gists{/gist_id}"
+ "examples": [
+ "\"Iv1.25b5d1e65ffc4022\""
+ ]
},
- "starred_url": {
+ "client_secret": {
"type": "string",
- "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
+ "examples": [
+ "\"1d4b2097ac622ba702d19de498f005747a8b21d3\""
+ ]
},
- "subscriptions_url": {
+ "webhook_secret": {
+ "type": [
+ "string",
+ "null"
+ ],
+ "examples": [
+ "\"6fba8f2fc8a7e8f2cca5577eddd82ca7586b3b6b\""
+ ]
+ },
+ "pem": {
"type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/subscriptions"
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/orgs"
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/repos"
- },
- "events_url": {
- "type": "string",
- "example": "https://api.github.com/users/octocat/events{/privacy}"
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "example": "https://api.github.com/users/octocat/received_events"
- },
- "type": {
- "type": "string",
- "example": "User"
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "example": "\"2020-07-09T00:17:55Z\""
+ "examples": [
+ "\"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\\n